public class ABoxRecomputer extends Object
| Constructor and Description |
|---|
ABoxRecomputer(org.apache.jena.ontology.OntModel tboxModel,
org.apache.jena.ontology.OntModel aboxModel,
RDFService rdfService,
SimpleReasoner simpleReasoner,
SearchIndexer searchIndexer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInferenceStatementsFor(String individualUri,
org.apache.jena.rdf.model.Model addTo) |
protected Queue<String> |
getAllIndividualURIs() |
protected void |
getIndividualURIs(String queryString,
Queue<String> individuals) |
Set<String> |
getSameAsIndividuals(String individualURI) |
boolean |
isRecomputing()
Returns true if the recomputer is in the process of recomputing
all inferences.
|
void |
recompute()
Recompute all individuals
|
void |
recompute(Queue<String> individualURIs)
Recompute inferences for specified collection of individual URIs,
or all URIs if parameter is null
|
protected void |
recomputeIndividuals(Queue<String> individuals,
edu.cornell.mannlib.vitro.webapp.reasoner.ABoxRecomputer.TypeCaches caches) |
void |
setStopRequested()
This is called when the application shuts down.
|
protected void |
updateInferenceModel(org.apache.jena.rdf.model.Model rebuildModel,
Collection<String> individuals) |
public ABoxRecomputer(org.apache.jena.ontology.OntModel tboxModel,
org.apache.jena.ontology.OntModel aboxModel,
RDFService rdfService,
SimpleReasoner simpleReasoner,
SearchIndexer searchIndexer)
tboxModel - - input. This model contains both asserted and inferred TBox axiomsaboxModel - - input. This model contains asserted ABox statementspublic boolean isRecomputing()
public void recompute()
public void recompute(Queue<String> individualURIs)
protected void recomputeIndividuals(Queue<String> individuals, edu.cornell.mannlib.vitro.webapp.reasoner.ABoxRecomputer.TypeCaches caches)
protected void addInferenceStatementsFor(String individualUri, org.apache.jena.rdf.model.Model addTo) throws RDFServiceException
RDFServiceExceptionprotected void updateInferenceModel(org.apache.jena.rdf.model.Model rebuildModel,
Collection<String> individuals)
throws RDFServiceException
RDFServiceExceptionpublic void setStopRequested()
Copyright © 2022. All rights reserved.