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

XMLConfigurationResult

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

XMLConfigurationResult

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

ConfigurationResult

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

ConfigurationResult

Example 5: FOAF statement for one resource

XMLConfigurationResult

Example 6: Extracting a subject URI

ConfigurationResult

Example 7: Creating a subject blank node

ConfigurationResult

Example 8: Including a value from an external XML resource

ConfigurationResult

Example 9: Prepend and append values to the subject result

ConfigurationResult

Example 10: Creating an object URI

ConfigurationResult

Example 11: Creating a typed object literal

ConfigurationResult

Example 12: Creating a language tagged literal

ConfigurationResult

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

ConfigurationResult

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

ConfigurationResult

Example 15: Using the $currentResource variable in statement patterns

ConfigurationResult

Example 16: Using the $repeatIndex variable in statement patterns

ConfigurationResult

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

ConfigurationResultSVGGraph

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

ConfigurationResultSVGGraph

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

ConfigurationResultSVGGraph

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

ConfigurationResult

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.

XMLConfigurationResultSVGGraph

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.

XMLConfigurationResultSVGGraph

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.

XMLConfigurationResultSVGGraph

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

XMLConfigurationResultSVGGraph