podd / podd-redesign

The redesigned PODD
http://podd.plantphenomics.org.au/podd/
GNU Affero General Public License v3.0
3 stars 4 forks source link

Deprecate versionAndInferredAndSchemaContexts #145

Closed ansell closed 7 years ago

ansell commented 10 years ago

In order to flexibly use Stardog and OWLIM as backends we need to support the includeInferred flag in the OpenRDF RepositoryConnection API. We currently ignore it or set it inconsistently, and rely on versionAndInferredAndSchemaContexts and similar methods in PoddSesameManager.

We need to refactor these methods so that they pass in an Enum that says what to expect, and then the database can decide whether to use "includeInferred" or another method.