|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.swrl.bridge.builtins.SWRLBuiltInLibrary
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.abox.SWRLBuiltInLibraryImpl
public class SWRLBuiltInLibraryImpl
Implementations library for SWRL ABox built-in methods. See here for documentation on this library. See here for documentation on defining SWRL built-in libraries.
Constructor Summary | |
---|---|
SWRLBuiltInLibraryImpl()
|
Method Summary | |
---|---|
boolean |
hasClass(List<Argument> arguments)
Returns true if the individual named by the first argument is an instance of the class identified by the second argument. |
boolean |
hasInstance(List<Argument> arguments)
Returns true if the class named by the first argument has an individual identified by the second argument. |
boolean |
hasNumberOfIndividuals(List<Argument> arguments)
Returns true if the class named by the second argument has the number of individuals specified by the first argument. |
boolean |
hasNumberOfPropertyValues(List<Argument> arguments)
Returns true if the individual named by the second argument has the number of values specified by the first argument for the property named by the third argument. |
boolean |
hasProperty(List<Argument> arguments)
Returns true if the individual named by the first argument has at least one value for the property named by the second parameter. |
boolean |
hasURI(List<Argument> arguments)
Returns true if the OWL class, property, or individual named by the first argument has a URI identified by the second argument. |
boolean |
isIndividual(List<Argument> arguments)
Determine if a single argument is an OWL individual. |
void |
reset()
|
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.bridge.builtins.SWRLBuiltInLibrary |
---|
getInvokingBridge, getInvokingBuiltInIndex, getInvokingRuleName, getLibraryName, invokeBuiltInMethod, invokeResetMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SWRLBuiltInLibraryImpl()
Method Detail |
---|
public void reset()
reset
in class SWRLBuiltInLibrary
public boolean isIndividual(List<Argument> arguments) throws BuiltInException
BuiltInException
public boolean hasProperty(List<Argument> arguments) throws BuiltInException
BuiltInException
public boolean hasNumberOfPropertyValues(List<Argument> arguments) throws BuiltInException
BuiltInException
public boolean hasInstance(List<Argument> arguments) throws BuiltInException
BuiltInException
public boolean hasURI(List<Argument> arguments) throws BuiltInException
BuiltInException
public boolean hasClass(List<Argument> arguments) throws BuiltInException
BuiltInException
public boolean hasNumberOfIndividuals(List<Argument> arguments) throws BuiltInException
BuiltInException
|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |