congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • 21 Best Atom Packages for 2021
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