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

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

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

origin: owlcs/owlapi

public static OWLSubAnnotationPropertyOfAxiom SubAnnotationPropertyOf(
  OWLAnnotationProperty subProperty,
  OWLAnnotationProperty superProperty) {
  return DF.getOWLSubAnnotationPropertyOfAxiom(subProperty, superProperty);
}
origin: net.sourceforge.owlapi/owlapi-distribution

public static OWLSubAnnotationPropertyOfAxiom SubAnnotationPropertyOf(
  OWLAnnotationProperty subProperty,
  OWLAnnotationProperty superProperty) {
  return DF.getOWLSubAnnotationPropertyOfAxiom(subProperty, superProperty);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

public static OWLSubAnnotationPropertyOfAxiom SubAnnotationPropertyOf(
  OWLAnnotationProperty subProperty,
  OWLAnnotationProperty superProperty) {
  return DF.getOWLSubAnnotationPropertyOfAxiom(subProperty, superProperty);
}
origin: com.github.ansell.owlapi/owlapi-parsers

@Override
public OWLAxiom createAxiom(OWLAnnotationProperty s, OWLAnnotationProperty o,
    Set<OWLAnnotation> anns) {
  return dataFactory.getOWLSubAnnotationPropertyOfAxiom(s, o, anns);
}
origin: protegeproject/protege

@Nonnull
@Override
public Optional<OWLAxiom> visit(@Nonnull OWLAnnotationProperty property) {
  return strategy.getDeprecatedAnnotationPropertyParentIri()
          .map(parent -> dataFactory.getOWLSubAnnotationPropertyOfAxiom(property, dataFactory.getOWLAnnotationProperty(parent)));
}
origin: edu.stanford.protege/org.protege.owl.server

@Override
public Object read(OWLInputStream in) throws IOException {
  OWLAnnotationProperty subProperty = (OWLAnnotationProperty) in.read();
  OWLAnnotationProperty superProperty = (OWLAnnotationProperty) in.read();
  return in.getOWLDataFactory().getOWLSubAnnotationPropertyOfAxiom(subProperty, superProperty);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public OWLSubAnnotationPropertyOfAxiom buildObject() {
    return df
      .getOWLSubAnnotationPropertyOfAxiom(verifyNotNull(getSub()), verifyNotNull(getSup()),
        annotations);
  }
}
origin: owlcs/owlapi

  @Override
  public OWLSubAnnotationPropertyOfAxiom buildObject() {
    return df
      .getOWLSubAnnotationPropertyOfAxiom(verifyNotNull(getSub()), verifyNotNull(getSup()),
        annotations);
  }
}
origin: liveontologies/elk-reasoner

@Override
public OWLSubAnnotationPropertyOfAxiom visit(
    ElkSubAnnotationPropertyOfAxiom axiom) {
  return owlFactory_.getOWLSubAnnotationPropertyOfAxiom(
      convert(axiom.getSubAnnotationProperty()),
      convert(axiom.getSuperAnnotationProperty()));
}
origin: owlcs/owlapi

@Override
public OWLSubAnnotationPropertyOfAxiom visit(OWLSubAnnotationPropertyOfAxiom axiom) {
  return df.getOWLSubAnnotationPropertyOfAxiom(get(axiom.getSubProperty()),
    get(axiom.getSuperProperty()), anns(
      axiom));
}
origin: owlcs/owlapi

@Override
public OWLSubAnnotationPropertyOfAxiom visit(OWLSubAnnotationPropertyOfAxiom ax) {
  return df.getOWLSubAnnotationPropertyOfAxiom(t(ax.getSubProperty()),
          t(ax.getSuperProperty()), a(ax));
}
origin: net.sourceforge.owlapi/owlapi

public void visit(OWLSubAnnotationPropertyOfAxiom axiom) {
  axiom.getSubProperty().accept(this);
  OWLAnnotationProperty sub = (OWLAnnotationProperty) obj;
  axiom.getSuperProperty().accept(this);
  OWLAnnotationProperty sup = (OWLAnnotationProperty) obj;
  obj = dataFactory.getOWLSubAnnotationPropertyOfAxiom(sub, sup, duplicateAxiomAnnotations(axiom));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLSubAnnotationPropertyOfAxiom visit(OWLSubAnnotationPropertyOfAxiom ax) {
  return df.getOWLSubAnnotationPropertyOfAxiom(t(ax.getSubProperty()),
          t(ax.getSuperProperty()), a(ax));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public OWLSubAnnotationPropertyOfAxiom SubAnnotationPropertyOf() throws ParseException {OWLAnnotationProperty subProp;
  OWLAnnotationProperty superProperty;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(SUBANNOTATIONPROPERTYOF);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  subProp = AnnotationPropertyIRI();
  superProperty = AnnotationPropertyIRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLSubAnnotationPropertyOfAxiom(subProp, superProperty, axiomAnnos);
}

origin: owlcs/owlapi

@Override
public Object visit(OWLSubAnnotationPropertyOfAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLSubAnnotationPropertyOfAxiom(t(axiom.getSubProperty()), t(axiom
      .getSuperProperty()), t(axiom.annotations())));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public Object visit(OWLSubAnnotationPropertyOfAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLSubAnnotationPropertyOfAxiom(t(axiom.getSubProperty()), t(axiom
      .getSuperProperty()), t(axiom.annotations())));
}
origin: com.github.ansell.owlapi/owlapi-parsers

  @Override
  protected OWLAxiom createAxiom() throws OWLXMLParserException {
    if(subProperty == null) {
      throw new OWLXMLParserElementNotFoundException(getLineNumber(), getColumnNumber(), "AnnotationProperty for sub property");
    }
    if(superProperty == null) {
      throw new OWLXMLParserElementNotFoundException(getLineNumber(), getColumnNumber(), "AnnotationProperty for super property");
    }
    return getOWLDataFactory().getOWLSubAnnotationPropertyOfAxiom(subProperty, superProperty, getAnnotations());
  }
}
origin: Galigator/openllet

@Test
public void testOWLAPILoader2() throws OWLOntologyCreationException, OWLOntologyChangeException
{
  final Set<OWLAxiom> axioms = new HashSet<>();
  axioms.add(manager.getOWLDataFactory().getOWLSubAnnotationPropertyOfAxiom(op1, op2));
  axioms.add(manager.getOWLDataFactory().getOWLSubAnnotationPropertyOfAxiom(op2, op3));
  axioms.add(manager.getOWLDataFactory().getOWLAnnotationAssertionAxiom(op1, oi.getIRI(), oo1));
  final OWLOntology ontology = manager.createOntology(axioms);
  final OpenlletReasoner reasoner = OpenlletReasonerFactory.getInstance().createReasoner(ontology);
  assertEquals(reasoner.getAnnotationPropertyValues(oi, op1), reasoner.getAnnotationPropertyValues(oi, op3));
}
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
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLSubAnnotationPropertyOfAxiom

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

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JComboBox (javax.swing)
  • Top plugins for Android Studio
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