Class SimplePropertyAndTypeRule
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.reasoner.plugin.SimplePropertyAndTypeRule
-
- All Implemented Interfaces:
ReasonerPlugin
public abstract class SimplePropertyAndTypeRule extends Object implements ReasonerPlugin
handles rules of the form assertedProp(?x, ?y) ^ type(?x) -> inferredProp(?x, ?y)- Author:
- bjl23
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimplePropertyAndTypeRule(String assertedProp, String type, String inferredProp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddedABoxStatement(org.apache.jena.rdf.model.Statement stmt, org.apache.jena.rdf.model.Model aboxAssertionsModel, org.apache.jena.rdf.model.Model aboxInferencesModel, org.apache.jena.ontology.OntModel TBoxInferencesModel)SimpleReasonergetSimpleReasoner()booleanisConfigurationOnlyPlugin()booleanisInterestedInAddedStatement(org.apache.jena.rdf.model.Statement stmt)booleanisInterestedInRemovedStatement(org.apache.jena.rdf.model.Statement stmt)voidremovedABoxStatement(org.apache.jena.rdf.model.Statement stmt, org.apache.jena.rdf.model.Model aboxAssertionsModel, org.apache.jena.rdf.model.Model aboxInferencesModel, org.apache.jena.ontology.OntModel TBoxInferencesModel)voidsetSimpleReasoner(SimpleReasoner simpleReasoner)
-
-
-
Method Detail
-
isConfigurationOnlyPlugin
public boolean isConfigurationOnlyPlugin()
- Specified by:
isConfigurationOnlyPluginin interfaceReasonerPlugin
-
isInterestedInAddedStatement
public boolean isInterestedInAddedStatement(org.apache.jena.rdf.model.Statement stmt)
- Specified by:
isInterestedInAddedStatementin interfaceReasonerPlugin
-
isInterestedInRemovedStatement
public boolean isInterestedInRemovedStatement(org.apache.jena.rdf.model.Statement stmt)
- Specified by:
isInterestedInRemovedStatementin interfaceReasonerPlugin
-
addedABoxStatement
public void addedABoxStatement(org.apache.jena.rdf.model.Statement stmt, org.apache.jena.rdf.model.Model aboxAssertionsModel, org.apache.jena.rdf.model.Model aboxInferencesModel, org.apache.jena.ontology.OntModel TBoxInferencesModel)- Specified by:
addedABoxStatementin interfaceReasonerPlugin
-
removedABoxStatement
public void removedABoxStatement(org.apache.jena.rdf.model.Statement stmt, org.apache.jena.rdf.model.Model aboxAssertionsModel, org.apache.jena.rdf.model.Model aboxInferencesModel, org.apache.jena.ontology.OntModel TBoxInferencesModel)- Specified by:
removedABoxStatementin interfaceReasonerPlugin
-
setSimpleReasoner
public void setSimpleReasoner(SimpleReasoner simpleReasoner)
- Specified by:
setSimpleReasonerin interfaceReasonerPlugin
-
getSimpleReasoner
public SimpleReasoner getSimpleReasoner()
- Specified by:
getSimpleReasonerin interfaceReasonerPlugin
-
-