congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
OWLDataFactory.getSWRLObjectPropertyAtom
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.github.ansell.owlapi/owlapi-parsers

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

@Override
public void visit(SWRLObjectPropertyAtom node) {
  obj = df.getSWRLObjectPropertyAtom(dup(node.getPredicate()), dup(node.getFirstArgument()),
    dup(node
      .getSecondArgument()));
}
origin: net.sourceforge.owlapi/owlapi-parsers

 final public SWRLObjectPropertyAtom ObjectPropertyAtom() throws ParseException {OWLObjectPropertyExpression prop;
  SWRLIArgument arg0;
  SWRLIArgument arg1;
  jj_consume_token(OBJECTPROPERTYATOM);
  jj_consume_token(OPENPAR);
  prop = ObjectPropertyExpression();
  arg0 = IArg();
  arg1 = IArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLObjectPropertyAtom(prop, arg0, arg1);
}

origin: owlcs/owlapi

@Override
public SWRLObjectPropertyAtom visit(SWRLObjectPropertyAtom node) {
  return df.getSWRLObjectPropertyAtom(t(node.getPredicate()), t(node.getFirstArgument()),
          t(node.getSecondArgument()));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(SWRLObjectPropertyAtom node) {
  obj = df.getSWRLObjectPropertyAtom(dup(node.getPredicate()), dup(node.getFirstArgument()),
    dup(node
      .getSecondArgument()));
}
origin: net.sourceforge.owlapi/owlapi

public void visit(SWRLObjectPropertyAtom node) {
  node.getPredicate().accept(this);
  OWLObjectPropertyExpression exp = (OWLObjectPropertyExpression) obj;
  node.getFirstArgument().accept(this);
  SWRLIArgument arg0 = (SWRLIArgument) obj;
  node.getSecondArgument().accept(this);
  SWRLIArgument arg1 = (SWRLIArgument) obj;
  obj = dataFactory.getSWRLObjectPropertyAtom(exp, arg0, arg1);
}
origin: owlcs/owlapi

@Override
public void visit(SWRLObjectPropertyAtom node) {
  obj = df.getSWRLObjectPropertyAtom(dup(node.getPredicate()), dup(node.getFirstArgument()),
    dup(node
      .getSecondArgument()));
}
origin: owlcs/owlapi

@Override
public SWRLObjectPropertyAtom visit(SWRLObjectPropertyAtom node) {
  return df.getSWRLObjectPropertyAtom(get(node.getPredicate()), get(node.getFirstArgument()),
    get(node
      .getSecondArgument()));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public SWRLObjectPropertyAtom visit(SWRLObjectPropertyAtom node) {
  return df.getSWRLObjectPropertyAtom(t(node.getPredicate()), t(node.getFirstArgument()),
          t(node.getSecondArgument()));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public SWRLObjectPropertyAtom visit(SWRLObjectPropertyAtom node) {
  return df.getSWRLObjectPropertyAtom(get(node.getPredicate()), get(node.getFirstArgument()),
    get(node
      .getSecondArgument()));
}
origin: protegeproject/swrlapi

@NonNull public SWRLObjectPropertyAtom createSWRLObjectPropertyAtom(@NonNull String objectPropertyShortName,
 @NonNull SWRLIArgument iArgument1, @NonNull SWRLIArgument iArgument2) throws SWRLParseException
{
 OWLObjectProperty objectProperty = createOWLObjectProperty(objectPropertyShortName);
 return getOWLDataFactory().getSWRLObjectPropertyAtom(objectProperty, iArgument1, iArgument2);
}
origin: owlcs/owlapi

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

 final public SWRLObjectPropertyAtom ObjectPropertyAtom() throws ParseException {OWLObjectPropertyExpression prop;
  SWRLIArgument arg0;
  SWRLIArgument arg1;
  jj_consume_token(OBJECTPROPERTYATOM);
  jj_consume_token(OPENPAR);
  prop = ObjectPropertyExpression();
  arg0 = IArg();
  arg1 = IArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLObjectPropertyAtom(prop, arg0, arg1);
}

origin: net.sourceforge.owlapi/owlapi-distribution

 final public SWRLObjectPropertyAtom ObjectPropertyAtom() throws ParseException {OWLObjectPropertyExpression prop;
  SWRLIArgument arg0;
  SWRLIArgument arg1;
  jj_consume_token(OBJECTPROPERTYATOM);
  jj_consume_token(OPENPAR);
  prop = ObjectPropertyExpression();
  arg0 = IArg();
  arg1 = IArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLObjectPropertyAtom(prop, arg0, arg1);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

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

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

@Override
public Object visit(SWRLObjectPropertyAtom node) {
  return visit(node, () -> df
    .getSWRLObjectPropertyAtom(t(node.getPredicate()), t(node.getFirstArgument()), t(
      node.getSecondArgument())));
}
origin: owlcs/owlapi

private SWRLAtom parseObjectPropertyAtom() {
  String predicate = consumeToken();
  if (!isObjectPropertyName(predicate)) {
    throw new ExceptionBuilder().withObject().build();
  }
  consumeToken(OPEN.keyword());
  SWRLIArgument obj1 = parseIObject();
  consumeToken(COMMA.keyword());
  SWRLIArgument obj2 = parseIObject();
  consumeToken(CLOSE.keyword());
  return df.getSWRLObjectPropertyAtom(getOWLObjectProperty(predicate), obj1, obj2);
}
origin: net.sourceforge.owlapi/owlapi-parsers

private SWRLAtom parseObjectPropertyAtom() {
  String predicate = consumeToken();
  if (!isObjectPropertyName(predicate)) {
    throw new ExceptionBuilder().withObject().build();
  }
  consumeToken(OPEN.keyword());
  SWRLIArgument obj1 = parseIObject();
  consumeToken(COMMA.keyword());
  SWRLIArgument obj2 = parseIObject();
  consumeToken(CLOSE.keyword());
  return df.getSWRLObjectPropertyAtom(getOWLObjectProperty(predicate), obj1, obj2);
}
origin: net.sourceforge.owlapi/owlapi-distribution

private SWRLAtom parseObjectPropertyAtom() {
  String predicate = consumeToken();
  if (!isObjectPropertyName(predicate)) {
    throw new ExceptionBuilder().withObject().build();
  }
  consumeToken(OPEN.keyword());
  SWRLIArgument obj1 = parseIObject();
  consumeToken(COMMA.keyword());
  SWRLIArgument obj2 = parseIObject();
  consumeToken(CLOSE.keyword());
  return df.getSWRLObjectPropertyAtom(getOWLObjectProperty(predicate), obj1, obj2);
}
org.semanticweb.owlapi.modelOWLDataFactorygetSWRLObjectPropertyAtom

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

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Join (org.hibernate.mapping)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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