Tabnine Logo
OWLDataFactory.getSWRLDifferentIndividualsAtom
Code IndexAdd Tabnine to your IDE (free)

How to use
getSWRLDifferentIndividualsAtom
method
in
org.semanticweb.owlapi.model.OWLDataFactory

Best Java code snippets using org.semanticweb.owlapi.model.OWLDataFactory.getSWRLDifferentIndividualsAtom (Showing top 20 results out of 315)

origin: owlcs/owlapi

  @Override
  public SWRLDifferentIndividualsAtom buildObject() {
    return df
      .getSWRLDifferentIndividualsAtom(verifyNotNull(getArg0()), verifyNotNull(getArg1()));
  }
}
origin: owlcs/owlapi

@Override
public SWRLDifferentIndividualsAtom visit(SWRLDifferentIndividualsAtom node) {
  return df.getSWRLDifferentIndividualsAtom(t(node.getFirstArgument()),
          t(node.getSecondArgument()));
}
origin: owlcs/owlapi

protected SWRLAtom differentFromAtom(IRI firstObject) {
  SWRLIArgument arg1 = translateSWRLAtomIObject(firstObject, ARGUMENT_1.getIRI());
  SWRLIArgument arg2 = translateSWRLAtomIObject(firstObject, ARGUMENT_2.getIRI());
  return dataFactory.getSWRLDifferentIndividualsAtom(arg1, arg2);
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public SWRLDifferentIndividualsAtom visit(SWRLDifferentIndividualsAtom node) {
  return df.getSWRLDifferentIndividualsAtom(get(node.getFirstArgument()),
    get(node.getSecondArgument()));
}
origin: owlcs/owlapi

@Override
public SWRLDifferentIndividualsAtom visit(SWRLDifferentIndividualsAtom node) {
  return df.getSWRLDifferentIndividualsAtom(get(node.getFirstArgument()),
    get(node.getSecondArgument()));
}
origin: com.github.ansell.owlapi/owlapi-parsers

  @Override
  public void endElement() throws OWLParserException, UnloadableImportException {
    setAtom(getOWLDataFactory().getSWRLDifferentIndividualsAtom(arg0, arg1));
    getParentHandler().handleChild(this);
  }
}
origin: net.sourceforge.owlapi/owlapi

  public void endElement() throws OWLParserException, UnloadableImportException {
    setAtom(getOWLDataFactory().getSWRLDifferentIndividualsAtom(arg0, arg1));
    getParentHandler().handleChild(this);
  }
}
origin: owlcs/owlapi

@Override
public void visit(SWRLDifferentIndividualsAtom node) {
  obj = df.getSWRLDifferentIndividualsAtom(dup(node.getFirstArgument()),
    dup(node.getSecondArgument()));
}
origin: net.sourceforge.owlapi/owlapi-distribution

  @Override
  public SWRLDifferentIndividualsAtom buildObject() {
    return df
      .getSWRLDifferentIndividualsAtom(verifyNotNull(getArg0()), verifyNotNull(getArg1()));
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

protected SWRLAtom differentFromAtom(IRI firstObject) {
  SWRLIArgument arg1 = translateSWRLAtomIObject(firstObject, ARGUMENT_1.getIRI());
  SWRLIArgument arg2 = translateSWRLAtomIObject(firstObject, ARGUMENT_2.getIRI());
  return dataFactory.getSWRLDifferentIndividualsAtom(arg1, arg2);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public SWRLDifferentIndividualsAtom buildObject() {
    return df
      .getSWRLDifferentIndividualsAtom(verifyNotNull(getArg0()), verifyNotNull(getArg1()));
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public SWRLDifferentIndividualsAtom visit(SWRLDifferentIndividualsAtom node) {
  return df.getSWRLDifferentIndividualsAtom(get(node.getFirstArgument()),
    get(node.getSecondArgument()));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

protected SWRLAtom differentFromAtom(IRI firstObject) {
  SWRLIArgument arg1 = translateSWRLAtomIObject(firstObject, ARGUMENT_1.getIRI());
  SWRLIArgument arg2 = translateSWRLAtomIObject(firstObject, ARGUMENT_2.getIRI());
  return dataFactory.getSWRLDifferentIndividualsAtom(arg1, arg2);
}
origin: owlcs/owlapi

 final public SWRLDifferentIndividualsAtom DifferentIndividualsAtom() throws ParseException {SWRLIArgument arg0;
  SWRLIArgument arg1;
  jj_consume_token(DIFFERENTINDIVIDUALSATOM);
  jj_consume_token(OPENPAR);
  arg0 = IArg();
  arg1 = IArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLDifferentIndividualsAtom(arg0, arg1);
}

origin: owlcs/owlapi

@Override
public Object visit(SWRLDifferentIndividualsAtom node) {
  return visit(node,
    () -> df.getSWRLDifferentIndividualsAtom(t(node.getFirstArgument()), t(node
      .getSecondArgument())));
}
origin: net.sourceforge.owlapi/org.semanticweb.hermit

@Override
public void visit(SWRLDifferentIndividualsAtom at) {
  if (m_isPositive)
    m_normalizedHeadAtoms.add(m_factory.getSWRLDifferentIndividualsAtom(getVariableFor(at.getFirstArgument()),getVariableFor(at.getSecondArgument())));
  else
    m_normalizedHeadAtoms.add(m_factory.getSWRLSameIndividualAtom(getVariableFor(at.getFirstArgument()),getVariableFor(at.getSecondArgument())));
}
@Override
origin: net.sourceforge.owlapi/owlapi

final public SWRLDifferentIndividualsAtom DifferentIndividualsAtom() throws ParseException {
 SWRLIArgument arg0;
 SWRLIArgument arg1;
 jj_consume_token(DIFFERENTINDIVIDUALSATOM);
 jj_consume_token(OPENPAR);
 arg0 = IArg();
 arg1 = IArg();
 jj_consume_token(CLOSEPAR);
                                      {if (true) return dataFactory.getSWRLDifferentIndividualsAtom(arg0, arg1);}
 throw new Error("Missing return statement in function");
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public SWRLDifferentIndividualsAtom DifferentIndividualsAtom() throws ParseException {SWRLIArgument arg0;
  SWRLIArgument arg1;
  jj_consume_token(DIFFERENTINDIVIDUALSATOM);
  jj_consume_token(OPENPAR);
  arg0 = IArg();
  arg1 = IArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLDifferentIndividualsAtom(arg0, arg1);
}

origin: owlcs/owlapi

private SWRLDifferentIndividualsAtom parseDifferentFromAtom() {
  consumeToken(ManchesterOWLSyntax.DIFFERENT_FROM.toString());
  consumeToken(OPEN.keyword());
  SWRLIArgument obj1 = parseIObject();
  consumeToken(COMMA.keyword());
  SWRLIArgument obj2 = parseIObject();
  consumeToken(CLOSE.keyword());
  return df.getSWRLDifferentIndividualsAtom(obj1, obj2);
}
origin: net.sourceforge.owlapi/owlapi-distribution

private SWRLDifferentIndividualsAtom parseDifferentFromAtom() {
  consumeToken(ManchesterOWLSyntax.DIFFERENT_FROM.toString());
  consumeToken(OPEN.keyword());
  SWRLIArgument obj1 = parseIObject();
  consumeToken(COMMA.keyword());
  SWRLIArgument obj2 = parseIObject();
  consumeToken(CLOSE.keyword());
  return df.getSWRLDifferentIndividualsAtom(obj1, obj2);
}
org.semanticweb.owlapi.modelOWLDataFactorygetSWRLDifferentIndividualsAtom

Popular methods of OWLDataFactory

  • getOWLClass
    Gets an OWL class that has the specified IRI
  • getOWLNamedIndividual
    Gets an OWL individual that has the specified IRI
  • getOWLObjectProperty
    Gets an OWL object property that has the specified IRI
  • getOWLSubClassOfAxiom
  • getOWLClassAssertionAxiom
  • getOWLDataProperty
    Gets an OWL data property that has the specified IRI
  • getOWLThing
    Gets the built in owl:Thing class, which has a URI of
  • getOWLAnnotationProperty
    Gets an OWLAnnotationProperty that has the specified IRI
  • getOWLLiteral
    Convenience method that obtains a literal typed as a boolean.
  • getOWLDeclarationAxiom
    Gets a declaration with zero or more annotations for an entity
  • getOWLObjectIntersectionOf
  • getOWLEquivalentClassesAxiom
  • getOWLObjectIntersectionOf,
  • getOWLEquivalentClassesAxiom,
  • getOWLObjectSomeValuesFrom,
  • getOWLNothing,
  • getOWLObjectComplementOf,
  • getOWLObjectPropertyAssertionAxiom,
  • getOWLAnnotationAssertionAxiom,
  • getOWLDataPropertyAssertionAxiom,
  • getOWLDatatype,
  • getOWLAnnotation

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Path (java.nio.file)
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now