v3.0.0+
Status: | effective |
Progress: | 100% |
Version: | 3.0.0+ |
Help:RDF format
From Linux Web Expert
RDF format | |
---|---|
Exports results in RDF-based serialisations. | |
Further Information | |
Provided by: | Semantic MediaWiki |
Added: | 1.5.5 |
Removed: | still supported |
Requirements: | none |
Format name: | rdf |
Enabled? Indicates whether the result format is enabled by default upon installation of the respective extension. | yes |
Authors: | Markus Krötzsch |
Categories: | export |
Table of Contents | |
The result format rdf is used to produce links to OWL files in RDF-based serialisations.
Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki introduced a set of predefined classes supporting a datatable output12 which also allows for RDF export via result format "Table"Outputs the results in a table (default for queries with printout statements)..
Parameters
⧼validator-describe-header-parameter⧽ | ⧼validator-describe-header-type⧽ | ⧼validator-describe-header-default⧽ | ⧼validator-describe-header-description⧽ |
---|---|---|---|
syntax | ⧼validator-type-string⧽ | rdfxml | The RDF syntax to be used |
Available values for parameters:
syntax
:rdfxml
(default) andturtle
Examples
rdfxml
The default syntax is RDF/XML:
- Syntax
{{#ask: [[Category:City]] [[Located in::Germany]] |?Population |format=rdf }}
- Result
turtle
The same query, but this time in [httsp://www.w3.org/TeamSubmission/turtle/ Turtle syntax]:
- Syntax
{{#ask: [[Category:City]] [[Located in::Germany]] |?Population |format=rdf |syntax=turtle }}
- Result
RDF files are not usually readably by desktop tools. To view their content, you can use any text editor.