RTM: An RDF-to-TM mapping

By: Ontopia
Version: 0.2
Date: 2003-11-17
Status: Stable, implemented
Formats: HTML (this page), RDF schema

This document describes an RDF vocabulary for describing mappings from RDF schemas to topic maps as a PSI set. Using these mappings, RDF data can be converted automatically to topic maps, and RDF vocabularies can declare their own mappings to topic maps. This allows the same vocabularies to be used both in RDF and in topic maps.

The rtm prefix is used throughout to signify the namespace http://psi.ontopia.net/rdf2tm/#.

The vocabulary defined here was developed as part of the work on topic maps and RDF described in Living with topic maps and RDF. It will be supported by upcoming versions of OKS and Omnigator. The mapping algorithm is defined in detail in the RTM technical report.

The rtm:maps-to property

Domain: rdf:Property
Range: rtm:Construct

This property is used to describe what an RDF property maps to in a topic map. Statements using RDF properties which are not described with rtm:maps-to are ignored during conversion.

Allowed values for this property are:

The rtm:type property

Domain: rdf:Property
Range: rdfs:Resource

By default, RDF statements mapped to occurrences or associations get as their type the topic representing the RDF property of the statement. This statement is used to override that default and to explicitly set the type of the created occurrence/association.

The rtm:in-scope property

Domain: rdf:Property
Range: rdfs:Resource

Using this property the name, occurrence, or association created from an RDF statement can have topics added to its scope. This property can be repeated any number of times for an rdf:Property, and all the corresponding topics are added to the scope of the created topic characteristic.

The rtm:subject-role property

Domain: rdf:Property
Range: rdfs:Resource

Properties mapped to associations must have this property set to the topic that provides the role type played in the resulting association by the subject in the statement.

The rtm:object-role property

Domain: rdf:Property
Range: rdfs:Resource

Properties mapped to associations must have this property set to the topic that provides the role type played in the resulting association by the object in the statement.


Ontopia, 2003-11-17.