Basic examples

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

XML Configuration Result

Example 2: XPATH based resource crawling with resources spread over multiple files

XML Configuration Result

Example 3: Link based resource crawling with fixed resources in the configuration file

Configuration Result

Example 4: Literal resource crawling with XML resources sent together with the configuration

Configuration Result

Example 5: FOAF statement for one resource

XML Configuration Result

Example 6: Extracting a subject URI

Configuration Result

Example 7: Creating a subject blank node

Configuration Result

Example 8: Including a value from an external XML resource

Configuration Result

Example 9: Prepend and append values to the subject result

Configuration Result

Example 10: Creating an object URI

Configuration Result

Example 11: Creating a typed object literal

Configuration Result

Example 12: Creating a language tagged literal

Configuration Result

Example 13: Including a value from an external resource in the object

Configuration Result

Example 14: Applying a <condition> to a statement pattern

Configuration Result

Example 15: Using the $currentResource variable in statement patterns

Configuration Result

Example 16: Using the $repeatIndex variable in statement patterns

Configuration Result

Example 17: Creating a 1:n statement with an object node set

Configuration Result SVG Graph

Example 18: Creating a n:1 statement with a subject node sets

Configuration Result SVG Graph

Example 19: Creating n:m statements in a single statement pattern

Configuration Result SVG Graph

Example 20: Using the internal xtriples result format for debugging purposes

Configuration Result

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.

XML Configuration Result SVG Graph

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.

XML Configuration Result SVG Graph

Extraction and visualization of family relations from the Hamburg Altona gravestone corpus using FOAF, BIO and REL.

View

Examples from correspSearch

Extract the correspondence of Johann Wolfgang von Goethe with several others as a network of letters. TEI XML basis.

XML Configuration Result SVG Graph

Correspondence of Johann Wolfgang von Goethe: Who wrote to whom. TEI XML basis.

XML Configuration Result SVG Graph