Mappify

RDF to Topic Maps

This service converts RDF sources into Topic Maps

Service Details

Service path http://ws.mappify.org/rdf2tm/
Permits HTTP GET true
Permits HTTP POST false
Requires authentication false
Extra arguments ignored true

Arguments

Name Type Default Value Format Description
rdf Required string An IRI which references an RDF source
map Required string The IRI of the RDF source with the RTM vocabulary or an IRI to the Compact RDF to Topic Maps Mapping Syntax (CRTM) mapping file.
out Optional xtm string xtm, ctm, json, jtm, or jtm10

This parameter is optional if the client sends an Accept header with application/x-tm+ctm for Compact Topic Maps (CTM) 1.0 or application/x-tm+xtm for XML Topic Maps (XTM) 2.1 or application/x-tm+jtm for JSON Topic Maps (JTM) 1.1 or application/x-tm+jtm for JSON Topic Maps (JTM) 1.0 or application/json for JSON (which is JTM but served with media-type application/json).

callback Optional string JSONP callback function. This parameter is only evaluated if the requested media-type is application/json

Examples

Converts the RDFa annotated HTML page into CTM:

http://ws.mappify.org//rdf2tm/?rdf=http://www.connectors.de/p/flat_line_spool_with_nylon_webbing-8551.en&map=http://mappify.googlecode.com/svn/sandbox/example/rdfa.crtm&out=ctm

Converts tinyTiM's DOAP file into a topic map (using CTM)

http://ws.mappify.org/rdf2tm/?rdf=http%3A%2F%2Ftinytim.sourceforge.net%2Fdoap.xml&map=http%3A%2F%2Fmappify.googlecode.com%2Fsvn%2Fsandbox%2Fexample%2Fdoap.n3&out=ctm

Same as above, but with a JSON callback (using JTM)

http://ws.mappify.org/rdf2tm/?rdf=http%3A%2F%2Ftinytim.sourceforge.net%2Fdoap.xml&map=http%3A%2F%2Fmappify.googlecode.com%2Fsvn%2Fsandbox%2Fexample%2Fdoap.n3&out=json&callback=mappified

RDF Formats

The service supports the following RDF formats: