W3C

R2RML: RDB to RDF Mapping Language Schema

Purpose

This document defines an RDF Schema as defined by the W3C RDB2RDF Working Group in the R2RML: RDB to RDF Mapping Language document, which can be used to specify a mapping of relational data to RDF.

Usage

The namespace URI is:
http://www.w3.org/ns/r2rml#
The preferred prefix is:
rr

Comments

Comments regarding this document should be sent to public-rdb2rdf-comments@w3.org, a mailing list with a public archive.

Index of R2RML Vocabulary Terms

Classes

Base Table Or View, Blank Node, Graph Map, IRI, Join, Literal, Logical Table, Object Map, Predicate Map, Predicate Object Map, Ref Object Map, R2RML View, Subject Map, Triples Map, Term Map

Base Table Or View (OWL Class)

Denotes a base database table or view

Definition

The URI of this class is http://www.w3.org/ns/r2rml#BaseTableOrView

In use

This class is used in table Name

Blank Node (OWL Class)

Denotes a blank node, used with termType

Definition

The URI of this class is http://www.w3.org/ns/r2rml#BlankNode


Graph Map (OWL Class)

Represents a graph map.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#GraphMap

In use

This class is used in graph Map

IRI (OWL Class)

Denotes an IRI, used with termpType.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#IRI


Join (OWL Class)

Represents a join condition.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#Join

In use

This class is used in child join Condition parent

Literal (OWL Class)

Denotes a Literal, used with termType.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#Literal


Logical Table (OWL Class)

Represents a logical table.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#LogicalTable

In use

This class is used in logical Table

Object Map (OWL Class)

Represents an object map.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#ObjectMap

In use

This class is used in datatype language object Map

Predicate Map (OWL Class)

Represents a predicate map.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#PredicateMap

In use

This class is used in predicate Map

Predicate Object Map (OWL Class)

Represents a predicate-object map.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#PredicateObjectMap

In use

This class is used in object Map predicate Map predicate Object Map

Ref Object Map (OWL Class)

Denotes a reference to an object map.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#RefObjectMap

In use

This class is used in join Condition parent Triples Map

R2RML View (OWL Class)

Represents a R2RML view.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#R2RMLView

In use

This class is used in sql Query sql Version

Subject Map (OWL Class)

Represents a subject map.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#SubjectMap

In use

This class is used in class subject Map

Triples Map (OWL Class)

Represents a triples map.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#TriplesMap

In use

This class is used in logical Table parent Triples Map subject Map

TermMap (OWL Class)

A function that generates an RDF term from a logical table row.

Definition

The URI of this class is http://www.w3.org/ns/r2rml#TermMap

In use

This class is used in column inverse Expression template term Type

Properties

child, class, column, constant, datatype, graph, graph Map, inverse Expression, join Condition, language, logical Table, object, object Map, parent, parent Triples Map, predicate, predicate Map, predicate Object Map, sql Query, sql Version, subject, subject Map, table Name, template, term Type

child (Property)

Names a column in the child table of a join.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#child

This property is a data property.

The domain of this property is Join
The range of this property is xsd:string

class (Property)

The subject value generated for a logical table row will be asserted as an instance of this RDFS class.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#class

This property is an object property.

The domain of this property is Subject Map
The range of this property is rdfs:Class

column (Property)

Name of a column in the logical table. When generating RDF triples from a logical table row, value from the specified column is used as the subject, predicate, or object (based upon the specific domain).

Definition

The URI of this property is http://www.w3.org/ns/r2rml#column

This property is a data property.

The domain of this property is Term Map
The range of this property is xsd:string

constant (Property)

A property for indicating whether a term map is a constant-valued term map.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#constant

This property is an object property.


datatype (Property)

Specifies the datatype of the object component for the generated triple from a logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#datatype

This property is an object property.

The domain of this property is Object Map
The range of this property is rdfs:Datatype

graph (Property)

An IRI reference for use as the graph name of all triples generated with the GraphMap.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#graph

This property is an object property.


graph Map (Property)

Specifies a GraphMap. When used with a SubjectMap element, all the RDF triples generated from a logical row will be stored in the specified named graph. Otherwise, the RDF triple generated using the (predicate, object) pair will be stored in the specified named graph.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#graphMap

This property is an object property.

The range of this property is Graph Map

inverse Expression (Property)

An expression that allows, at query processing time, use of index-based access to the the (underlying) relational tables, instead of simply retrieving the table rows first and then applying a filter. This property is useful for retrieval based on conditions involving subject, predicate, or object generated from logical table column(s) and involves some transformation.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#inverseExpression

This property is a data property.

The domain of this property is Term Map
The range of this property is xsd:string

join Condition (Property)

Specifies the join condition for joining the child logical table with the parent logical table of the foreign key constraint.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#joinCondition

This property is an object property.

The domain of this property is Ref Object Map
The range of this property is Join

language (Property)

Specified the language for the object component for the generated triple from a logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#language

This property is a data property.

The domain of this property is Object Map
The range of this property is xsd:string

logical Table (Property)

Definition of logical table to be mapped.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#logicalTable

This property is an object property.

The domain of this property is Triples Map
The range of this property is Logical Table

object (Property)

Specifies the object for the generated triple from the logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#object

This property is an object property.

The range of this property is rdfs:Resource

object Map (Property)

An ObjectMap element to generate the object component of the (predicate, object) pair from a logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#objectMap

This property is an object property.

The domain of this property is Predicate Object Map
The range of this property is Object Map

parent (Property)

Names a column in the parent table of a join.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#parent

This property is a data property.

The domain of this property is Join
The range of this property is xsd:string

parent Triples Map (Property)

Specifies the TriplesMap element corresponding to the parent logical table of the foreign key constraint.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#parentTriplesMap

This property is an object property.

The domain of this property is Ref Object Map
The range of this property is Triples Map

predicate (Property)

Specifies the predicate for the generated triple from the logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#predicate

This property is an object property.

The range of this property is rdf:Property

predicate Map (Property)

A PredicateMap element to generate the predicate component of the (predicate, object) pair from a logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#predicateMap

This property is an object property.

The domain of this property is Predicate Object Map
The range of this property is Predicate Map

predicate Object Map (Property)

A PredicateObjectMap element to generate (predicate, object) pair from a logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#predicateObjectMap

This property is an object property.

The range of this property is Predicate Object Map

sql Query (Property)

A valid SQL query.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#sqlQuery

This property is a data property.

The domain of this property is R2RML View
The range of this property is xsd:string

sql Version (Property)

An identifier for a SQL version.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#sqlVersion

This property is an object property.

The domain of this property is R2RML View

subject (Property)

An IRI reference for use as subject for all the RDF triples generated from a logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#subject

This property is an object property.


subject Map (Property)

A SubjectMap element to generate a subject from a logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#subjectMap

This property is an object property.

The domain of this property is Triples Map
The range of this property is Subject Map

table Name (Property)

Schema-qualified name of a table or view.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#tableName

This property is a data property.

The domain of this property is Base Table Or View
The range of this property is xsd:string

template (Property)

A template (format string) to specify how to generate a value for a subject, predicate, or object, using one or more columns from a logical table row.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#template

This property is a data property.

The domain of this property is Term Map
The range of this property is xsd:string

term Type (Property)

A string indicating whether subject or object generated using the value from column name specified for rr:column should be an IRI reference, blank node, or a literal.

Definition

The URI of this property is http://www.w3.org/ns/r2rml#termType

This property is an object property.

The domain of this property is Term Map

Individuals

SQL2008, defaultGraph

SQL 2008 version identifier (NamedIndividual)

Indicates that the SQL query conforms to Core SQL 2008

Definition

The URI of this individual is http://www.w3.org/ns/r2rml#SQL2008


default Graph (NamedIndividual)

Denotes a default graph

Definition

The URI of this individual is http://www.w3.org/ns/r2rml#defaultGraph


Boris Villazón Terrazas, bvillazon@fi.upm.es, OEG-UPM,
mantained by Ivan Herman, ivan@w3.org, W3C, Semantic Web Activity Lead,
2012-07-17
$Date: 2012/09/17 15:21:58 $