Skip to content
Martin Ledvinka edited this page Oct 20, 2022 · 3 revisions

Since 0.19.0

JOPA supports specifying hints for query execution via the Query.setHint method. These hints allow to configure the execution of SPARQL queries. Note that not all query hints are supported by all underlying OntoDrivers. If a hint is not supported by a driver, it is silently ignored by it. If a hint is not recognized at all by JOPA, it is also ignored, but a warning is logged. If an invalid value is provided for a hint, an exception is thrown.

The following table lists the currently supported query hints:

Hint Explanation Support
cz.cvut.kbss.jopa.query.disableInference Allows disabling inference for execution of a query. OntoDriver OWLAPI, RDF4J

See class cz.cvut.kbss.jopa.query.QueryHints for declaration of individual query hints.

Clone this wiki locally