SWP Parameters

Parameter

Default

Description

ui label function URI

false

The URI of a SPARQL function that takes a resource as argument and returns a string representation. If set, this will be used whenever ui:label is called, making it possible to define custom label algorithms in a single place.

ui:lib function is constant

false

True to have ui:lib() always return the static value “lib”.

maximum number of table rows

1000

The maximum number of rows to be displayed by (search results) table widgets

Enable debug mode

false

True to activate debug mode (for ui:debug etc).

Generate <!– … –> comments

false

True to preserve <!– … –> comments in the output.

Inject swpsource attributes

false

True to inject swpsource attributes for debugging in (HTML/XML) source code.

Trace dynamic views

false

True to trace the actual SWP elements used by ui:classView and ui:resourceView in the log.