Semantic Result Formats

The educational technology and digital learning wiki
Jump to navigation Jump to search
Category:MediaWiki extension
Semantic Result Formats
Extension name Semantic Result Formats
About this article / disclaimer This is not an official page. In addition, it is just a stub. Lots of missing information....
Logo Placeholder.png
Screenshot Placeholder.png
Location of the main author Gent, Belgium
Coordinates of the main authors 51.053829, 3.725012
Developers Jeroen De Dauw, Frank Dengler, Steren Giannini, James Hong Kong, Fabian Howahl, Yaron Koren, Markus Krötzsch, David Loomer, Joel Natividad, Denny Vrandecic, Nathan Yergler, others
Licences GPL
Description Semantic Result Formats (SRF) is a MediaWiki extension, used in conjunction with the Semantic MediaWiki extension, that bundles a number of further result formats for SMW's inline queries. The individual formats can be added to the installation independently...
Mediawiki requirements Any recent version
Dependencies Semantic MediaWiki
Related extensions (documented here) Semantic Forms, Semantic Forms Inputs, Semantic Maps, Semantic MediaWiki
Related extensions
Discussion
Language support
Status stable
First release date 2010/12/10
Last release date (as of 2013/06/26!) 2012/12/02
Last version number 1.8.0
Programming language PHP
Alternatives
Website home page
Publications
Support websites web site
Example websites
Last edited 2013/06/26


<pageby nominor="false" comments="false"/>

Introduction

Semantic Result Formats (SRF) is a MediaWiki extension, used in conjunction with the Semantic MediaWiki extension, that bundles a number of further result formats for SMW's inline queries. The individual formats can be added to the installation independently. (Mediawiki.org extension page, June 12 2013).

By default, semantic Mediawiki displays results with tables using a column for each query item. A simple example is below:

This code:

{{#ask: [[Category:Software information]]
| ?Is developed by
}}

... will produce this table:

 Is developed by
MediawikiMediaWiki foundation and MediaWiki volunteers
Some softwareMany

Semantic Result Formats adds other visualization types. Most of these are based on various JavaScript libraries, such as D3.

Examples

Simple lists

This code

{{#ask: [[Category:Software information]]
| ?Is developed by
| format=outline
}}

produces this:

Tagcloud

The following:

{{#ask: [[Category:MediaWiki extension]]
| ?Is developed by
| format=tagcloud
}}

produces:


David Loomer Denny Vrandecic Fabian Howahl Frank Dengler James Hong Kong Jeroen De Dauw Joel Natividad Marcin Cieślak Markus Krötzsch Nathan Yergler others PediaPress.com Sanyam Goyal Siebrand Mazeland Stephan Gambke Steren Giannini Yaron Koren Yury Katkov

D3 Bubble chart

{{#ask: [[Category:MediaWiki extension]]
| ?Is developed by
|format=d3chart
|distribution=yes
|mainlabel=-
|charttype=bubble
|headers=show
|link=all
|charttitle= SMW developers
|datalabels=chart
}}

Notice the use of the following parameters

  • distribution=yes" will count occurences
  • mainlabel=- will exclude the count of the pages themselves

The result of not using these parameters is below:

{{#ask: [[Category:MediaWiki extension]]
| ?Is developed by
|format=d3chart
|charttype=bubble
|headers=show
|link=all
|charttitle= SMW developers
|datalabels=chart
}}

Notice the use of the following parameters

  • distribution=yes" will count occurences
  • mainlabel=- will exclude the count of the pages themselves

Requested data could not be displayed due to some insufficient selection criteria.

Links