congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
OWLDataFactory.getSWRLDataPropertyAtom
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: net.sourceforge.owlapi/owlapi

  public void endElement() throws OWLParserException, UnloadableImportException {
    setAtom(getOWLDataFactory().getSWRLDataPropertyAtom(prop, arg0, arg1));
    getParentHandler().handleChild(this);
  }
}
origin: edu.stanford.protege/org.protege.owl.server

@Override
public Object read(OWLInputStream in) throws IOException {
  OWLDataPropertyExpression property = (OWLDataPropertyExpression) in.read();
  SWRLIArgument arg1 = (SWRLIArgument) in.read();
  SWRLDArgument arg2 = (SWRLDArgument) in.read();
  return in.getOWLDataFactory().getSWRLDataPropertyAtom(property, arg1, arg2);
}
origin: com.github.ansell.owlapi/owlapi-parsers

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

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

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

@Override
public SWRLDataPropertyAtom visit(SWRLDataPropertyAtom node) {
  return df.getSWRLDataPropertyAtom(t(node.getPredicate()), t(node.getFirstArgument()),
          t(node.getSecondArgument()));
}
origin: com.github.ansell.owlapi/owlapi-parsers

final public SWRLDataPropertyAtom DataPropertyAtom() throws ParseException {
  OWLDataProperty prop;
  SWRLIArgument arg0;
  SWRLDArgument arg1;
  jj_consume_token(DATAPROPERTYATOM);
  jj_consume_token(OPENPAR);
  prop = DataPropertyIRI();
  arg0 = IArg();
  arg1 = DArg();
  jj_consume_token(CLOSEPAR);
  return dataFactory.getSWRLDataPropertyAtom(prop, arg0, arg1);
}
origin: net.sourceforge.owlapi/owlapi-distribution

 final public SWRLDataPropertyAtom DataPropertyAtom() throws ParseException {OWLDataProperty prop;
  SWRLIArgument arg0;
  SWRLDArgument arg1;
  jj_consume_token(DATAPROPERTYATOM);
  jj_consume_token(OPENPAR);
  prop = DataPropertyIRI();
  arg0 = IArg();
  arg1 = DArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLDataPropertyAtom(prop, arg0, arg1);
}

origin: net.sourceforge.owlapi/owlapi-distribution

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

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

 final public SWRLDataPropertyAtom DataPropertyAtom() throws ParseException {OWLDataProperty prop;
  SWRLIArgument arg0;
  SWRLDArgument arg1;
  jj_consume_token(DATAPROPERTYATOM);
  jj_consume_token(OPENPAR);
  prop = DataPropertyIRI();
  arg0 = IArg();
  arg1 = DArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLDataPropertyAtom(prop, arg0, arg1);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public SWRLDataPropertyAtom DataPropertyAtom() throws ParseException {OWLDataProperty prop;
  SWRLIArgument arg0;
  SWRLDArgument arg1;
  jj_consume_token(DATAPROPERTYATOM);
  jj_consume_token(OPENPAR);
  prop = DataPropertyIRI();
  arg0 = IArg();
  arg1 = DArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLDataPropertyAtom(prop, arg0, arg1);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

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

 final public SWRLDataPropertyAtom DataPropertyAtom() throws ParseException {OWLDataProperty prop;
  SWRLIArgument arg0;
  SWRLDArgument arg1;
  jj_consume_token(DATAPROPERTYATOM);
  jj_consume_token(OPENPAR);
  prop = DataPropertyIRI();
  arg0 = IArg();
  arg1 = DArg();
  jj_consume_token(CLOSEPAR);
return df.getSWRLDataPropertyAtom(prop, arg0, arg1);
}

origin: owlcs/owlapi

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

@Override
public Object visit(SWRLDataPropertyAtom node) {
  return visit(node, () -> df
    .getSWRLDataPropertyAtom(t(node.getPredicate()), t(node.getFirstArgument()), t(
      node.getSecondArgument())));
}
origin: net.sourceforge.owlapi/owlapi

public SWRLAtom parseDataPropertyAtom() throws ParserException {
  String predicate = consumeToken();
  if (!isDataPropertyName(predicate)) {
    throw createException(false, false, true, false);
  }
  consumeToken("(");
  SWRLIArgument obj1 = parseIObject();
  consumeToken(",");
  SWRLDArgument obj2 = parseDObject();
  consumeToken(")");
  return dataFactory.getSWRLDataPropertyAtom(getOWLDataProperty(predicate), obj1, obj2);
}
origin: owlcs/owlapi

private SWRLAtom parseDataPropertyAtom() {
  String predicate = consumeToken();
  if (!isDataPropertyName(predicate)) {
    throw new ExceptionBuilder().withData().build();
  }
  consumeToken(OPEN.keyword());
  SWRLIArgument obj1 = parseIObject();
  consumeToken(COMMA.keyword());
  SWRLDArgument obj2 = parseDObject();
  consumeToken(CLOSE.keyword());
  return df.getSWRLDataPropertyAtom(getOWLDataProperty(predicate), obj1, obj2);
}
origin: net.sourceforge.owlapi/owlapi-parsers

private SWRLAtom parseDataPropertyAtom() {
  String predicate = consumeToken();
  if (!isDataPropertyName(predicate)) {
    throw new ExceptionBuilder().withData().build();
  }
  consumeToken(OPEN.keyword());
  SWRLIArgument obj1 = parseIObject();
  consumeToken(COMMA.keyword());
  SWRLDArgument obj2 = parseDObject();
  consumeToken(CLOSE.keyword());
  return df.getSWRLDataPropertyAtom(getOWLDataProperty(predicate), obj1, obj2);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

private SWRLAtom parseDataPropertyAtom() {
  String predicate = consumeToken();
  if (!isDataPropertyName(predicate)) {
    throw new ExceptionBuilder().withData().build();
  }
  consumeToken(OPEN.keyword());
  SWRLIArgument obj1 = parseIObject();
  consumeToken(COMMA.keyword());
  SWRLDArgument obj2 = parseDObject();
  consumeToken(CLOSE.keyword());
  return df.getSWRLDataPropertyAtom(getOWLDataProperty(predicate), obj1, obj2);
}
org.semanticweb.owlapi.modelOWLDataFactorygetSWRLDataPropertyAtom

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

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Path (java.nio.file)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • PhpStorm for WordPress
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