Help:Result formats

From semantic-mediawiki.org
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
Querying for queries
Concepts
Inferencing
Editing
Properties and types
Special properties
Inverse properties
Custom units

Semantic templates

Service links

Semantic Web
RDF export

External tools

Importing vocabulary

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.

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
Feed format feed Export results as RSS and Atom feed 1.8.0 export
feed
xml
MWJames
JSON format json Outputs semantic data in JSON format 1.4.2 export
plaintext
MWJames
Jeroen De Dauw
Fabian Howahl
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
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 Danwe
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
Excel format excel Outputs the result in microsoft office excel file format (xls). Semantic Result Formats 1.9.0 export false Netbrain
Calendar format calendar Displays time-associated pages on a calendar Semantic Result Formats 1.4.0 time true Yaron Koren
D3 chart format d3chart Various charts using the d3.js as visualization library Semantic Result Formats 1.8.0 charts 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
Dygraphs format dygraphs high performance series charting using the dygraphs Javascript library Semantic Result Formats 1.8.0 charts true MWJames
Earliest format earliest Displays the earliest of all queried date/time data Semantic Result Formats 1.8.0 time true Jeroen De Dauw
Nischayn22
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
Filtered format filtered Displays query results as switchable views, offers filtering Semantic Result Formats 1.8.0 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
Google Maps format googlemaps Displays queried geographical data onto an Google Maps map Semantic Maps 0.1 geo true Jeroen De Dauw
Google bar format googlebar Produces a bar chart using the Google Charts API Semantic Result Formats 1.4.0 charts false Denny Vrandecic
Google pie format googlepie Produces a pie chart using the Google Charts API Semantic Result Formats 1.4.0 charts false Denny Vrandecic
Graph format graph Displays the relation between pages Semantic Result Formats 1.4.2 graph false Frank Dengler
Jeroen De Dauw
Hash format hash Comma-separated list, with additional outputs shown in parentheses and extra formatting options Semantic Result Formats 1.6.1 misc Danwe
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 false MWJames
KML format kml Export of geographical data in KML format Semantic Maps 1.0 geo
export
true Jeroen De Dauw
Latest format latest Displays the latest of all queried date/time data Semantic Result Formats 1.8.0 time true Jeroen De Dauw
Nischayn22
Listwidget format listwidget Navigation widget for lists Semantic Result Formats 1.8.0 misc false MWJames
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
Pagewidget format pagewidget Widget for embedded page content Semantic Result Formats 1.8.0 misc true MWJames
Process format process Displays process graphs Semantic Result Formats 1.4.2 graph false Frank Dengler
Hans-Jörg Happel
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.0 misc true F.trott
Sparkline format sparkline generates small inline charts (also known as sparklines) Semantic Result Formats 1.8.0 charts true MWJames
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
MWJames
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
Valuerank format valuerank Lists values based on their occurrence Semantic Result Formats 1.7.0 misc true DaSch
MWJames
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
Jqplotchart format jqplotchart aggregated numerical data being displayed as bar, line, pie, or donut chart using the jqPlot JavaScript plug-in 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


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