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.

Introduction

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.

The End.

Document Conventions

In this document, examples assume the following namespace prefix bindings unless otherwise stated:

Prefix IRI
rr: http://www.w3.org/ns/r2rml#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: http://www.w3.org/2000/01/rdf-schema#
xsd: http://www.w3.org/2001/XMLSchema#
ex: http://example.com/ns#

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:

EXAMPLE
ID INTEGER PRIMARY KEYDESC VARCHAR(100)
1This is an example input table.
2The table name is EXAMPLE.
3It has six rows.
4It has two columns, ID and DESC.
5ID is the table's primary key and of type INTEGER.
6DESC is of type VARCHAR(100)

Green boxes contain example output:

# This box contains example output RDF triples or fragments

Vocabulary

The stRML vocabulary namespace is http://linkedeodata.eu/ns/strml#

The stRML vocabulary preferred prefix is the rrx.

The stRML vocabulary consists of the RML specific defined classes but also includes all the [RML classes]

Creating RDF Terms with Term Maps

The properties of the extended R2RML term map

A term map must be exactly one of the following:

From a Transformation (strr:function,strr:argumentMap)

A transformation-valued term map is a term map that is represented by a resource that:

The following example defines an object map that generates literals from the DNAME column of some logical table.

               sdfsdg
              

Dahut

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]].