- Common ways to obtain TriplePattern
private void myMethod () {TriplePattern t =
Node subject;Node predicate;Node object;new TriplePattern(subject, predicate, object)
- Smart code suggestions by Codota
}
ClauseEntry axiom = rule.getHeadElement(j); if (axiom instanceof TriplePattern) { axioms.add(((TriplePattern)axiom).asTriple()); } else if (axiom instanceof Functor) { if (contextForBuiltins == null) {
if (head instanceof TriplePattern) { TriplePattern h = (TriplePattern) head; transitiveEngine.add(h.asTriple());