Help:Result formats

From semantic-mediawiki.org
(Redirected from Result format)
Jump to: navigation, search
SMW user manual
Introduction
Browsing interfaces
Special:Ask
Special:Browse
Semantic search
Selecting pages
Strict comparators
Displaying information
Result formats
Inline queries
Concepts
Inferencing
Editing
Properties and types
Special properties
Custom units

Semantic templates

Service links

Semantic Web
RDF export

External tools

Importing vocabulary

Ontology import

SMW admin manual

This page describes the result formats available for Semantic MediaWiki (SMW). The result format determines how the results of a query are displayed. On special page Special:Ask they are selected via the dropdown menu „Format as:“ while they get specified with the parameter format in inline queries. If omitted, all queries are displayed as tables (format table), unless there would be only one column, in which case the results are displayed as a comma-separated list (format list).

In addition to the formats provided by SMW itself, extensions can provide additional formats; see Semantic Result Formats and Semantic Maps as examples for two such extensions.

There is also another overview page of all result formats available for SMW.

By Semantic MediaWiki itself

The following formats are available in SMW by default:

Page Format Description Added in Categories Authors
Broadtable format broadtable Outputs the result in a broad table. 0.4 misc Markus Krötzsch
CSV format csv Outputs semantic data in Windows-style Comma Separated Value format 1.2.1 export
plaintext
Nathan Yergler
Markus Krötzsch
Category format category List in columns, with first letters as section headers, in the style of MediaWiki category pages 1.4.3 misc David Loomer
Yaron Koren
Count format count Returns just the number of results (a count of the number of matching pages), instead of the results themselves 0.7 math Markus Krötzsch
DSV format dsv Outputs semantic data in UNIX-style Delimiter Separated Value format 1.6.0 export
plaintext
Jeroen De Dauw
Debug format debug Debugging information for analysing problems in query answering. 0.7 misc Markus Krötzsch
Embedded format embedded Embed selected articles. 0.7 misc Markus Krötzsch
JSON format json Outputs semantic data in JSON format 1.4.2 export
plaintext
Fabian Howahl
Jeroen De Dauw
List format list Comma-separated list, with additional outputs shown in parentheses 0.7 misc Markus Krötzsch
Ol format ol Numbered list, with additional outputs shown in parentheses 0.7 misc Markus Krötzsch
RDF format rdf Export result table as RDF 1.5.5 export Markus Krötzsch
RSS format rss Print links to RSS feeds for query results. 1.1.0 export
xml
Denny Vrandecic
Markus Krötzsch
Table format table Outputs the result in a table. 0.4 misc Markus Krötzsch
Template format template Uses a specified template to format and display the results 0.7 misc Markus Krötzsch
Ul format ul Bulleted list, with additional outputs shown in parentheses 0.7 misc Markus Krötzsch

By extensions to Semantic MediaWiki

The following formats are available in SMW through additional semantic extensions:

Page Format Description Provided by Added in Categories Enabled Authors
Array format array Comma-separated list, with additional outputs shown in parentheses and extra formatting options Semantic Result Formats 1.6.1 misc true Daniel Werner
Average format average Displays the average of all queried numerical data Semantic Result Formats 1.4.2 math true Yaron Koren
BibTeX format bibtex Produces a link to a file for downloading data in BibTeX format. Semantic Result Formats 1.4.3 export true Steren Giannini
Frank Dengler
Calendar format calendar Displays time-associated pages on a calendar Semantic Result Formats 1.4.0 time true Yaron Koren
Eventline format timeline Displays query results in interactive eventlines Semantic Result Formats 1.4.0 time true Markus Krötzsch
Jeroen De Dauw
Exhibit format exhibit Displays query results in interactive charts, tables and maps Semantic Result Formats 1.4.0 misc false Fabian Howahl
Gallery format gallery displays query results as dynamic galleries with output which is the same as when using MediaWiki's built-in gallery tag. Semantic Result Formats 1.5.0 misc true Rowan Rodrik van der Molen
Jeroen De Dauw
MWJames
Google Maps format googlemaps Displays queried geographical data onto an Google Maps map Semantic Maps 0.1 geo true Jeroen De Dauw
Google pie format googlepie Produces a pie chart using the Google Charts API Semantic Result Formats 1.4.0 charts false Denny Vrandecic
Google bar format googlebar Produces a bar chart using the Google Charts API Semantic Result Formats 1.4.0 charts false Denny Vrandecic
Hash format hash Comma-separated list, with additional outputs shown in parentheses and extra formatting options Semantic Result Formats 1.6.1 misc true Daniel Werner
KML format kml Export of geographical data in KML format Semantic Maps 1.0 geo
export
true Jeroen De Dauw
Map format map Displays queried geographical data onto an interactive map Semantic Maps 0.1 geo true Jeroen De Dauw
Max format max Displays the maximum of all queried numerical data Semantic Result Formats 1.4.2 math true Yaron Koren
Median format median Displays the median of all queried numerical data Semantic Result Formats 1.6.0 math true Jeroen De Dauw
Min format min Displays the minimum of all queried numerical data Semantic Result Formats 1.4.2 math true Yaron Koren
Oltree format oltree Displays query results as a tree (nested HTML ordered lists) Semantic Result Formats 1.7.1 misc true F.trott
OpenLayers format openlayers Displays queried geographical data onto an OpenLayers map Semantic Maps 0.1 geo true Jeroen De Dauw
Outline format outline Lists pages in a hierarchical outline, based on property values Semantic Result Formats 1.4.3 misc true Yaron Koren
Product format product Displays the product of all queried numerical data Semantic Result Formats 1.6.0 math true Jeroen De Dauw
Slideshow format slideshow Displays query results as a slideshow Semantic Result Formats 1.8 alpha misc true F.trott
Sum format sum Displays the sum of all queried numerical data Semantic Result Formats 1.4.2 math true Nathan Yergler
Tagcloud format tagcloud Displays queried data in a tagcloud Semantic Result Formats 1.5.3 misc true Jeroen De Dauw
Ploticus format ploticus Creates various plots and charts Semantic Result Formats 1.4.2 charts false Joel Natividad
Timeline format timeline Displays query results in interactive timelines Semantic Result Formats 1.4.0 time true Markus Krötzsch
Jeroen De Dauw
Tree format tree Displays query results as a tree (nested HTML bulleted lists) Semantic Result Formats 1.7.1 misc true F.trott
Yahoo! Maps format yahoomaps Displays queried geographical data onto an Yahoo! Maps map Semantic Maps 0.1 geo true Jeroen De Dauw
ICalendar format icalendar Exports data in iCalendar format. Semantic Result Formats 1.4.2 export true Markus Krötzsch
Denny Vrandecic
Jeroen De Dauw
Jqplotbar format jqplotbar Produces a bar chart using the jqPlot Javascript library Semantic Result Formats 1.5.1 charts true Sanyam Goyal
Yaron Koren
Jqplotpie format jqplotpie Produces a pie chart using the jqPlot Javascript library Semantic Result Formats 1.5.1 charts true Sanyam Goyal
Yaron Koren
MWJames
VCard format vcard Exports data in vCard format. Semantic Result Formats 1.4.2 export true Markus Krötzsch
Denny Vrandecic
Frank Dengler


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

Help:Result formats en 1.6.0


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox