Help:RDF format

Jump to: navigation, search
RDF format
Export result table as RDF
Available languages
Further Information
Provided by: Semantic MediaWiki
Added: 1.5.5
Removed: still supported
Requirements: none
Format name: rdf
Enabled by default: 
Indicates whether the result format is enabled by default upon installation of the respective extension.
Authors: Markus Krötzsch
Categories: export
Table of Contents

↓ INFO ↓

The result format rdf is used to produce links to OWL files in RDF-based serialisations.


The RDF format introduces one additional optional parameter:

  • syntax: either rdfxml (default) or turtle

Parameter Type Default Description
syntax text rdfxml The RDF syntax to be used


The default syntax is RDF/XML:

{{#ask: [[Category:City]] [[located in::Germany]] 
| ?population
| format=rdf

Result: RDF

The same query, but this time in Turtle syntax:

{{#ask: [[Category:City]] [[located in::Germany]] 
| ?population
| format=rdf
| syntax=turtle

Result: RDF


RDF files are not usually read by desktop tools. To view their content, you can use any text editor.

This documentation page applies to all SMW versions from 1.5.5 to the most current version.
      Other languages: dezh-hans

Help:RDF format en 1.5.5