congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
OWLDataFactory.getOWLDataPropertyDomainAxiom
Code IndexAdd Tabnine to your IDE (free)

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

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

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

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

  @Override
  public OWLDataPropertyDomainAxiom buildObject() {
    return df.getOWLDataPropertyDomainAxiom(getProperty(), getDomain(), annotations);
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public OWLDataPropertyDomainAxiom buildObject() {
    return df.getOWLDataPropertyDomainAxiom(getProperty(), getDomain(), annotations);
  }
}
origin: net.sourceforge.owlapi/owlapi-fixers

  @Override
  public OWLDataPropertyDomainAxiom buildObject() {
    return df.getOWLDataPropertyDomainAxiom(getProperty(), getDomain(), annotations);
  }
}
origin: owlcs/owlapi

@Override
public OWLAxiom visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression domain = axiom.getDomain();
  OWLClassExpression newDomain = domain.accept(classVisitor);
  if (domain.equals(newDomain)) {
    return axiom;
  }
  return df.getOWLDataPropertyDomainAxiom(axiom.getProperty(), newDomain,
    getAnnotationsWithOptionalExpansionMarker(axiom));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLAxiom visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression domain = axiom.getDomain();
  OWLClassExpression newDomain = domain.accept(classVisitor);
  if (domain.equals(newDomain)) {
    return axiom;
  }
  return df.getOWLDataPropertyDomainAxiom(axiom.getProperty(), newDomain,
    getAnnotationsWithOptionalExpansionMarker(axiom));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLAxiom visit(OWLDataPropertyDomainAxiom axiom) {
  return df.getOWLDataPropertyDomainAxiom(axiom.getProperty(),
    axiom.getDomain().accept(classVisitor));
}
origin: owlcs/owlapi

@Override
public OWLAxiom visit(OWLDataPropertyDomainAxiom axiom) {
  return df.getOWLDataPropertyDomainAxiom(axiom.getProperty(),
    axiom.getDomain().accept(classVisitor));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLAxiom visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression domain = axiom.getDomain();
  OWLClassExpression newDomain = domain.accept(classVisitor);
  if (domain.equals(newDomain)) {
    return axiom;
  }
  return df.getOWLDataPropertyDomainAxiom(axiom.getProperty(), newDomain,
    getAnnotationsWithOptionalExpansionMarker(axiom));
}
origin: owlcs/owlapi

@Override
public void visit(OWLDataPropertyDomainAxiom ax) {
  obj = df
    .getOWLDataPropertyDomainAxiom(dup(ax.getProperty()), dup(ax.getDomain()), anns(ax));
}
origin: owlcs/owlapi

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

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

@Override
public void visit(OWLDataPropertyDomainAxiom ax) {
  obj = df
    .getOWLDataPropertyDomainAxiom(dup(ax.getProperty()), dup(ax.getDomain()), anns(ax));
}
origin: owlcs/owlapi

 final public OWLPropertyAxiom DataPropertyDomain() throws ParseException {OWLDataPropertyExpression prop;
  OWLClassExpression domain;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DATAPROPERTYDOMAIN);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = DataPropertyExpression();
  domain = ClassExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLDataPropertyDomainAxiom(prop, domain, axiomAnnos);
}

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

private void translateDataPropertyDomain(IRI subject,
                     IRI predicate,
                     IRI object) throws OWLOntologyChangeException {
  addAxiom(getDataFactory().getOWLDataPropertyDomainAxiom(translateDataProperty(subject), translateClassExpression(object), getPendingAnnotations()));
  consumeTriple(subject, predicate, object);
}
origin: com.github.ansell.owlapi/owlapi-parsers

final public OWLPropertyAxiom DataPropertyDomain() throws ParseException {
  OWLDataPropertyExpression prop;
  OWLClassExpression domain;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DATAPROPERTYDOMAIN);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = DataPropertyExpression();
  domain = ClassExpression();
  jj_consume_token(CLOSEPAR);
  return dataFactory.getOWLDataPropertyDomainAxiom(prop, domain, axiomAnnos);
}
origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLPropertyAxiom DataPropertyDomain() throws ParseException {OWLDataPropertyExpression prop;
  OWLClassExpression domain;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DATAPROPERTYDOMAIN);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = DataPropertyExpression();
  domain = ClassExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLDataPropertyDomainAxiom(prop, domain, axiomAnnos);
}

origin: owlcs/owlapi

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

private void initialiseDataPropertyFrameSections() {
  //@formatter:off
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), SUB_PROPERTY_OF, (s, o, anns) -> df.getOWLSubDataPropertyOfAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), EQUIVALENT_TO, (s, o, anns) -> df.getOWLEquivalentDataPropertiesAxiom(s,o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), DISJOINT_WITH, (s, o, anns) -> df.getOWLDisjointDataPropertiesAxiom(s,o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLClassExpression>(x -> parseUnion(), DOMAIN, (s, o, anns) -> df.getOWLDataPropertyDomainAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataRange>(x -> parseDataRange(), RANGE, (s, o, anns) -> df.getOWLDataPropertyRangeAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyCharacteristicAxiom>(this::parseDataPropertyCharacteristic, CHARACTERISTICS, (s, o, anns) -> o.getAnnotatedAxiom(anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLAnnotation>(x -> parseAnnotation(), ANNOTATIONS, (s, o, anns) -> df.getOWLAnnotationAssertionAxiom(s.getIRI(), o, anns)), dataPropertyFrameSections);
  //@formatter:on
}
origin: net.sourceforge.owlapi/owlapi-distribution

private void initialiseDataPropertyFrameSections() {
  //@formatter:off
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), SUB_PROPERTY_OF, (s, o, anns) -> df.getOWLSubDataPropertyOfAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), EQUIVALENT_TO, (s, o, anns) -> df.getOWLEquivalentDataPropertiesAxiom(s,o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyExpression>(x -> parseDataProperty(), DISJOINT_WITH, (s, o, anns) -> df.getOWLDisjointDataPropertiesAxiom(s,o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLClassExpression>(x -> parseUnion(), DOMAIN, (s, o, anns) -> df.getOWLDataPropertyDomainAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataRange>(x -> parseDataRange(), RANGE, (s, o, anns) -> df.getOWLDataPropertyRangeAxiom(s, o, anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLDataPropertyCharacteristicAxiom>(this::parseDataPropertyCharacteristic, CHARACTERISTICS, (s, o, anns) -> o.getAnnotatedAxiom(anns)), dataPropertyFrameSections);
  initialiseSection(new AnnAxiom<OWLDataProperty, OWLAnnotation>(x -> parseAnnotation(), ANNOTATIONS, (s, o, anns) -> df.getOWLAnnotationAssertionAxiom(s.getIRI(), o, anns)), dataPropertyFrameSections);
  //@formatter:on
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLDataPropertyDomainAxiom

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

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Path (java.nio.file)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • 14 Best Plugins for Eclipse
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