Codota Logo
OWLDataFactory.getOWLAnnotationPropertyDomainAxiom
Code IndexAdd Codota to your IDE (free)

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

Best Java code snippets using org.semanticweb.owlapi.model.OWLDataFactory.getOWLAnnotationPropertyDomainAxiom (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: com.github.ansell.owlapi/owlapi-parsers

@Override
public OWLAxiom createAxiom(OWLAnnotationProperty s, IRI o,
    Set<OWLAnnotation> anns) {
  return dataFactory.getOWLAnnotationPropertyDomainAxiom(s, o, anns);
}
origin: owlcs/owlapi

public static OWLAnnotationPropertyDomainAxiom AnnotationPropertyDomain(
  OWLAnnotationProperty property,
  String iri) {
  return DF.getOWLAnnotationPropertyDomainAxiom(property, IRI(iri));
}
origin: net.sourceforge.owlapi/owlapi-apibinding

public static OWLAnnotationPropertyDomainAxiom AnnotationPropertyDomain(
  OWLAnnotationProperty property,
  String iri) {
  return DF.getOWLAnnotationPropertyDomainAxiom(property, IRI(iri));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

public static OWLAnnotationPropertyDomainAxiom AnnotationPropertyDomain(
  OWLAnnotationProperty property,
  String iri) {
  return DF.getOWLAnnotationPropertyDomainAxiom(property, IRI(iri));
}
origin: edu.stanford.protege/org.protege.owl.server

@Override
public Object read(OWLInputStream in) throws IOException {
  OWLAnnotationProperty p = (OWLAnnotationProperty) in.read();
  IRI domain = (IRI) in.read();
  return in.getOWLDataFactory().getOWLAnnotationPropertyDomainAxiom(p, domain);
}
origin: net.sourceforge.owlapi/owlapi

public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() {
  if(!isAnnotated()) {
    return this;
  }
  return getOWLDataFactory().getOWLAnnotationPropertyDomainAxiom(getProperty(), getDomain());
}
origin: net.sourceforge.owlapi/owlapi-parsers

private void translateAnnotationPropertyDomain(IRI s, IRI p, IRI o) {
  OWLAnnotationProperty prop = df.getOWLAnnotationProperty(s);
  add(df.getOWLAnnotationPropertyDomainAxiom(prop, o, anns()));
  // TODO: Handle anonymous domain - error?
  consume(s, p, o);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

private void translateAnnotationPropertyDomain(IRI s, IRI p, IRI o) {
  OWLAnnotationProperty prop = df.getOWLAnnotationProperty(s);
  add(df.getOWLAnnotationPropertyDomainAxiom(prop, o, anns()));
  // TODO: Handle anonymous domain - error?
  consume(s, p, o);
}
origin: owlcs/owlapi

@Override
public OWLAnnotationPropertyDomainAxiom visit(OWLAnnotationPropertyDomainAxiom ax) {
  return df.getOWLAnnotationPropertyDomainAxiom(t(ax.getProperty()), t(ax.getDomain()),
          a(ax));
}
origin: owlcs/owlapi

@Override
public OWLAnnotationPropertyDomainAxiom visit(OWLAnnotationPropertyDomainAxiom axiom) {
  return df
    .getOWLAnnotationPropertyDomainAxiom(get(axiom.getProperty()), get(axiom.getDomain()),
      anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLAnnotationPropertyDomainAxiom visit(OWLAnnotationPropertyDomainAxiom ax) {
  return df.getOWLAnnotationPropertyDomainAxiom(t(ax.getProperty()), t(ax.getDomain()),
          a(ax));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

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

@Override
public OWLAnnotationPropertyDomainAxiom visit(OWLAnnotationPropertyDomainAxiom ax) {
  return df.getOWLAnnotationPropertyDomainAxiom(t(ax.getProperty()), t(ax.getDomain()),
          a(ax));
}
origin: owlcs/owlapi

 final public OWLAnnotationPropertyDomainAxiom AnnotationPropertyDomain() throws ParseException {IRI domain;
  OWLAnnotationProperty prop;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(ANNOTATIONPROPERTYDOMAIN);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = AnnotationPropertyIRI();
  domain = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLAnnotationPropertyDomainAxiom(prop, domain, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLAnnotationPropertyDomainAxiom AnnotationPropertyDomain() throws ParseException {IRI domain;
  OWLAnnotationProperty prop;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(ANNOTATIONPROPERTYDOMAIN);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = AnnotationPropertyIRI();
  domain = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLAnnotationPropertyDomainAxiom(prop, domain, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public OWLAnnotationPropertyDomainAxiom AnnotationPropertyDomain() throws ParseException {IRI domain;
  OWLAnnotationProperty prop;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(ANNOTATIONPROPERTYDOMAIN);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = AnnotationPropertyIRI();
  domain = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLAnnotationPropertyDomainAxiom(prop, domain, axiomAnnos);
}

origin: owlcs/owlapi

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

@Override
public Object visit(OWLAnnotationPropertyDomainAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLAnnotationPropertyDomainAxiom(t(axiom.getProperty()), t(axiom
      .getDomain()), t(axiom.annotations())));
}
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.modelOWLDataFactorygetOWLAnnotationPropertyDomainAxiom

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
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
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