> On Mar 10, 2017, at 11:05 AM, Dave Reynolds <dave.e.reyno...@gmail.com> wrote: > >> And how do I >> perform inference over a bit of data and then persist it? > > An inference model appears to the API as just another Model so can use > Model.add to copy all the inference-closure of a model back to a separate > TDB-backed Model. > > If you only actually need certain entailments then it is sometimes possible > to use selective queries that return the results of those entailments use the > results of those to record the entailments as more triples in a persistent > model. This is highly application dependent.
Just as a side-note here, SPARQL property paths are really useful for this kind of "targeted inference". You can duplicate a lot of subsumption rules and the like with property paths. --- A. Soroka The University of Virginia Library