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

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

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

origin: edu.stanford.protege/mapping-master

public OWLSubDataPropertyOfAxiom createOWLSubDataPropertyOfAxiom(OWLDataPropertyExpression child,
   OWLDataPropertyExpression parent)
{
 return owlDataFactory.getOWLSubDataPropertyOfAxiom(child, parent);
}
origin: SmartDataAnalytics/DL-Learner

  @Override
  public OWLSubDataPropertyOfAxiom getAxiom(OWLDataProperty property, OWLDataProperty otherProperty) {
    return df.getOWLSubDataPropertyOfAxiom(property, otherProperty);
  }
}
origin: owlcs/owlapi

public static OWLSubDataPropertyOfAxiom SubDataPropertyOf(OWLDataPropertyExpression subProperty,
  OWLDataPropertyExpression superProperty) {
  return DF.getOWLSubDataPropertyOfAxiom(subProperty, superProperty);
}
origin: protegeproject/webprotege

  @Override
  protected Set<? extends OWLAxiom> createParentPlacementAxioms(OWLDataProperty freshEntity,
                                 ChangeGenerationContext context,
                                 ImmutableSet<OWLDataProperty> parents) {
    return parents.stream()
        .map(parent -> dataFactory.getOWLSubDataPropertyOfAxiom(freshEntity, parent))
        .collect(toSet());
  }
}
origin: protegeproject/protege

@Nonnull
@Override
public Optional<OWLAxiom> visit(@Nonnull OWLDataProperty property) {
  return strategy.getDeprecatedDataPropertyParentIri()
          .map(parent -> dataFactory.getOWLSubDataPropertyOfAxiom(property, dataFactory.getOWLDataProperty(parent)));
}
origin: com.github.ansell.owlapi/owlapi-parsers

  @Override
  protected OWLAxiom createAxiom() throws OWLXMLParserException {
    return getOWLDataFactory().getOWLSubDataPropertyOfAxiom(subProperty, superProperty, getAnnotations());
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
protected void addAxioms(OWLDataProperty entity, OWLReasoner reasoner,
  OWLDataFactory dataFactory,
  Set<OWLSubDataPropertyOfAxiom> result) {
  checkNotNull(dataFactory, "dataFactory cannot be null");
  checkNotNull(reasoner, "reasoner cannot be null");
  checkNotNull(result, "result cannot be null");
  checkNotNull(entity, "entity cannot be null");
  reasoner.getSuperDataProperties(entity, true).entities()
    .forEach(sup -> result.add(dataFactory.getOWLSubDataPropertyOfAxiom(entity, sup)));
}
origin: owlcs/owlapi

@Override
protected void addAxioms(OWLDataProperty entity, OWLReasoner reasoner,
  OWLDataFactory dataFactory,
  Set<OWLSubDataPropertyOfAxiom> result) {
  checkNotNull(dataFactory, "dataFactory cannot be null");
  checkNotNull(reasoner, "reasoner cannot be null");
  checkNotNull(result, "result cannot be null");
  checkNotNull(entity, "entity cannot be null");
  reasoner.getSuperDataProperties(entity, true).entities()
    .forEach(sup -> result.add(dataFactory.getOWLSubDataPropertyOfAxiom(entity, sup)));
}
origin: owlcs/owlapi

  @Override
  public OWLSubDataPropertyOfAxiom buildObject() {
    return df.getOWLSubDataPropertyOfAxiom(verifyNotNull(getSub()), verifyNotNull(getSup()),
      annotations);
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

  private void translateSubDataProperty(IRI s, IRI p, IRI o) {
    // Data - Data
    add(df.getOWLSubDataPropertyOfAxiom(dp(s), dp(o), anns()));
    consume(s, p, o);
  }
}
origin: owlcs/owlapi

@Override
public OWLSubDataPropertyOfAxiom visit(OWLSubDataPropertyOfAxiom axiom) {
  return df.getOWLSubDataPropertyOfAxiom(get(axiom.getSubProperty()),
    get(axiom.getSuperProperty()), anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi

public void visit(OWLSubDataPropertyOfAxiom axiom) {
  axiom.getSubProperty().accept(this);
  OWLDataPropertyExpression subProp = (OWLDataPropertyExpression) obj;
  axiom.getSuperProperty().accept(this);
  OWLDataPropertyExpression supProp = (OWLDataPropertyExpression) obj;
  obj = dataFactory.getOWLSubDataPropertyOfAxiom(subProp, supProp, duplicateAxiomAnnotations(axiom));
}
origin: owlcs/owlapi

  private void translateSubDataProperty(IRI s, IRI p, IRI o) {
    // Data - Data
    add(df.getOWLSubDataPropertyOfAxiom(dp(s), dp(o), anns()));
    consume(s, p, o);
  }
}
origin: owlcs/owlapi

@Override
public void visit(OWLSubDataPropertyOfAxiom ax) {
  obj = df.getOWLSubDataPropertyOfAxiom(dup(ax.getSubProperty()), dup(ax.getSuperProperty()),
    anns(ax));
}
origin: owlcs/owlapi

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

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

@Override
public void visit(OWLSubDataPropertyOfAxiom ax) {
  obj = df.getOWLSubDataPropertyOfAxiom(dup(ax.getSubProperty()), dup(ax.getSuperProperty()),
    anns(ax));
}
origin: owlcs/owlapi

 final public OWLPropertyAxiom SubDataPropertyOf() throws ParseException {OWLDataPropertyExpression subProperty;
  OWLDataPropertyExpression superProperty;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(SUBDATAPROPERTYOF);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  subProperty = DataPropertyExpression();
  superProperty = DataPropertyExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLSubDataPropertyOfAxiom(subProperty, superProperty, axiomAnnos);
}

origin: owlcs/owlapi

@Override
public Object visit(OWLSubDataPropertyOfAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLSubDataPropertyOfAxiom(t(axiom.getSubProperty()), t(axiom
      .getSuperProperty()), 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
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLSubDataPropertyOfAxiom

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
  • Top plugins for WebStorm
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