Codota Logo
OWLDataFactory.getOWLSubAnnotationPropertyOfAxiom
Code IndexAdd Codota 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)

  • Common ways to obtain OWLDataFactory
private void myMethod () {
OWLDataFactory o =
  • Codota IconOWLOntologyManager manager;manager.getOWLDataFactory()
  • Codota IconOWLOntology ontology;ontology.getOWLOntologyManager().getOWLDataFactory()
  • Codota IconOWLManager.getOWLDataFactory()
  • Smart code suggestions by Codota
}
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
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ImageIO (javax.imageio)
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now