public override object Visit(SwrlDifferentFrom e) { var inst = e.I.accept(this) as org.apache.jena.graph.Node; var jnst = e.J.accept(this) as org.apache.jena.graph.Node; AddIfNotExists(inst, org.apache.jena.vocabulary.OWL2.differentFrom.asNode(), jnst); if (!swrlOnly) { AddIfNotExists(inst, org.apache.jena.vocabulary.RDF.type.asNode(), org.apache.jena.vocabulary.OWL2.Thing.asNode()); AddIfNotExists(inst, org.apache.jena.vocabulary.RDF.type.asNode(), org.apache.jena.vocabulary.OWL2.NamedIndividual.asNode()); AddIfNotExists(jnst, org.apache.jena.vocabulary.RDF.type.asNode(), org.apache.jena.vocabulary.OWL2.Thing.asNode()); AddIfNotExists(jnst, org.apache.jena.vocabulary.RDF.type.asNode(), org.apache.jena.vocabulary.OWL2.NamedIndividual.asNode()); } return(null); }
public override object Visit(SwrlDifferentFrom e) { var inst = e.I.accept(this); var jnst = e.J.accept(this); if (inSwrlBody) { sb.Append("notEqual("); sb.Append(inst); sb.Append(","); sb.Append(jnst); sb.Append(")"); } else { sb.Append("("); sb.Append(inst); sb.Append(", owl:differentFrom, "); sb.Append(jnst); sb.Append(")"); if (!swrlOnly) { sb.Append("("); sb.Append(inst); sb.Append(" rdf:type "); sb.Append("owl:NamedIndividual"); sb.Append(")"); sb.Append("("); sb.Append(jnst); sb.Append(" rdf:type "); sb.Append("owl:NamedIndividual"); sb.Append(")"); } } return(null); }
public virtual object Visit(SwrlDifferentFrom e) { e.I.accept(this); e.J.accept(this); return(e); }
public override object Visit(SwrlDifferentFrom e) { e.I.accept(this); e.J.accept(this); return(e); }
public object Visit(SwrlDifferentFrom e) { return(CreateNull()); }
public override object Visit(SwrlDifferentFrom e) { return(base.Visit(e)); }