Search Service Examples
Initial Search Without Any Facet Enabled
Issue a post request with an empty JSON object will trigger the default search action for the 10 most recent documents without facet information.
|
This is the default behavior of the default Graph Search Web UI when a user logs in. 10 most recent documents are retrieved with all facets enabled and configured by the thesaurus project. By including identifiers of facets into "facets"
field, facet information of the search result will also be returned for the requested facets.
|
|
Number of search results per page and pagination can be configured via "start"
and "count"
, which is equivalent to the concept of "offset"
and "limit"
in SQL and SPARQL. The following request retrieves 5 documents after 15 preceding matching documents.
|
|
A user may choose a facet member from the facet list of the previous search result to further refine his search result to include at least the selected facet member. The following search request will retrieve documents which have at least the concept of "Vodka" represented by URI http://vocabulary.semantic-web.at/cocktails/22df810d-e509-4da8-979c-0758e94de3e6 mentioned.
|
|