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.

In the event you want to enable remote querying, please add the following snippet to the configuration file:

$srfgExhibitRemote=true;

"Item" Bug:
Please don't use the following property names when you want to use exhibit:


 * type
 * id
 * columns
 * hideTable
 * label
 * pluralLabel

Due to a bug, exhibit doesn't work with these property names.

IE 6 and IE 7 Javascript errors
In some cases (depending on versions of SRF and the amount of javasript in the skin you use) there can be JavaScript errors in Internet Explorers 6 and 7. So test carefully if the users of your wikis work with these browsers.