@Override public Graph getSchemaGraph() { return ((PelletReasoner) getReasoner()).getSchema(); }
/** * {@inheritDoc} */ @Override protected void addSubclassRule(final ATermAppl sub, final ATermAppl sup) { addSubclassRule(sub, sup, new FreeVariableStore()); }
private Triple makeSubclassFact(final ATermAppl t1, final ATermAppl t2) { return makeSubclassFact(_names.get(t1), _names.get(t2)); }
public JenaBasedELClassifier(final KnowledgeBase kb) { super(kb); _names = new NameStore(); _variables = new VariableStore(); _facts = GraphFactory.createDefaultGraph(); TOP = _names.get(ATermUtils.TOP); BOTTOM = _names.get(ATermUtils.BOTTOM); makeRuleAxioms(); }
public PelletReasoner create() { return new PelletReasoner(getCapabilities()); }
private TriplePattern makeSubOfSomeTriple(final Node t1, final ATermAppl p, final Node t2) { return makeSubOfSomeTriple(t1, _names.get(p), t2); }
/** * {@inheritDoc} */ @Override public void load() { _pellet.prepare(false); }
public JenaBasedELClassifier(final KnowledgeBase kb) { super(kb); _names = new NameStore(); _variables = new VariableStore(); _facts = GraphFactory.createDefaultGraph(); TOP = _names.get(ATermUtils.TOP); BOTTOM = _names.get(ATermUtils.BOTTOM); makeRuleAxioms(); }
public PelletReasoner create() { return new PelletReasoner(getCapabilities()); }
@Override public Graph getSchemaGraph() { return ((PelletReasoner) getReasoner()).getSchema(); }
/** * {@inheritDoc} */ @Override protected void addSubclassRule(final ATermAppl sub, final ATermAppl sup) { addSubclassRule(sub, sup, new FreeVariableStore()); }
private Triple makeSubclassFact(final ATermAppl t1, final ATermAppl t2) { return makeSubclassFact(_names.get(t1), _names.get(t2)); }
private TriplePattern makeSubOfSomeTriple(final Node t1, final ATermAppl p, final Node t2) { return makeSubOfSomeTriple(t1, _names.get(p), t2); }
public JenaBasedELClassifier(final KnowledgeBase kb) { super(kb); _names = new NameStore(); _variables = new VariableStore(); _facts = GraphFactory.createDefaultGraph(); TOP = _names.get(ATermUtils.TOP); BOTTOM = _names.get(ATermUtils.BOTTOM); makeRuleAxioms(); }
public PelletReasoner create() { return new PelletReasoner(getCapabilities()); }
@Override public Graph getSchemaGraph() { return ((PelletReasoner) getReasoner()).getSchema(); }
/** * {@inheritDoc} */ @Override protected void addSubclassRule(final ATermAppl sub, final ATermAppl sup) { addSubclassRule(sub, sup, new FreeVariableStore()); }
private Triple makeSubclassFact(final ATermAppl t1, final ATermAppl t2) { return makeSubclassFact(_names.get(t1), _names.get(t2)); }
private TriplePattern makeSubOfSomeTriple(final Node t1, final ATermAppl p, final Node t2) { return makeSubOfSomeTriple(t1, _names.get(p), t2); }