A generic webservice to extract RDF statements from XML resources.
The following examples demonstrate the basic functionality of XTriples. Use the buttons to see the underlying XML of the examples, the configuration files and the results of each extraction.
Example 1: XPATH based resource crawling with resources all in one single file
Example 2: XPATH based resource crawling with resources spread over multiple files
Example 3: Link based resource crawling with fixed resources in the configuration file
Example 4: Literal resource crawling with XML resources sent together with the configuration
Example 5: FOAF statement for one resource
Example 6: Extracting a subject URI
Example 7: Creating a subject blank node
Example 8: Including a value from an external XML resource
Example 9: Prepend and append values to the subject result
Example 10: Creating an object URI
Example 11: Creating a typed object literal
Example 12: Creating a language tagged literal
Example 13: Including a value from an external resource in the object
Example 14: Applying a <condition> to a statement pattern
Example 15: Using the $currentResource variable in statement patterns
Example 16: Using the $repeatIndex variable in statement patterns
Example 17: Creating a 1:n statement with an object node set
Example 18: Creating a n:1 statement with a subject node sets
Example 19: Creating n:m statements in a single statement pattern
Example 20: Using the internal xtriples result format for debugging purposes
Digital Humanities examples
XTriples is employed in several Digital Humanities projects, namely
- German Inscriptions Online, an epigraphic research project of six German Academies of Sciences
- Epidat, the database of Jewish epigraphy by the Steinheim-Institute of German-Jewish history
- correspSearch, an inventory and search service for scholarly letter editions by the Berlin-Brandenburg Academy of Sciences and Humanities
Example from German Inscriptions Online
Extraction of some catalogue numbers. TEI/Epidoc XML basis.
Examples from Epidat
Extraction of a database record for a gravestone and combination with external XML resources. TEI/Epidoc XML and custom XML basis. RDF modelled with CIDOC-CRM.
Extraction and visualization of family relations from the Hamburg Altona gravestone corpus using FOAF, BIO and REL.
Examples from correspSearch
Extract the correspondence of Johann Wolfgang von Goethe with several others as a network of letters. TEI XML basis.
Correspondence of Johann Wolfgang von Goethe: Who wrote to whom. TEI XML basis.