Sole event stream used in this library. Facets and API emit their events there and listen for other events.
True if this class is currently fetching results.
Language used for filtering right labels for facets. Should be the same as used in baseQuery.
Last fetched results;
SPARQL Generator used to stringify {@link Query} structure to text query. prefixes passed to constructor of this class are used in this generator.
SPARQL Parser used for parsing text SPARQL queries to {@link Query} structure. prefixes passed to constructor of this class are passed used in this parser.
Stringifies provided {@link query} and uses it to fetch bindings using fetcher.
used for fetching bindings
promise of readable stream of fetched bindings
Used to get API and all active facet constraints. Optionally, all active facets except facet of provided facetId.
facet id of facet which should not be accounted in returned constraints.
Initiates new search with provided searchPattern. Resets all facet states and returns new results via fetchResults.
?_label variable in baseQuery has to contain this search pattern
Promise containing the Results
Generated using TypeDoc
Class representing whole facet search API. It is the core class of this library.