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

项目:HermiT-android    文件:EntailmentChecker.java   
public Boolean visit(OWLEquivalentDataPropertiesAxiom axiom) {
    Set<OWLDataPropertyExpression> props=axiom.getProperties();
    Iterator<OWLDataPropertyExpression> it=props.iterator();
    if (it.hasNext()) {
        OWLDataProperty prop1=it.next().asOWLDataProperty();
        while (it.hasNext()) {
            OWLDataProperty dataProperty1=prop1.asOWLDataProperty();
            OWLDataProperty dataProperty2=it.next().asOWLDataProperty();
            if (!reasoner.isSubDataPropertyOf(dataProperty1,dataProperty2) || !reasoner.isSubDataPropertyOf(dataProperty2,dataProperty1))
                return Boolean.FALSE;
        }
    }
    return Boolean.TRUE;
}
项目:elk-reasoner    文件:AbstractElkObjectConverter.java   
@Override
public OWLEquivalentDataPropertiesAxiom visit(
        ElkEquivalentDataPropertiesAxiom axiom) {
    return owlFactory_.getOWLEquivalentDataPropertiesAxiom(
            toDataPropertyExpressionSet(
                    axiom.getDataPropertyExpressions()));
}
项目:elk-reasoner    文件:AbstractOwlAxiomConverterVisitor.java   
@Override
public T visit(OWLEquivalentDataPropertiesAxiom axiom) {
    throw new IllegalArgumentException(
            OWLEquivalentDataPropertiesAxiom.class.getSimpleName()
                    + " cannot be converted to "
                    + getTargetClass().getSimpleName());
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public Boolean visit(OWLEquivalentDataPropertiesAxiom axiom) {
    Set<OWLDataPropertyExpression> props=axiom.getProperties();
    Iterator<OWLDataPropertyExpression> it=props.iterator();
    if (it.hasNext()) {
        OWLDataProperty prop1=it.next().asOWLDataProperty();
        while (it.hasNext()) {
            OWLDataProperty dataProperty1=prop1.asOWLDataProperty();
            OWLDataProperty dataProperty2=it.next().asOWLDataProperty();
            if (!reasoner.isSubDataPropertyOf(dataProperty1,dataProperty2) || !reasoner.isSubDataPropertyOf(dataProperty2,dataProperty1))
                return Boolean.FALSE;
        }
    }
    return Boolean.TRUE;
}
项目:semantika    文件:TMappingProcessor.java   
/**
 * A utility method to process OWL <code>EquivalentObjectProperties(OPE1 OPE2)</code> axiom and produce
 * inferred mapping assertions.
 */
@Override
public void visit(OWLEquivalentDataPropertiesAxiom axiom)
{
   List<OWLDataPropertyExpression> properties = new ArrayList<OWLDataPropertyExpression>(axiom.getProperties());
   OWLDataPropertyExpression dpe1 = properties.get(0);
   OWLDataPropertyExpression dpe2 = properties.get(1);

   /*
    * Get all (copy) known mappings for the first equivalent data property expression
    * and produce the extra mappings.
    */
   dpe1.accept(this);
   Set<IMapping> mappings1 = getMappingsForPropertyExpression();
   if (!mappings1.isEmpty()) {
      dpe2.accept(this);
      produceEquivalentPropertyMappings(mappings1);
   }

   /*
    * Get all (copy) known mappings for the second equivalent data property expression
    * and produce the extra mappings.
    */
   dpe2.accept(this);
   Set<IMapping> mappings2 = getMappingsForPropertyExpression();
   if (!mappings2.isEmpty()) {
      dpe1.accept(this);
      produceEquivalentPropertyMappings(mappings2);
   }
}
项目:owlapi-gwt    文件:AbstractEntityRegistrationManager.java   
@Override
public void visit(@Nonnull OWLEquivalentDataPropertiesAxiom axiom) {
    for (OWLDataPropertyExpression prop : axiom.getProperties()) {
        prop.accept(this);
    }
    processAxiomAnnotations(axiom);
}
项目:jopa    文件:IntegrityConstraintParser.java   
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
    notSupported(axiom);
}
项目:HermiT-android    文件:EntailmentChecker.java   
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
}
项目:elk-reasoner    文件:OwlDataPropertyAxiomConverterVisitor.java   
@Override
public ElkDataPropertyAxiom visit(
        OWLEquivalentDataPropertiesAxiom owlEquivalentDataProperties) {
    return CONVERTER.convert(owlEquivalentDataProperties);
}
项目:elk-reasoner    文件:OwlConverter.java   
@SuppressWarnings("static-method")
public ElkEquivalentDataPropertiesAxiom convert(
        OWLEquivalentDataPropertiesAxiom owlEquivalentDataPropertiesAxiom) {
    return new ElkEquivalentDataPropertiesAxiomWrap<OWLEquivalentDataPropertiesAxiom>(
            owlEquivalentDataPropertiesAxiom);
}
项目:elk-reasoner    文件:OwlAxiomConverterVisitor.java   
@Override
public ElkAxiom visit(
        OWLEquivalentDataPropertiesAxiom owlEquivalentDataProperties) {
    return CONVERTER.convert(owlEquivalentDataProperties);
}
项目:elk-reasoner    文件:FailingOwlAxiomVisitor.java   
@Override
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
    defaultVisit(axiom);
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
}
项目:owltools    文件:AxiomAnnotationTools.java   
@Override
public OWLAxiom visit(OWLEquivalentDataPropertiesAxiom axiom) {
    return factory.getOWLEquivalentDataPropertiesAxiom(axiom.getProperties(), annotations);
}
项目:owltools    文件:CardinalityContraintsTools.java   
@Override
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
}
项目:born    文件:CycleDetector.java   
@Override
public Boolean visit(OWLEquivalentDataPropertiesAxiom axiom) {
    return true;
}
项目:born    文件:ElAxiomFilter.java   
@Override
public Boolean visit(OWLEquivalentDataPropertiesAxiom axiom) {
    return false;
}
项目:born    文件:AnnotationProcessor.java   
@Override
public Boolean visit(OWLEquivalentDataPropertiesAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLEquivalentDataPropertiesAxiom(axiom.getProperties(), reg(axiom.getAnnotations())));
}
项目:born    文件:AnnotationCreator.java   
@Override
public Boolean visit(OWLEquivalentDataPropertiesAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLEquivalentDataPropertiesAxiom(axiom.getProperties(), empty()));
}
项目:jcel    文件:AxiomTranslator.java   
@Override
public Set<ComplexIntegerAxiom> visit(OWLEquivalentDataPropertiesAxiom axiom) {
    Objects.requireNonNull(axiom);
    throw TranslationException.newUnsupportedAxiomException(axiom);
}
项目:OWL2SPARQL    文件:OWLAxiomToSPARQLConverter.java   
@Override
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
    for (OWLDataPropertyExpression propertyExpression : axiom.getProperties()) {
        sparql += subjectVar + "<" + propertyExpression.asOWLDataProperty().toStringID() + "> " + objectVar + " .";
    }
}
项目:owlapi-gwt    文件:OWLObjectVisitorExAdapter.java   
@Override
public O visit(OWLEquivalentDataPropertiesAxiom axiom) {
    return doDefault(axiom);
}
项目:owlapi-gwt    文件:OWLObjectTypeIndexProvider.java   
@Override
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
    type = AXIOM_TYPE_INDEX_BASE + axiom.getAxiomType().getIndex();
}
项目:owlapi-gwt    文件:NNF.java   
@Override
public OWLAxiom visit(OWLEquivalentDataPropertiesAxiom axiom) {
    return axiom;
}
项目:owlapi-gwt    文件:HashCode.java   
@Override
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
    hashCode = primes[14];
    hashCode = hashCode * MULT + axiom.getProperties().hashCode();
    hashCode = hashCode * MULT + axiom.getAnnotations().hashCode();
}
项目:owlapi-gwt    文件:OWLAxiomVisitorAdapter.java   
@Override
public void visit(OWLEquivalentDataPropertiesAxiom axiom) {
    handleDefault(axiom);
}
项目:SVoNt    文件:CEXOWL2ELProfile.java   
public void visit(OWLEquivalentDataPropertiesAxiom arg0) {
    unusedAxiom(arg0);
}
项目:binaryowl    文件:OWLEquivalentDataPropertiesAxiomSerializer.java   
@Override
protected void writeAxiom(OWLEquivalentDataPropertiesAxiom axiom, BinaryOWLOutputStream outputStream) throws IOException {
    outputStream.writeOWLObjects(axiom.getProperties());
}
项目:binaryowl    文件:OWLEquivalentDataPropertiesAxiomSerializer.java   
@Override
protected OWLEquivalentDataPropertiesAxiom readAxiom(BinaryOWLInputStream inputStream, Set<OWLAnnotation> annotations) throws IOException, BinaryOWLParseException {
    Set<OWLDataPropertyExpression> propertyExpressions = inputStream.readOWLObjects();
    return inputStream.getDataFactory().getOWLEquivalentDataPropertiesAxiom(propertyExpressions, annotations);
}
项目:logmap-matcher    文件:OWLAlignmentReader.java   
public void visit(OWLEquivalentDataPropertiesAxiom ax){

    relation = Utilities.EQ;
    type = Utilities.DATAPROPERTIES;

    for (OWLAnnotation ann : ax.getAnnotations()){  
        treatAnnotation(ann);
    }

}
项目:logmap-matcher    文件:ELAxiomVisitor.java   
public void visit(OWLEquivalentDataPropertiesAxiom arg0) {

}
项目:Wolpertinger    文件:NiceAxiomPrinter.java   
public void visit(OWLEquivalentDataPropertiesAxiom arg0) {
    // TODO Auto-generated method stub

}
项目:Wolpertinger    文件:DebugTranslation.java   
public void visit(OWLEquivalentDataPropertiesAxiom arg0) {
    // TODO Auto-generated method stub

}
项目:Wolpertinger    文件:DirectTranslation.java   
public void visit(OWLEquivalentDataPropertiesAxiom arg0) {
    // TODO Auto-generated method stub

}
项目:Wolpertinger    文件:NaiveTranslation.java   
public void visit(OWLEquivalentDataPropertiesAxiom arg0) {
    // TODO Auto-generated method stub

}
项目:logmap-matcher    文件:OWLMappingAxiomVisitor.java   
public abstract void visit(OWLEquivalentDataPropertiesAxiom arg0);