private AtomIObject createRuleIObject(final Node node) { if (hasObject(node, RDF.type.asNode(), SWRL.Variable.asNode())) return new AtomIVariable(node.getURI()); else { final ATermAppl term = node2term(node); if (defineIndividual(term)) return new AtomIConstant(node2term(node)); else { addUnsupportedFeature("Cannot create rule _individual object for _node " + node); return null; } } }
private AtomIObject createRuleIObject(final Node node) { if (hasObject(node, RDF.type.asNode(), SWRL.Variable.asNode())) return new AtomIVariable(node.getURI()); else { final ATermAppl term = node2term(node); if (defineIndividual(term)) return new AtomIConstant(node2term(node)); else { addUnsupportedFeature("Cannot create rule _individual object for _node " + node); return null; } } }
private AtomIObject createRuleIObject(final Node node) { if (hasObject(node, RDF.type.asNode(), SWRL.Variable.asNode())) return new AtomIVariable(node.getURI()); else { final ATermAppl term = node2term(node); if (defineIndividual(term)) return new AtomIConstant(node2term(node)); else { addUnsupportedFeature("Cannot create rule _individual object for _node " + node); return null; } } }
if (hasObject(atomNode, RDF.type.asNode(), SWRL.ClassAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.IndividualPropertyAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DifferentIndividualsAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.SameIndividualAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DatavaluedPropertyAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.BuiltinAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DataRangeAtom.asNode()))
if (hasObject(atomNode, RDF.type.asNode(), SWRL.ClassAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.IndividualPropertyAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DifferentIndividualsAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.SameIndividualAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DatavaluedPropertyAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.BuiltinAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DataRangeAtom.asNode()))
if (hasObject(atomNode, RDF.type.asNode(), SWRL.ClassAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.IndividualPropertyAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DifferentIndividualsAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.SameIndividualAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DatavaluedPropertyAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.BuiltinAtom.asNode())) if (hasObject(atomNode, RDF.type.asNode(), SWRL.DataRangeAtom.asNode()))