Extension:Semantic Result Formats/exhibit format

The result format exhibit, part of the Semantic Result Formats extension, uses the Exhibit application to display query results. You can find examples as well as documentation here.

Like other result printers (e.g. Timeline), the result printer needs more information to set up a visualization. Basically, three parameters supply Exhibit with the required information:


 * 'views' - the 'views' parameter holds the different views Exhibit is supposed to create. Right now, the views tiles, tabular, timeline and maps can be selected here. In case one would like to have more than one view, multiple values can be limited by a comma. After Exhibit has rendered the views, one can switch between them by using a panel.


 * 'facets' - Exhibit offers faceted browsing. Property values that occur more often can be grouped. The user is able to select the values she would like to see by checking them. Query results that do not hold the selected values will vanish then. In order to let Exhibit know which Property should be subject to a facet, the property's name has to be passed through the 'facets' parameter of the query. Multiple properties are possible as well (comma is the preferred limiter).


 * 'lens' - Exhibit enables the user to influence the appearance of the visualization to a certain extent. One can provide HTML or wikitext snippets that Exhibit uses to render a single query result. These snippets are lodged in MediaWiki's template system. The value of the 'lens' parameter refers to a template that has to be created before.