Codota Logo
OWLDataFactory.getSWRLDifferentIndividualsAtom
Code IndexAdd Codota 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)

  • Common ways to obtain OWLDataFactory
private void myMethod () {
OWLDataFactory o =
  • Codota IconOWLOntologyManager manager;manager.getOWLDataFactory()
  • Codota IconOWLOntology ontology;ontology.getOWLOntologyManager().getOWLDataFactory()
  • Codota IconOWLManager.getOWLDataFactory()
  • Smart code suggestions by Codota
}
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: owlcs/owlapi

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

  @Override
  public SWRLDifferentIndividualsAtom buildObject() {
    return df
      .getSWRLDifferentIndividualsAtom(verifyNotNull(getArg0()), verifyNotNull(getArg1()));
  }
}
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 visit(SWRLDifferentIndividualsAtom node) {
  return df.getSWRLDifferentIndividualsAtom(get(node.getFirstArgument()),
    get(node.getSecondArgument()));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public SWRLDifferentIndividualsAtom buildObject() {
    return df
      .getSWRLDifferentIndividualsAtom(verifyNotNull(getArg0()), verifyNotNull(getArg1()));
  }
}
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

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Runner (org.openjdk.jmh.runner)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now