Java 类org.semanticweb.owlapi.model.OWLSubDataPropertyOfAxiom 实例源码

项目:logmap-matcher    文件:OWLAlignmentReader.java   
public void visit(OWLSubDataPropertyOfAxiom ax){
    type = Utilities.DATAPROPERTIES;

    for (OWLAnnotation ann : ax.getAnnotations()){  
        treatAnnotation(ann);
    }
}
项目:HermiT-android    文件:OWLNormalization.java   
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    OWLDataPropertyExpression subDataProperty=axiom.getSubProperty();
    checkTopDataPropertyUse(subDataProperty,axiom);
    OWLDataPropertyExpression superDataProperty=axiom.getSuperProperty();
    if (!subDataProperty.isOWLBottomDataProperty() && !superDataProperty.isOWLTopDataProperty())
        addInclusion(subDataProperty,superDataProperty);
}
项目:elk-reasoner    文件:AbstractOwlAxiomConverterVisitor.java   
@Override
public T visit(OWLSubDataPropertyOfAxiom axiom) {
    throw new IllegalArgumentException(
            OWLSubDataPropertyOfAxiom.class.getSimpleName()
                    + " cannot be converted to "
                    + getTargetClass().getSimpleName());
}
项目:Hermit_1.3.8_android    文件:OWLNormalization.java   
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    OWLDataPropertyExpression subDataProperty=axiom.getSubProperty();
    checkTopDataPropertyUse(subDataProperty,axiom);
    OWLDataPropertyExpression superDataProperty=axiom.getSuperProperty();
    if (!subDataProperty.isOWLBottomDataProperty() && !superDataProperty.isOWLTopDataProperty())
        addInclusion(subDataProperty,superDataProperty);
}
项目:Wolpertinger    文件:OWLNormalization.java   
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    OWLDataPropertyExpression subDataProperty=axiom.getSubProperty();
    checkTopDataPropertyUse(subDataProperty,axiom);
    OWLDataPropertyExpression superDataProperty=axiom.getSuperProperty();
    if (!subDataProperty.isOWLBottomDataProperty() && !superDataProperty.isOWLTopDataProperty())
        addInclusion(subDataProperty,superDataProperty);
}
项目:semantika    文件:TMappingProcessor.java   
/**
 * A utility method to process OWL <code>SubDataPropertyOf(DPE1 DPE2)</code> axiom and produce
 * inferred mapping assertions.
 */
@Override
public void visit(OWLSubDataPropertyOfAxiom axiom)
{
   /*
    * Trace all the ancestors of the data property expression in the given OWL SubDataPropertyOf axiom.
    */
   Set<OWLSubPropertyAxiom<?>> ancestors = mOntology.traceAncestors(axiom.getSubProperty(), true);
   for (OWLSubPropertyAxiom<?> ax : ancestors) {
      /*
       * Get all (copy) known mappings for the visited sub data property expression.
       */
      OWLDataPropertyExpression subProperty = (OWLDataPropertyExpression) ax.getSubProperty();
      subProperty.accept(this); // this call will produce (sub property) mSignature
      Set<IMapping> subPropertyMappings = getMappingsForPropertyExpression();
      if (subPropertyMappings.isEmpty()) {
         continue;
      }
      /*
       * Produce the "extra" mappings for the visited super data property expression as many as
       * the known mappings in the sub data property expression.
       */
      OWLDataPropertyExpression superProperty = (OWLDataPropertyExpression) ax.getSuperProperty();
      superProperty.accept(this); // this call will produce (super property) mSignature and mIsInverse
      URI superPropertySignature = mSignature;
      for (IMapping subPropertyMapping : subPropertyMappings) {
         IPropertyMapping pm = createPropertyMapping(superPropertySignature, subPropertyMapping, mIsInverse);
         addInferredMapping(pm);
      }
   }
}
项目:OWL2SPARQL    文件:OWLAxiomToSPARQLConverter.java   
@Override
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    OWLDataPropertyExpression subPropertyExpression = axiom.getSubProperty();
    sparql += subjectVar + "<" + subPropertyExpression.asOWLDataProperty().toStringID() + "> " + objectVar + " .";

    OWLDataPropertyExpression superPropertyExpression = axiom.getSuperProperty();
    sparql += subjectVar + "<" + superPropertyExpression.asOWLDataProperty().toStringID() + "> " + objectVar + " .";
}
项目:owlapi-gwt    文件:HashCode.java   
@Override
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    hashCode = primes[5];
    hashCode = hashCode * MULT + axiom.getSubProperty().hashCode();
    hashCode = hashCode * MULT + axiom.getSuperProperty().hashCode();
    hashCode = hashCode * MULT + axiom.getAnnotations().hashCode();
}
项目:owlapi-gwt    文件:OWLSubDataPropertyOfAxiomImpl.java   
@Override
public OWLSubDataPropertyOfAxiom getAxiomWithoutAnnotations() {
    if (!isAnnotated()) {
        return this;
    }
    return new OWLSubDataPropertyOfAxiomImpl(getSubProperty(),
            getSuperProperty(), NO_ANNOTATIONS);
}
项目:owlapi-gwt    文件:OWLSubDataPropertyOfAxiomImpl.java   
@Override
public boolean equals(Object obj) {
    if (this == obj) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    return obj instanceof OWLSubDataPropertyOfAxiom;
}
项目:neo4j-sparql-extension-yars    文件:SubPropertyOfExtractor.java   
private void addAxiom(List<Rule> list, OWLSubDataPropertyOfAxiom a) {
    String op1 = getString(a.getSubProperty());
    String op2 = getString(a.getSuperProperty());
    list.add(new SubPropertyOf(op1, op2));
}
项目:neo4j-sparql-extension-yars    文件:SubPropertyOfExtractor.java   
private void addDataAxioms(List<Rule> list,
        Set<OWLSubDataPropertyOfAxiom> axs) {
    for (OWLSubDataPropertyOfAxiom a : axs) {
        addAxiom(list, a);
    }
}
项目:jopa    文件:IntegrityConstraintParser.java   
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    notSupported(axiom);
}
项目:HermiT-android    文件:EntailmentChecker.java   
public Boolean visit(OWLSubDataPropertyOfAxiom axiom) {
    return reasoner.isSubDataPropertyOf(axiom.getSubProperty().asOWLDataProperty(),axiom.getSuperProperty().asOWLDataProperty());
}
项目:HermiT-android    文件:EntailmentChecker.java   
public void visit(OWLSubDataPropertyOfAxiom axiom) {
}
项目:elk-reasoner    文件:AbstractElkObjectConverter.java   
@Override
public OWLSubDataPropertyOfAxiom visit(ElkSubDataPropertyOfAxiom axiom) {
    return owlFactory_.getOWLSubDataPropertyOfAxiom(
            convert(axiom.getSubDataPropertyExpression()),
            convert(axiom.getSuperDataPropertyExpression()));
}
项目:elk-reasoner    文件:OwlDataPropertyAxiomConverterVisitor.java   
@Override
public ElkDataPropertyAxiom visit(
        OWLSubDataPropertyOfAxiom owlSubDataPropertyOfAxiom) {
    return CONVERTER.convert(owlSubDataPropertyOfAxiom);
}
项目:elk-reasoner    文件:OwlConverter.java   
@SuppressWarnings("static-method")
public ElkSubDataPropertyOfAxiom convert(
        OWLSubDataPropertyOfAxiom owlSubDataPropertyOfAxiom) {
    return new ElkSubDataPropertyOfAxiomWrap<OWLSubDataPropertyOfAxiom>(
            owlSubDataPropertyOfAxiom);
}
项目:elk-reasoner    文件:OwlAxiomConverterVisitor.java   
@Override
public ElkAxiom visit(OWLSubDataPropertyOfAxiom owlSubDataPropertyOfAxiom) {
    return CONVERTER.convert(owlSubDataPropertyOfAxiom);
}
项目:elk-reasoner    文件:FailingOwlAxiomVisitor.java   
@Override
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    defaultVisit(axiom);
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public Boolean visit(OWLSubDataPropertyOfAxiom axiom) {
    return reasoner.isSubDataPropertyOf(axiom.getSubProperty().asOWLDataProperty(),axiom.getSuperProperty().asOWLDataProperty());
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public void visit(OWLSubDataPropertyOfAxiom axiom) {
}
项目:owltools    文件:AxiomAnnotationTools.java   
@Override
public OWLAxiom visit(OWLSubDataPropertyOfAxiom axiom) {
    return factory.getOWLSubDataPropertyOfAxiom(axiom.getSubProperty(), axiom.getSuperProperty(), annotations);
}
项目:owltools    文件:CardinalityContraintsTools.java   
@Override
public void visit(OWLSubDataPropertyOfAxiom axiom) {
}
项目:born    文件:CycleDetector.java   
@Override
public Boolean visit(OWLSubDataPropertyOfAxiom axiom) {
    return true;
}
项目:born    文件:ElAxiomFilter.java   
@Override
public Boolean visit(OWLSubDataPropertyOfAxiom axiom) {
    return false;
}
项目:born    文件:AnnotationProcessor.java   
@Override
public Boolean visit(OWLSubDataPropertyOfAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLSubDataPropertyOfAxiom(axiom.getSubProperty(), axiom.getSuperProperty(),
            reg(axiom.getAnnotations())));
}
项目:born    文件:AnnotationCreator.java   
@Override
public Boolean visit(OWLSubDataPropertyOfAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLSubDataPropertyOfAxiom(axiom.getSubProperty(), axiom.getSuperProperty(), empty()));
}
项目:jcel    文件:AxiomTranslator.java   
@Override
public Set<ComplexIntegerAxiom> visit(OWLSubDataPropertyOfAxiom axiom) {
    Objects.requireNonNull(axiom);
    throw TranslationException.newUnsupportedAxiomException(axiom);
}
项目:neo4j-sparql-extension    文件:SubPropertyOfExtractor.java   
private void addAxiom(List<Rule> list, OWLSubDataPropertyOfAxiom a) {
    String op1 = getString(a.getSubProperty());
    String op2 = getString(a.getSuperProperty());
    list.add(new SubPropertyOf(op1, op2));
}
项目:neo4j-sparql-extension    文件:SubPropertyOfExtractor.java   
private void addDataAxioms(List<Rule> list,
        Set<OWLSubDataPropertyOfAxiom> axs) {
    for (OWLSubDataPropertyOfAxiom a : axs) {
        addAxiom(list, a);
    }
}
项目:semantika    文件:OwlPropertyStructureHandler.java   
@Override
public void visit(OWLSubDataPropertyOfAxiom axiom)
{
   addSubPropertyAxiom(axiom);
}
项目:owlapi-gwt    文件:OWLObjectVisitorExAdapter.java   
@Override
public O visit(OWLSubDataPropertyOfAxiom axiom) {
    return doDefault(axiom);
}
项目:owlapi-gwt    文件:OWLObjectTypeIndexProvider.java   
@Override
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    type = AXIOM_TYPE_INDEX_BASE + axiom.getAxiomType().getIndex();
}
项目:owlapi-gwt    文件:NNF.java   
@Override
public OWLAxiom visit(OWLSubDataPropertyOfAxiom axiom) {
    return axiom;
}
项目:owlapi-gwt    文件:OWLAxiomVisitorAdapter.java   
@Override
public void visit(OWLSubDataPropertyOfAxiom axiom) {
    handleDefault(axiom);
}
项目:owlapi-gwt    文件:OWLSubDataPropertyOfAxiomImpl.java   
@Override
public OWLSubDataPropertyOfAxiom getAnnotatedAxiom(
        Set<OWLAnnotation> annotations) {
    return new OWLSubDataPropertyOfAxiomImpl(getSubProperty(),
            getSuperProperty(), mergeAnnos(annotations));
}
项目:owlapi-gwt    文件:AbstractEntityRegistrationManager.java   
@Override
public void visit(@Nonnull OWLSubDataPropertyOfAxiom axiom) {
    axiom.getSubProperty().accept(this);
    axiom.getSuperProperty().accept(this);
    processAxiomAnnotations(axiom);
}
项目:SVoNt    文件:PelletOWL2ELProfile.java   
public Object visit(OWLSubDataPropertyOfAxiom desc) {
  profileViolations.add(new UseOfIllegalAxiom(getCurrentOntology(), getCurrentAxiom()));
  return null;
}
项目:SVoNt    文件:CEXOWL2ELProfile.java   
public void visit(OWLSubDataPropertyOfAxiom arg0) {
    unusedAxiom(arg0);
}