congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
OWLDataFactory.getOWLAnnotationPropertyRangeAxiom
Code IndexAdd Tabnine to your IDE (free)

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

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

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

@Override
public OWLAxiom createAxiom(OWLAnnotationProperty s, IRI o,
    Set<OWLAnnotation> anns) {
  return dataFactory.getOWLAnnotationPropertyRangeAxiom(s, o, anns);
}
origin: edu.stanford.protege/org.protege.owl.server

@Override
public Object read(OWLInputStream in) throws IOException {
  OWLAnnotationProperty p = (OWLAnnotationProperty) in.read();
  IRI range = (IRI) in.read();
  return in.getOWLDataFactory().getOWLAnnotationPropertyRangeAxiom(p, range);
}
origin: owlcs/owlapi

private void translateAsAnnotationPropertyRange(IRI s, IRI p, IRI o) {
  OWLAnnotationProperty prop = df.getOWLAnnotationProperty(s);
  add(df.getOWLAnnotationPropertyRangeAxiom(prop, o, anns()));
  consume(s, p, o);
}
origin: net.sourceforge.owlapi/owlapi-distribution

private void translateAsAnnotationPropertyRange(IRI s, IRI p, IRI o) {
  OWLAnnotationProperty prop = df.getOWLAnnotationProperty(s);
  add(df.getOWLAnnotationPropertyRangeAxiom(prop, o, anns()));
  consume(s, p, o);
}
origin: net.sourceforge.owlapi/owlapi

public OWLAnnotationPropertyRangeAxiom getAxiomWithoutAnnotations() {
  if(!isAnnotated()) {
    return this;
  }
  return getOWLDataFactory().getOWLAnnotationPropertyRangeAxiom(getProperty(), getRange());
}
origin: liveontologies/elk-reasoner

@Override
public OWLAnnotationPropertyRangeAxiom visit(
    ElkAnnotationPropertyRangeAxiom axiom) {
  return owlFactory_.getOWLAnnotationPropertyRangeAxiom(
      convert(axiom.getProperty()), convert(axiom.getRange()));
}
origin: owlcs/owlapi

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

public void visit(OWLAnnotationPropertyRangeAxiom axiom) {
  axiom.getProperty().accept(this);
  OWLAnnotationProperty prop = (OWLAnnotationProperty) obj;
  axiom.getRange().accept(this);
  IRI range = (IRI) obj;
  obj = dataFactory.getOWLAnnotationPropertyRangeAxiom(prop, range, duplicateAxiomAnnotations(axiom));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLAnnotationPropertyRangeAxiom visit(OWLAnnotationPropertyRangeAxiom axiom) {
  return df
    .getOWLAnnotationPropertyRangeAxiom(get(axiom.getProperty()), get(axiom.getRange()),
      anns(axiom));
}
origin: owlcs/owlapi

 final public OWLAnnotationPropertyRangeAxiom AnnotationPropertyRange() throws ParseException {IRI range;
  OWLAnnotationProperty prop;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(ANNOTATIONPROPERTYRANGE);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = AnnotationPropertyIRI();
  range = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLAnnotationPropertyRangeAxiom(prop, range, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public OWLAnnotationPropertyRangeAxiom AnnotationPropertyRange() throws ParseException {IRI range;
  OWLAnnotationProperty prop;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(ANNOTATIONPROPERTYRANGE);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = AnnotationPropertyIRI();
  range = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLAnnotationPropertyRangeAxiom(prop, range, axiomAnnos);
}

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

private void translateAsAnnotationPropertyRange(IRI subject, IRI predicate, IRI object) {
  OWLAnnotationProperty prop = getDataFactory().getOWLAnnotationProperty(subject);
  addAxiom(getDataFactory().getOWLAnnotationPropertyRangeAxiom(prop, object, getPendingAnnotations()));
  consumeTriple(subject, predicate, object);
}
origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLAnnotationPropertyRangeAxiom AnnotationPropertyRange() throws ParseException {IRI range;
  OWLAnnotationProperty prop;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(ANNOTATIONPROPERTYRANGE);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = AnnotationPropertyIRI();
  range = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLAnnotationPropertyRangeAxiom(prop, range, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-distribution

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

@Override
public Object visit(OWLAnnotationPropertyRangeAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLAnnotationPropertyRangeAxiom(t(axiom.getProperty()), t(axiom
      .getRange()), t(axiom.annotations())));
}
origin: owlcs/owlapi

@Override
public Object visit(OWLAnnotationPropertyRangeAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLAnnotationPropertyRangeAxiom(t(axiom.getProperty()), t(axiom
      .getRange()), t(axiom.annotations())));
}
origin: com.github.ansell.owlapi/owlapi-parsers

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

private void initialiseAnnotationPropertyFrameSections() {
  //@formatter:off
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, OWLAnnotationProperty>(x -> parseAnnotationProperty(), SUB_PROPERTY_OF, (s, o, anns) -> df.getOWLSubAnnotationPropertyOfAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, IRI>(x -> parseIRI(), DOMAIN, (s, o, anns) -> df.getOWLAnnotationPropertyDomainAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, IRI>(x -> parseIRI(), RANGE, (s, o, anns) -> df.getOWLAnnotationPropertyRangeAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, OWLAnnotation>(x -> parseAnnotation(), ANNOTATIONS, (s, o, anns) -> df.getOWLAnnotationAssertionAxiom(s.getIRI(), o, anns)), annotationPropertyFrameSections);
  //@formatter:on
}
origin: net.sourceforge.owlapi/owlapi-parsers

private void initialiseAnnotationPropertyFrameSections() {
  //@formatter:off
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, OWLAnnotationProperty>(x -> parseAnnotationProperty(), SUB_PROPERTY_OF, (s, o, anns) -> df.getOWLSubAnnotationPropertyOfAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, IRI>(x -> parseIRI(), DOMAIN, (s, o, anns) -> df.getOWLAnnotationPropertyDomainAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, IRI>(x -> parseIRI(), RANGE, (s, o, anns) -> df.getOWLAnnotationPropertyRangeAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, OWLAnnotation>(x -> parseAnnotation(), ANNOTATIONS, (s, o, anns) -> df.getOWLAnnotationAssertionAxiom(s.getIRI(), o, anns)), annotationPropertyFrameSections);
  //@formatter:on
}
origin: net.sourceforge.owlapi/owlapi-distribution

private void initialiseAnnotationPropertyFrameSections() {
  //@formatter:off
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, OWLAnnotationProperty>(x -> parseAnnotationProperty(), SUB_PROPERTY_OF, (s, o, anns) -> df.getOWLSubAnnotationPropertyOfAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, IRI>(x -> parseIRI(), DOMAIN, (s, o, anns) -> df.getOWLAnnotationPropertyDomainAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, IRI>(x -> parseIRI(), RANGE, (s, o, anns) -> df.getOWLAnnotationPropertyRangeAxiom(s, o, anns)), annotationPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLAnnotationProperty, OWLAnnotation>(x -> parseAnnotation(), ANNOTATIONS, (s, o, anns) -> df.getOWLAnnotationAssertionAxiom(s.getIRI(), o, anns)), annotationPropertyFrameSections);
  //@formatter:on
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLAnnotationPropertyRangeAxiom

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

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Best IntelliJ 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