| Constructor and Description |
|---|
DefaultOntology() |
DefaultOntology(CloseableIterator<Object> parser) |
DefaultOntology(RuleSet rules) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Rule rule) |
boolean |
addAll(CloseableIterator<Rule> ruleIterator) |
boolean |
addAll(Iterator<Rule> ruleIterator) |
boolean |
contains(Rule rule) |
NegativeConstraint |
getNegativeConstraint(String name) |
Set<String> |
getNegativeConstraintNames() |
Rule |
getRule(String name) |
Set<String> |
getRuleNames() |
Set<Predicate> |
getVocabulary() |
boolean |
isEmpty() |
Iterator<Rule> |
iterator() |
boolean |
remove(Rule rule) |
boolean |
removeAll(CloseableIterator<Rule> ruleIterator) |
boolean |
removeAll(Iterator<Rule> ruleIterator) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DefaultOntology()
public DefaultOntology(RuleSet rules)
public DefaultOntology(CloseableIterator<Object> parser) throws RuleSetException
RuleSetExceptionpublic Set<String> getRuleNames()
getRuleNames in interface Ontologypublic Set<String> getNegativeConstraintNames()
getNegativeConstraintNames in interface Ontologypublic NegativeConstraint getNegativeConstraint(String name)
getNegativeConstraint in interface Ontologypublic boolean add(Rule rule)
public boolean addAll(CloseableIterator<Rule> ruleIterator) throws RuleSetException
addAll in interface OntologyaddAll in interface RuleSetRuleSetExceptionpublic boolean remove(Rule rule)
public boolean removeAll(CloseableIterator<Rule> ruleIterator) throws RuleSetException
removeAll in interface OntologyremoveAll in interface RuleSetRuleSetExceptionpublic boolean contains(Rule rule)
public int size()
public Set<Predicate> getVocabulary()
getVocabulary in interface Ontologypublic boolean isEmpty()
isEmpty in interface ImmutableRuleSetisEmpty in interface RuleSetCopyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.