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

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

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

origin: net.sourceforge.owlapi/owlapi-distribution

public static OWLDataPropertyRangeAxiom DataPropertyRange(OWLDataPropertyExpression property,
  OWLDataRange range,
  Collection<OWLAnnotation> a) {
  return DF.getOWLDataPropertyRangeAxiom(property, range, a);
}
origin: owlcs/owlapi

  @Override
  public OWLDataPropertyRangeAxiom buildObject() {
    return df.getOWLDataPropertyRangeAxiom(getProperty(), getDataRange(), annotations);
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public OWLDataPropertyRangeAxiom buildObject() {
    return df.getOWLDataPropertyRangeAxiom(getProperty(), getDataRange(), annotations);
  }
}
origin: net.sourceforge.owlapi/owlapi-fixers

  @Override
  public OWLDataPropertyRangeAxiom buildObject() {
    return df.getOWLDataPropertyRangeAxiom(getProperty(), getDataRange(), annotations);
  }
}
origin: owlcs/owlapi

@Override
public OWLAxiom visit(OWLDataPropertyRangeAxiom axiom) {
  return df.getOWLDataPropertyRangeAxiom(axiom.getProperty(),
    axiom.getRange().accept(dataVisitor));
}
origin: owlcs/owlapi

@Override
public OWLAxiom visit(OWLDataPropertyRangeAxiom axiom) {
  OWLDataRange range = axiom.getRange();
  OWLDataRange newRange = range.accept(rangeVisitor);
  if (range.equals(newRange)) {
    return axiom;
  }
  return df.getOWLDataPropertyRangeAxiom(axiom.getProperty(), newRange,
    getAnnotationsWithOptionalExpansionMarker(
      axiom));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLAxiom visit(OWLDataPropertyRangeAxiom axiom) {
  return df.getOWLDataPropertyRangeAxiom(axiom.getProperty(),
    axiom.getRange().accept(dataVisitor));
}
origin: net.sourceforge.owlapi/owlapi

public OWLDataPropertyRangeAxiom getAxiomWithoutAnnotations() {
  if(!isAnnotated()) {
    return this;
  }
  return getOWLDataFactory().getOWLDataPropertyRangeAxiom(getProperty(), getRange());
}
origin: owlcs/owlapi

@Override
public OWLDataPropertyRangeAxiom visit(OWLDataPropertyRangeAxiom axiom) {
  return df.getOWLDataPropertyRangeAxiom(get(axiom.getProperty()), get(axiom.getRange()),
    anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi-distribution

private void translateAsDataPropertyRange(IRI s, IRI p, IRI o) {
  OWLDataPropertyExpression property = dp(s);
  OWLDataRange dataRange = dr(o);
  add(df.getOWLDataPropertyRangeAxiom(property, dataRange, anns()));
  consume(s, p, o);
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLDataPropertyRangeAxiom visit(OWLDataPropertyRangeAxiom axiom) {
  return df.getOWLDataPropertyRangeAxiom(get(axiom.getProperty()), get(axiom.getRange()),
    anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi

public void visit(OWLDataPropertyRangeAxiom axiom) {
  axiom.getProperty().accept(this);
  OWLDataPropertyExpression prop = (OWLDataPropertyExpression) obj;
  axiom.getRange().accept(this);
  OWLDataRange range = (OWLDataRange) obj;
  obj = dataFactory.getOWLDataPropertyRangeAxiom(prop, range, duplicateAxiomAnnotations(axiom));
}
origin: owlcs/owlapi

 final public OWLPropertyAxiom DataPropertyRange() throws ParseException {OWLDataPropertyExpression prop;
  OWLDataRange rng;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DATAPROPERTYRANGE);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = DataPropertyExpression();
  rng = DataRange();
  jj_consume_token(CLOSEPAR);
return df.getOWLDataPropertyRangeAxiom(prop, rng, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLPropertyAxiom DataPropertyRange() throws ParseException {OWLDataPropertyExpression prop;
  OWLDataRange rng;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DATAPROPERTYRANGE);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = DataPropertyExpression();
  rng = DataRange();
  jj_consume_token(CLOSEPAR);
return df.getOWLDataPropertyRangeAxiom(prop, rng, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public OWLPropertyAxiom DataPropertyRange() throws ParseException {OWLDataPropertyExpression prop;
  OWLDataRange rng;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DATAPROPERTYRANGE);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = DataPropertyExpression();
  rng = DataRange();
  jj_consume_token(CLOSEPAR);
return df.getOWLDataPropertyRangeAxiom(prop, rng, axiomAnnos);
}

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

private void translateAsDataPropertyRange(IRI subject, IRI predicate, IRI object) {
  OWLDataPropertyExpression property = translateDataProperty(subject);
  OWLDataRange dataRange = translateDataRange(object);
  addAxiom(getDataFactory().getOWLDataPropertyRangeAxiom(property, dataRange, getPendingAnnotations()));
  consumeTriple(subject, predicate, object);
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public Object visit(OWLDataPropertyRangeAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLDataPropertyRangeAxiom(t(axiom.getProperty()), t(axiom.getRange()),
      t(axiom.annotations())));
}
origin: net.sourceforge.owlapi/owlapi

  protected OWLAxiom createAxiom() throws OWLXMLParserException {
    if (property == null) {
      throw new OWLXMLParserElementNotFoundException(getLineNumber(), getColumnNumber(), "data property element");
    }
    if (range == null) {
      throw new OWLXMLParserElementNotFoundException(getLineNumber(), getColumnNumber(), "data range element");
    }
    return getOWLDataFactory().getOWLDataPropertyRangeAxiom(property, range, getAnnotations());
  }
}
origin: owlcs/owlapi

private void initialiseDataPropertyFrameSections() {
  //@formatter:off
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), SUB_PROPERTY_OF, (s, o, anns) -> df.getOWLSubDataPropertyOfAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), EQUIVALENT_TO, (s, o, anns) -> df.getOWLEquivalentDataPropertiesAxiom(s,o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), DISJOINT_WITH, (s, o, anns) -> df.getOWLDisjointDataPropertiesAxiom(s,o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLClassExpression>(x -> parseUnion(), DOMAIN, (s, o, anns) -> df.getOWLDataPropertyDomainAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataRange>(x -> parseDataRange(), RANGE, (s, o, anns) -> df.getOWLDataPropertyRangeAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyCharacteristicAxiom>(this::parseDataPropertyCharacteristic, CHARACTERISTICS, (s, o, anns) -> o.getAnnotatedAxiom(anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLAnnotation>(x -> parseAnnotation(), ANNOTATIONS, (s, o, anns) -> df.getOWLAnnotationAssertionAxiom(s.getIRI(), o, anns)), dataPropertyFrameSections);
  //@formatter:on
}
origin: net.sourceforge.owlapi/owlapi-distribution

private void initialiseDataPropertyFrameSections() {
  //@formatter:off
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), SUB_PROPERTY_OF, (s, o, anns) -> df.getOWLSubDataPropertyOfAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), EQUIVALENT_TO, (s, o, anns) -> df.getOWLEquivalentDataPropertiesAxiom(s,o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), DISJOINT_WITH, (s, o, anns) -> df.getOWLDisjointDataPropertiesAxiom(s,o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLClassExpression>(x -> parseUnion(), DOMAIN, (s, o, anns) -> df.getOWLDataPropertyDomainAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataRange>(x -> parseDataRange(), RANGE, (s, o, anns) -> df.getOWLDataPropertyRangeAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyCharacteristicAxiom>(this::parseDataPropertyCharacteristic, CHARACTERISTICS, (s, o, anns) -> o.getAnnotatedAxiom(anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLAnnotation>(x -> parseAnnotation(), ANNOTATIONS, (s, o, anns) -> df.getOWLAnnotationAssertionAxiom(s.getIRI(), o, anns)), dataPropertyFrameSections);
  //@formatter:on
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLDataPropertyRangeAxiom

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)
  • Top 15 Vim Plugins
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