Jump to content

User:Lmorillas/ExhibitFormat

From mediawiki.org

Work in progress

The Exhibit Format

[edit]

The Exhibit framework lets you easily create interactive maps, timelines, and other visualizations with advanced text search and filtering functionalities [1] With the 'exhibit format lets you easily create these interactive visualizations as a result format of Cargo queries.

All the parameters are optional. Cargo autodiscover most of them. Set them only for view needs.

exhibit
Displays results in an exhbit visualization.
Parameters:
  • view - sets the views exhibit will create. If most than one, it uses a comma separator. Valid values are map, tabular and timeline. If not set, Cargo autodiscovers the possible views analyzing the results of the query.
  • datalabel - sets the label to refer the data. Default is Item/Items.
for map views
Cargo asumes that there is a field of Coordinates type in the query.
for time views
Cargo asumes that there is a field of Date or Datetime type in the query.
  • end - sets the column name with the end time info for the events (if needed)
  • color - sets the name of the column used to color-code the markers
  • topunit - sets unit for the top band: millisecond, second, minute, hour, day, week, month, year, decade, century, millennium
  • toppx - sets the pixels wide for each interval in the top band.
  • bottompx - sets the pixels wide for each interval in the bottom band.
facets
  • facets - sets the column names for the exhbit facets.Three comma separated columns maximum. If not set, Cargo uses the first three columns of the result.

In all Exhibit apps a little orange box (Toolbox) when clicked, it displays a menu that allows you to extract/download your data in various ways (BibTex, RDF/XML, JSON, Semantic Wikitext, TSV).