Help:Result formats
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.
Click here to make an advanced research among results formats
By Semantic MediaWiki itself
The following formats are available in SMW by default:
Page | Format | Description | Added in | Categories | Authors |
---|---|---|---|---|---|
JSON format | json | Outputs semantic data in JSON format | 1.4.2 | export plaintext | MWJames Jeroen De Dauw Fabian Howahl |
CSV format | csv | Outputs semantic data in Windows-style Comma Separated Value format | 1.2.1 | export plaintext | Nathan Yergler Markus Krötzsch |
RDF format | rdf | Export result table as RDF | 1.5.5 | export | Markus Krötzsch |
Feed format | feed | Export results as RSS and Atom feed | 1.8.0 | export feed xml | MWJames |
DSV format | dsv | Outputs semantic data in UNIX-style Delimiter Separated Value format | 1.6.0 | export plaintext | Jeroen De Dauw |
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 |
Template format | template | Uses a specified template to format and display the results | 0.7 | misc | Markus Krötzsch |
Table format | table | Outputs the result in a table. | 0.4 | misc | Markus Krötzsch |
Ol format | ol | Numbered list, with additional outputs shown in parentheses | 0.7 | misc | Markus Krötzsch |
List format | list | Comma-separated list, with additional outputs shown in parentheses | 0.7 | misc | Markus Krötzsch |
Ul format | ul | Bulleted list, with additional outputs shown in parentheses | 0.7 | misc | 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 |
Debug format | debug | Debugging information for analysing problems in query answering. | 0.7 | misc | Markus Krötzsch |
Broadtable format | broadtable | Outputs the result in a broad table. | 0.4 | misc | Markus Krötzsch |
Embedded format | embedded | Embed selected articles. | 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 |
---|---|---|---|---|---|---|---|
Google bar format | googlebar | Produces a bar chart using the Google Charts API | Semantic Result Formats | 1.4.0 | charts | false | Denny Vrandecic |
Jqplotchart format | jqplotchart | Displays aggregated numerical data as a bar, line, pie, or donut chart | Semantic Result Formats | 1.8.0 | charts | true | MWJames |
D3 chart format | d3chart | Various charts using the d3.js as visualization library | Semantic Result Formats | 1.8.0 | charts | true | MWJames |
Google pie format | googlepie | Produces a pie chart using the Google Charts API | Semantic Result Formats | 1.4.0 | charts | false | Denny Vrandecic |
Sparkline format | sparkline | generates small inline charts (also known as sparklines) | Semantic Result Formats | 1.8.0 | charts | true | MWJames |
Jqplotseries format | jqplotseries | enable sets of numerical data to be displayed as a chart series using the jqPlot Javascript library | Semantic Result Formats | 1.8.0 | charts | true | MWJames |
Timeseries format | timeseries | aggregated values assigned to a date (property type date) are plotted as a line/bar chart | Semantic Result Formats | 1.8.0 | charts | true | MWJames |
Dygraphs format | dygraphs | high performance series charting using the dygraphs Javascript library | Semantic Result Formats | 1.8.0 | charts | true | MWJames |
VCard format | vcard | Exports data in vCard format. | Semantic Result Formats | 1.4.2 | export | true | Markus Krötzsch Denny Vrandecic Frank Dengler |
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 |
Excel format | excel | Outputs the result in Microsoft Office Excel file format (xls). | Semantic Result Formats | 1.9.0 | export | true | Netbrain |
ICalendar format | icalendar | Exports data in iCalendar format. | Semantic Result Formats | 1.4.2 | export | true | Markus Krötzsch Denny Vrandecic Jeroen De Dauw |
Map format | map | Displays queried geographical data onto an interactive map | Semantic Maps | 0.1 | geo | true | Jeroen De Dauw |
Google Maps format | googlemaps | Displays queried geographical data onto an Google Maps map | Semantic Maps | 0.1 | geo | true | Jeroen De Dauw |
OpenLayers format | openlayers | Displays queried geographical data onto an OpenLayers map | Semantic Maps | 0.1 | geo | true | Jeroen De Dauw |
KML format | kml | Export of geographical data in KML format | Semantic Maps | 1.0 | geo export | true | Jeroen De Dauw |
Process format | process | Displays process graphs | Semantic Result Formats | 1.4.2 | graph | false | Frank Dengler Hans-Jörg Happel |
Graph format | graph | Displays the relation between pages | Semantic Result Formats | 1.4.2 | graph | false | Frank Dengler Jeroen De Dauw |
Median format | median | Displays the median of all queried numerical data | Semantic Result Formats | 1.6.0 | math | true | Jeroen De Dauw |
Sum format | sum | Displays the sum of all queried numerical data | Semantic Result Formats | 1.4.2 | math | true | Nathan Yergler |
Average format | average | Displays the average of all queried numerical data | Semantic Result Formats | 1.4.2 | math | true | Yaron Koren |
Min format | min | Displays the minimum of all queried numerical data | Semantic Result Formats | 1.4.2 | math | 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 |
Max format | max | Displays the maximum of all queried numerical data | Semantic Result Formats | 1.4.2 | math | true | Yaron Koren |
Listwidget format | listwidget | Navigation widget for lists | Semantic Result Formats | 1.8.0 | misc | true | MWJames |
Filtered format | filtered | Displays query results as switchable views, offers filtering | Semantic Result Formats | 1.8.0 | misc | true | F.trott |
Media format | media | HTML5 Audio / Video media result printer | Semantic Result Formats | 1.9.0 | misc | true | MWJames |
Oltree format | oltree | Displays query results as a tree (nested HTML ordered lists) | Semantic Result Formats | 1.7.1 | misc | true | F.trott |
Gallery format | gallery | Display images as a gallery | Semantic Result Formats | 1.5.0 | misc | true | Rowan Rodrik van der Molen Jeroen De Dauw MWJames |
Outline format | outline | Lists pages in a hierarchical outline, based on property values | Semantic Result Formats | 1.4.3 | misc | true | Yaron Koren |
Slideshow format | slideshow | Displays query results as a slideshow | Semantic Result Formats | 1.8.0 | misc | true | F.trott |
Array format | array | Comma-separated list, with additional outputs shown in parentheses and extra formatting options | Semantic Result Formats | 1.6.1 | misc | true | Danwe |
Tagcloud format | tagcloud | Displays queried data in a tagcloud | Semantic Result Formats | 1.5.3 | misc | true | Jeroen De Dauw MWJames |
Valuerank format | valuerank | Lists values based on their occurrence | Semantic Result Formats | 1.7.0 | misc | true | DaSch MWJames |
Hash format | hash | Comma-separated list, with additional outputs shown in parentheses and extra formatting options | Semantic Result Formats | 1.6.1 | misc | true | Danwe |
Incoming format | incoming | Displays incoming properties to a page or property/value pair | Semantic Result Formats | 1.8.0 | misc | false | MWJames |
Tree format | tree | Displays query results as a tree (nested HTML bulleted lists) | Semantic Result Formats | 1.7.1 | misc | true | F.trott |
Pagewidget format | pagewidget | Widget for embedded page content | Semantic Result Formats | 1.8.0 | misc | true | MWJames |
Datatables format | datatables | A progressive table result printer that integrates the DataTables JavaScript library | Semantic Result Formats | 1.9.0 | table | true | MWJames |
Timeline format | timeline | Displays query results in interactive timelines | Semantic Result Formats | 1.4.0 | time | true | Markus Krötzsch |
Eventcalendar format | eventcalendar | An event calendar with different views of displaying days and events | Semantic Result Formats | 1.8.0 | time | true | MWJames |
Eventline format | timeline | Displays query results in interactive eventlines | Semantic Result Formats | 1.4.0 | time | true | Markus Krötzsch Jeroen De Dauw |
Earliest format | earliest | Displays the earliest of all queried date/time data | Semantic Result Formats | 1.8.0 | time | true | Jeroen De Dauw Nischayn22 |
Calendar format | calendar | Displays time-associated pages on a calendar | Semantic Result Formats | 1.4.0 | time | true | Yaron Koren |
Latest format | latest | Displays the latest of all queried date/time data | Semantic Result Formats | 1.8.0 | time | true | Jeroen De Dauw Nischayn22 |