R2RML vocabulary
type: Ontology
type: Vocabulary
issued: 2012-01-24
modified: 2012-07-16
descripion: RDB to RDF Mapping Language - Vocabulary
creator: Richard Cyganiak
contributor: Boris Villazon-Terrazas
contributor: Ivan Herman
publisher: The World Wide Web Consortium (W3C)
license: http://creativecommons.org/licenses/by/3.0/
preferred namespace prefix: rr

Richard Cyganiak
type: Person

Boris Villazon-Terrazas
type: Person

Ivan Herman
type: Person

The World Wide Web Consortium (W3C)
type: Organization
acronym: W3C

class
type: ObjectProperty
comment: The subject value generated for a logical table row will be asserted as an instance of this RDFS class.
range: Class
domain: SubjectMap

datatype
type: ObjectProperty
comment: Specifies the datatype of the object component for the generated triple from a logical table row.
range: Datatype
domain: ObjectMap

graph
type: ObjectProperty
comment: An IRI reference for use as the graph name of all triples generated with the GraphMap.
domain: Class
  intersection of: GraphMap
  intersection of: Restriction
    on property: template
    max qualified cardinality: 0
    on data range: string

graphMap
type: ObjectProperty
comment: 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.
range: GraphMap
domain: Class
  union of: PredicateObjectMap
  union of: SubjectMap

joinCondition
type: ObjectProperty
comment: Specifies the join condition for joining the child logical table with the parent logical table of the foreign key constraint.
range: Join
domain: RefObjectMap

logicalTable
type: ObjectProperty
comment: Definition of logical table to be mapped.
range: LogicalTable
domain: TriplesMap

object
type: ObjectProperty
comment: Specifies the object for the generated triple from the logical table row.
range: Resource
domain: Class
  intersection of: ObjectMap
  intersection of: Restriction
    on property: column
    max qualified cardinality: 0
    on data range: string

objectMap
type: ObjectProperty
comment: An ObjectMap element to generate the object component of the (predicate, object) pair from a logical table row.
domain: PredicateObjectMap
range: Class
  union of: ObjectMap
  union of: RefObjectMap

parentTriplesMap
type: ObjectProperty
comment: Specifies the TriplesMap element corresponding to the parent logical table of the foreign key constraint.
domain: RefObjectMap
range: TriplesMap

predicate
type: ObjectProperty
comment: Specifies the predicate for the generated triple from the logical table row.
range: Property
domain: Class
  intersection of: PredicateMap
  intersection of: Restriction
    on property: column
    max qualified cardinality: 0
    on data range: string

predicateMap
type: ObjectProperty
comment: A PredicateMap element to generate the predicate component of the (predicate, object) pair from a logical table row.
range: PredicateMap
domain: PredicateObjectMap

predicateObjectMap
type: ObjectProperty
comment: A PredicateObjectMap element to generate (predicate, object) pair from a logical table row.
range: PredicateObjectMap

sqlVersion
type: ObjectProperty
comment: An identifier for a SQL version.
domain: R2RMLView

subject
type: ObjectProperty
comment: An IRI reference for use as subject for all the RDF triples generated from a logical table row.
domain: Class
  intersection of: SubjectMap
  intersection of: Restriction
    on property: column
    max qualified cardinality: 0
    on data range: string

subjectMap
type: ObjectProperty
comment: A SubjectMap element to generate a subject from a logical table row.
range: SubjectMap
domain: TriplesMap

termType
type: ObjectProperty
comment: 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.
domain: Term Map
range: Class
  union of: BlankNode
  union of: IRI
  union of: Literal

child
type: DatatypeProperty
comment: Names a column in the child table of a join.
range: string
domain: Join

column
type: DatatypeProperty
comment: 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).
range: string
domain: Term Map

inverseExpression
type: DatatypeProperty
comment: 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.
range: string
domain: Term Map

language
type: DatatypeProperty
comment: Specified the language for the object component for the generated triple from a logical table row.
range: string
domain: ObjectMap

parent
type: DatatypeProperty
comment: Names a column in the parent table of a join.
range: string
domain: Join

sqlQuery
type: DatatypeProperty
comment: A valid SQL query.
range: string
domain: R2RMLView

tableName
type: DatatypeProperty
comment: Schema-qualified name of a table or view.
range: string
domain: BaseTableOrView

template
type: DatatypeProperty
comment: 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.
range: string
domain: Term Map

BlankNode
type: Class
comment: Denotes a blank node, used with termType

GraphMap
type: Class
subclass of: Term Map
comment: Represents a graph map.

IRI
type: Class
comment: Denotes an IRI, used with termpType.

Join
type: Class
subclass of: Thing
subclass of: Restriction
  on property: parent
  min qualified cardinality: 1
  on data range: string
subclass of: Restriction
  on property: parent
  max qualified cardinality: 1
  on data range: string
subclass of: Restriction
  on property: child
  max qualified cardinality: 1
  on data range: string
subclass of: Restriction
  on property: child
  min qualified cardinality: 1
  on data range: string
comment: Represents a join condition.

Literal
type: Class
subclass of: Thing
comment: Denotes a Literal, used with termType.

LogicalTable
type: Class
subclass of: Thing
comment: Represents a logical table.

ObjectMap
type: Class
subclass of: Thing
subclass of: Term Map
subclass of: Restriction
  on property: object
  on class: Resource
  min qualified cardinality: 0
subclass of: Restriction
  on property: object
  on class: Resource
  max qualified cardinality: 1
subclass of: Restriction
  on property: language
  min qualified cardinality: 0
  on data range: string
subclass of: Restriction
  on property: datatype
  on class: Datatype
  min qualified cardinality: 0
comment: Represents an object map.

PredicateMap
type: Class
subclass of: Thing
subclass of: Term Map
subclass of: Restriction
  on property: predicate
  on class: Property
  qualified cardinality: 1
comment: Represents a predicate map.

PredicateObjectMap
type: Class
subclass of: Thing
subclass of: Restriction
  on property: objectMap
  on class: ObjectMap
  qualified cardinality: 1
subclass of: Restriction
  on property: predicateMap
  on class: PredicateMap
  min qualified cardinality: 1
comment: Represents a predicate-object map.

RefObjectMap
type: Class
subclass of: Thing
comment: Denotes a reference to an object map.

SubjectMap
type: Class
subclass of: Thing
subclass of: Term Map
subclass of: Restriction
  on property: class
  on class: Class
  min qualified cardinality: 0
comment: Represents a subject map.

Term Map
type: Class
comment: A function that generates an RDF term from a logical table row.

TriplesMap
type: Class
subclass of: Thing
subclass of: Restriction
  on property: logicalTable
  on class: LogicalTable
  qualified cardinality: 1
subclass of: Restriction
  on property: subjectMap
  on class: SubjectMap
  qualified cardinality: 1
comment: Represents a triples map.

SQL2008
type: NamedIndividual
comment: Core SQL 2008

defaultGraph
type: NamedIndividual
comment: Denotes a default graph