Class ABoxRecomputer


  • public class ABoxRecomputer
    extends Object
    • Constructor Detail

      • ABoxRecomputer

        public ABoxRecomputer​(org.apache.jena.ontology.OntModel tboxModel,
                              org.apache.jena.ontology.OntModel aboxModel,
                              RDFService rdfService,
                              SimpleReasoner simpleReasoner,
                              SearchIndexer searchIndexer)
        Parameters:
        tboxModel - - input. This model contains both asserted and inferred TBox axioms
        aboxModel - - input. This model contains asserted ABox statements
    • Method Detail

      • isRecomputing

        public boolean isRecomputing()
        Returns true if the recomputer is in the process of recomputing all inferences.
      • recompute

        public void recompute()
        Recompute all individuals
      • recompute

        public void recompute​(Queue<String> individualURIs)
        Recompute inferences for specified collection of individual URIs, or all URIs if parameter is null
      • recomputeIndividuals

        protected void recomputeIndividuals​(Queue<String> individuals,
                                            edu.cornell.mannlib.vitro.webapp.reasoner.ABoxRecomputer.TypeCaches caches)
      • getAllIndividualURIs

        protected Queue<String> getAllIndividualURIs()
      • getIndividualURIs

        protected void getIndividualURIs​(String queryString,
                                         Queue<String> individuals)
      • getSameAsIndividuals

        public Set<String> getSameAsIndividuals​(String individualURI)
      • setStopRequested

        public void setStopRequested()
        This is called when the application shuts down.