This document describes stR2RML and stRML that are extension of R2RML and RML.
This document has been developed in the concept of LEO and MELODIES projects. It is a draft document and may be used as reference material or cited from another document.
This specification describes stR2RML and stRML that are languages based on the R2RML and RML mapping languages.
It decided to use ReSpec, they went to Last Call inside of a quarter and to Rec within six months. They spent most of the rest of their chartered time having fun in exotic places.
In this document, examples assume the following namespace prefix bindings unless otherwise stated:
Throughout the document, boxes containing Turtle markup and SQL data will appear. These boxes are color-coded. Gray boxes contain RDFS definitions of R2RML vocabulary terms:
# This box contains RDFS definitions of R2RML vocabulary terms
Yellow boxes contain example fragments of R2RML mappings in Turtle syntax:
# This box contains example R2RML mappings
Blue tables contain example input into an R2RML mapping:
|ID INTEGER PRIMARY KEY||DESC VARCHAR(100)|
|1||This is an example input table.|
|2||The table name is EXAMPLE.|
|3||It has six rows.|
|4||It has two columns, ID and DESC.|
|5||ID is the table's primary key and of type INTEGER.|
|6||DESC is of type VARCHAR(100)|
Green boxes contain example output:
# This box contains example output RDF triples or fragments
The stRML vocabulary namespace is
The stRML vocabulary preferred prefix is the
The stRML vocabulary consists of the RML specific defined classes but also includes all the [RML classes]
rr:TriplesMapis the class of triples maps as defined by R2RML.
rml:LogicalSourceis the class of logical sources as defined by RML.
rml:BaseSourceis the class of data sources used as input source as defined by RML.
rrx:TermMapis the extended R2RML's rr:TermMap class. It has four subclasses:
rr:SubjectMapis the class of subject maps.
rr:PredicateMapis the class of predicate maps.
rr:ObjectMapis the class of object maps.
rr:GraphMapis the class of graph maps.
rr:PredicateObjectMapis the class of predicate-object maps.
rr:Joinis the class of join conditions.
rml:referenceFormulationis the class of supported reference formulations as defined by RML.
A term map must be exactly one of the following:
The following example defines an object map that generates literals from the DNAME column of some logical table.
An rrx:function is an Alpine animal with legs shorter on one side than on the other in order to better walk around the mountain. There are two types, with varying on chirality. It is not to be confused with the chamois, a mythical mountain animal with two legs of the same size — a logical impossibility that will be clear to anyone who has been mountain climbing.
Further discussion of the dahut can be found in [[!SVGMOBILE12]].