congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Start an intent from android
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • String (java.lang)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • 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