axiothOntology Hub

Ontologies / d2rq

D2RQ - Language Specification

Original text (English), from: LOV catalogueThis document specifies the D2RQ mapping language. D2RQ is a declarative language to describe mappings between relational database schemata and OWL/RDFS ontologies.

Namespace IRI
http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#
Type
Vocabulary
Field
Semantic web core
Version
Not verified
Licence statement
License not verified
Standard or contact
Not registered
Definition file check
File parsed · Nov 30, 2026 UTC
Collected from
Linked Open Vocabularies (LOV)

At a glance

Derived from the parsed definition file, not written by an editor.

Classes
12
Properties
68
Triples in file
334
Connections
5
Papers and standards
0

Counted as stated directly in the definition file, within its own namespace, without imports or inference. The file also declares 0 terms from other namespaces.

Central classes

The classes with the most subclass and property links.

Property bridgeClass mapResource mapAdditional propertyTranslation tableObject property bridge

Top of the hierarchy

Classes with subclasses but no parent inside this file.

Resource map

What it lets you say

Properties read as domain, property, range.

  • Property bridgeBelongs to class mapClass map
  • Class mapAdditional class definition propertyAdditional property
  • Property bridgeAdditional property definition propertyAdditional property
  • Object property bridgeRefers to class mapClass map
  • Property bridgeTranslate withTranslation table
  • Class mapData storageDatabase
  • Translation tableTranslationTranslation

Class hierarchy

Open a class to follow its subclasses downward. The number is how many direct subclasses it has.

  • Resource map3
    • Property bridge2
      • Datatype property bridge
      • Object property bridge
    • Class map
    • Download map

Class graph

Select a class to read its original definition and the properties attached to it. Drag to move, scroll to zoom.

subclass of (child to parent)property (domain to range)

All 12 classes
TermOriginal definition
Property bridge
d2rq:PropertyBridge
Maps an RDF property to one or more database columns.
Database
d2rq:Database
Represents a database.
Resource map
d2rq:ResourceMap
A database-to-RDF mapping from one or more database columns to a set of RDF resources. An abstract class, usually not used directly.
Class map
d2rq:ClassMap
Maps an RDFS or OWL class to its database representation.
Additional property
d2rq:AdditionalProperty
Represents an additional property that may be added to instances as well as class and property definitions.
D2RQ model
d2rq:D2RQModel
Jena Assemler specification for a relational database, mapped to RDF using the D2RQ tool.
Translation
d2rq:Translation
Translation Key/Value Pair.
Translation table
d2rq:TranslationTable
Lookup table for translations used in the mapping process.
Download map
d2rq:DownloadMap
Makes the contents of some database column downloadable.
Configuration
d2rq:Configuration
Represents general settings.
Object property bridge
d2rq:ObjectPropertyBridge
(Deprecated) Maps an object property to one or more database columns.
Datatype property bridge
d2rq:DatatypePropertyBridge
(Deprecated) Maps a datatype property to one or more database columns.
All 68 properties
TermOriginal definition
TIME column
d2rq:timeColumn
Name of a column of type TIME.
URI pattern
d2rq:uriPattern
URI pattern with placeholders that will be filled with values from a database column.
Numeric column
d2rq:numericColumn
Name of a column of a numeric type, such as INT or DOUBLE or DECIMAL.
Limit
d2rq:limit
The number of results to retrieve from the database for this PropertyBridge
Class
d2rq:class
Links d2rq:classMaps to RDFS or OWL classes.
Class map
d2rq:classMap
Used to link RDFS or OWL classes to d2r:classMaps. Deprecated, use inverse d2rq:class instead.
Data storage
d2rq:dataStorage
Not registered
Order ascending
d2rq:orderAsc
The column after which to sort results in ascending order for this PropertyBridge
RDF value
d2rq:rdfValue
Not registered
Property definition comment
d2rq:propertyDefinitionComment
A comment to be served as rdfs:comment for all associated properties
Fetch size
d2rq:fetchSize
The number of rows that should be fetched from the database at once
DATE column
d2rq:dateColumn
Name of a column of type DATE.
Database value
d2rq:databaseValue
Not registered
User name
d2rq:username
Not registered
Password
d2rq:password
Not registered
Property
d2rq:dynamicProperty
Links a d2rq:PropertyBridge to a dynamic property.
Media type
d2rq:mediaType
The Internet media type, such as image/png, of the downloadable content, suitable for use in the HTTP Content-Type header.
Condition
d2rq:condition
SQL WHERE condition that must be satisfied for a database row to be mapped.
Limit inverse
d2rq:limitInverse
The number of results to retrieve from the database for the inverse statements for this PropertyBridge
TIMESTAMP column
d2rq:timestampColumn
Name of a column of type TIMESTAMP.
Translation
d2rq:translation
Not registered
Text column
d2rq:textColumn
Name of a column of a character type, such as CHAR, VARCHAR, NVARCHAR or CLOB.
URI column
d2rq:uriColumn
Database column which contains URIs.
Value max length
d2rq:valueMaxLength
Optimizing hint: the maximum length of values of this resource map.
URI SQL expression
d2rq:uriSqlExpression
An SQL expression whose result will be the URI value of this property bridge.
Value regex
d2rq:valueRegex
Optimizing hint: a regular expression matching every value of this resource map.
Startup SQL script
d2rq:startupSQLScript
URL of a SQL script that will be run on startup.
Additional class definition property
d2rq:additionalClassDefinitionProperty
An additional property to be served for all associated class definitions
SQL expression
d2rq:sqlExpression
A SQL expression whose result will be the value of this property bridge.
Mapping file
d2rq:mappingFile
URL of a D2RQ mapping file.
Result size limit
d2rq:resultSizeLimit
Enforced upper limit for the size of SQL result sets.
Class definition label
d2rq:classDefinitionLabel
A label to be served as rdfs:label for all associated class definitions
Property
d2rq:property
Links a d2rq:PropertyBridge to an RDF property.
Property bridge
d2rq:propertyBridge
Used for linking RDFS properties to D2R property bridges. Deprecated, use inverse d2rq:property instead.
BOOLEAN column
d2rq:booleanColumn
Name of a column of type BOOLEAN.
Additional property definition property
d2rq:additionalPropertyDefinitionProperty
An additional property to be served for all associated property definitions
BINARY column
d2rq:binaryColumn
Name of a column of a binary type, such as BINARY, VARBINARY or BLOB.
Language
d2rq:lang
The language tag of literals created by this bridge.
Constant value
d2rq:constantValue
A constant RDF node to be used as the value of this property bridge, or as the resource of a singleton class map.
Property value
d2rq:propertyValue
Not registered
Contains duplicates
d2rq:containsDuplicates
Set to true if the table, after applying d2rq:joins and d2rq:conditions, may contain duplicate records.
Order descending
d2rq:orderDesc
The column after which to sort results in descending order for this PropertyBridge
Pattern
d2rq:pattern
Not registered
Additional property
d2rq:additionalProperty
Not registered
Property definition label
d2rq:propertyDefinitionLabel
A label to be served as rdfs:label for all associated properties
Refers to class map
d2rq:refersToClassMap
Has to be used if a join refers to a different classMap.
Resource base URI
d2rq:resourceBaseURI
Base URI for resources generated by relative URI patterns.
Serve vocabulary
d2rq:serveVocabulary
Whether to serve inferred and user-supplied vocabulary data
INTERVAL column
d2rq:intervalColumn
Name of a column of type INTERVAL.
Property name
d2rq:propertyName
Not registered
BIT column
d2rq:bitColumn
Name of a column of type BIT.
Value contains
d2rq:valueContains
Optimizing hint: a string contained in every value of this resource map.
Href
d2rq:href
Link to a translation table in an external CSV file.
Java class
d2rq:javaClass
Qualified name of a Java class that implements de.fuberlin.wiwiss.d2rq.Translator and translates between database and RDF.
Column
d2rq:column
Not registered
Use all optimizations
d2rq:useAllOptimizations
Whether to use bleeding edge optimizations
Datatype
d2rq:datatype
The datatype of literals created by this bridge.
Belongs to class map
d2rq:belongsToClassMap
Not registered
Translate with
d2rq:translateWith
Not registered
Class definition comment
d2rq:classDefinitionComment
A comment to be served as rdfs:comment for all associated class definitions
Join
d2rq:join
SQL join condition over tables in the database.
JDBC DSN
d2rq:jdbcDSN
JDBC data source name.
Alias
d2rq:alias
TABLE AS ALIAS declaration for establishing an alternate table name.
JDBC driver
d2rq:jdbcDriver
Not registered
Content download column
d2rq:contentDownloadColumn
A database column containing data to be made downloadable.
Blank node ID columns
d2rq:bNodeIdColumns
Comma-separated list of database columns used for construction of blank nodes.
Allow distinct
d2rq:allowDistinct
Value: true/false that describe the databases ability to handle DISTINCT correctly. Deprecated, the engine now determines this automatically.
ODBC data source name. Deprecated, use JDBC instead (with ODBC-JDBC bridge if necessary).
d2rq:odbcDSN
ODBC DSN

Connections

Relations stated in a definition file or an official registry. Each row shows where the statement comes from.

rdfdcexsdfoafconversionrrcsvwsqlshexshd2rq

Ontology with a stated relationPaper or standardRepositorySimilarity candidate (computed)

Show the evidence table (5 rows)
DirectionOntologyRelationEvidence
This → otherThe RDF Concepts Vocabularyreuses terms (2 terms)definition file
type, Property
This → otherDublin Core Metadata Element Setreuses terms (4 terms)definition file
format, contributor, description
This → otherXML Schemareuses terms (2 terms)definition file
decimal, boolean
This → otherFOAF Friend of a Friendreuses terms (1 term)definition file
Document
Other → thisConversion Ontologyreuses terms (1 term)definition file
condition

Similarity candidates

Candidates are ranked by shared words in descriptions and term labels. They are a starting point for your own check, not a statement of equivalence, compatibility or official relation.

Similar ontologies

Papers and standards

No paper or standard is linked yet. A missing paper is not a defect: an official specification can serve as evidence.

Files and repository

Check record

  1. Fetch fileDone
  2. Parse RDFDone
  3. Extract termsDone

A parsed file means it could be read. It does not vouch for logical consistency or modelling quality.

Definition file check
File parsed
Checked at
Nov 30, 2026 UTC
Format
Turtle
Parser
n3
Size
15,299 B
SHA-256
e4fc36288d6599eb7dbb5db69da80796a7df316f91348e3a57d3cf6a10c0bdd2
Note
This is the latest version archived by LOV, not a file fetched from the publisher.

LOV page for this vocabulary