FacetResultHandler
seco.facetedSearch
Service for retrieving SPARQL results based on facet selections.
new FacetResultHandler(endpointConfig, resultOptions);
Param | Type | Details |
---|---|---|
endpointConfig | string | The URL of the SPARQL endpoint,
or a configuration object as taken by |
resultOptions | Object | Configuration object. The object has the following properties:
|
Get results based on the facet selections and the query template. Use paging if defined in the options.
Param | Type | Details |
---|---|---|
facetSelections | Object | The facet states as broadcast by
|
[orderBy] | string | SPARQL order comparators to use in sorting
the results. Any variables used here have to be present in the
|