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

项目:HermiT-android    文件:Reasoner.java   
protected static boolean isUnsupportedExtensionAxiom(OWLAxiom axiom) {
    return axiom instanceof OWLSubObjectPropertyOfAxiom
            || axiom instanceof OWLTransitiveObjectPropertyAxiom
            || axiom instanceof OWLSubPropertyChainOfAxiom
            || axiom instanceof OWLFunctionalObjectPropertyAxiom
            || axiom instanceof OWLInverseFunctionalObjectPropertyAxiom
            || axiom instanceof SWRLRule;
}
项目:elk-reasoner    文件:AbstractOwlAxiomConverterVisitor.java   
@Override
public T visit(OWLTransitiveObjectPropertyAxiom axiom) {
    throw new IllegalArgumentException(
            OWLTransitiveObjectPropertyAxiom.class.getSimpleName()
                    + " cannot be converted to "
                    + getTargetClass().getSimpleName());
}
项目:Hermit_1.3.8_android    文件:Reasoner.java   
protected static boolean isUnsupportedExtensionAxiom(OWLAxiom axiom) {
    return axiom instanceof OWLSubObjectPropertyOfAxiom
            || axiom instanceof OWLTransitiveObjectPropertyAxiom
            || axiom instanceof OWLSubPropertyChainOfAxiom
            || axiom instanceof OWLFunctionalObjectPropertyAxiom
            || axiom instanceof OWLInverseFunctionalObjectPropertyAxiom
            || axiom instanceof SWRLRule;
}
项目:owltools    文件:OWLInAboxTranslator.java   
/**
 * Transitive(R) ==> Transitive(R')
 * 
 * @param ax
 */
private void tr(OWLObjectPropertyCharacteristicAxiom ax) {
    if (ax instanceof OWLTransitiveObjectPropertyAxiom) {
        OWLObjectPropertyExpression pt = trTypeLevel(ax.getProperty());
        if (pt instanceof OWLObjectProperty) {
            add(getOWLDataFactory().getOWLTransitiveObjectPropertyAxiom(pt));
        }
    }
    add(ax); // pass-through
}
项目:owltools    文件:OWLGraphWrapperExtended.java   
/**
 * true if c is transitive in the graph
 * 
 * @param c
 * @return boolean
 */
public boolean getIsTransitive(OWLObjectProperty c) {
    for(OWLOntology ont : getAllOntologies()) {
        Set<OWLTransitiveObjectPropertyAxiom> ax = ont.getTransitiveObjectPropertyAxioms(c);
        if (ax.isEmpty() == false) {
            return true;
        }
    }
    return false;
}
项目:jcel    文件:AxiomTranslator.java   
@Override
public Set<ComplexIntegerAxiom> visit(OWLTransitiveObjectPropertyAxiom axiom) throws TranslationException {
    Objects.requireNonNull(axiom);
    OWLObjectProperty property = axiom.getProperty().asOWLObjectProperty();
    IntegerObjectProperty propExpr = getDataTypeFactory().createObjectProperty(translateObjectProperty(property));
    ComplexIntegerAxiom ret = getAxiomFactory().createTransitiveObjectPropertyAxiom(propExpr,
            translateAnnotations(axiom.getAnnotations()));
    return Collections.singleton(ret);
}
项目:OWL2SPARQL    文件:OWLAxiomToSPARQLConverter.java   
@Override
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    ParameterizedSparqlString template = new ParameterizedSparqlString(
            subjectVar + " ?p ?o1 . ?o1 ?p ?o . " + subjectVar + " ?p " + objectVar);
    template.setIri("p", axiom.getProperty().asOWLObjectProperty().toStringID());
    sparql += template.toString();
}
项目:owlapi-gwt    文件:OWLTransitiveObjectPropertyAxiomImpl.java   
@Nonnull
@Override
public OWLTransitiveObjectPropertyAxiom getAxiomWithoutAnnotations() {
    if (!isAnnotated()) {
        return this;
    }
    return new OWLTransitiveObjectPropertyAxiomImpl(getProperty(),
            NO_ANNOTATIONS);
}
项目:owlapi-gwt    文件:OWLTransitiveObjectPropertyAxiomImpl.java   
@Override
public boolean equals(Object obj) {
    if (this == obj) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    return obj instanceof OWLTransitiveObjectPropertyAxiom;
}
项目:jopa    文件:IntegrityConstraintParser.java   
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    notSupported(axiom);
}
项目:HermiT-android    文件:OWLNormalization.java   
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    makeTransitive(axiom.getProperty());
    m_axioms.m_objectPropertiesOccurringInOWLAxioms.add(axiom.getProperty().getNamedProperty());
}
项目:HermiT-android    文件:EntailmentChecker.java   
public Boolean visit(OWLTransitiveObjectPropertyAxiom axiom) {
    return reasoner.isTransitive(axiom.getProperty());
}
项目:HermiT-android    文件:EntailmentChecker.java   
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
}
项目:elk-reasoner    文件:AbstractElkObjectConverter.java   
@Override
public OWLTransitiveObjectPropertyAxiom visit(
        ElkTransitiveObjectPropertyAxiom axiom) {
    return owlFactory_.getOWLTransitiveObjectPropertyAxiom(
            convert(axiom.getProperty()));
}
项目:elk-reasoner    文件:OwlConverter.java   
@SuppressWarnings("static-method")
public ElkTransitiveObjectPropertyAxiom convert(
        OWLTransitiveObjectPropertyAxiom owlTransitiveObjectPropertyAxiom) {
    return new ElkTransitiveObjectPropertyAxiomWrap<OWLTransitiveObjectPropertyAxiom>(
            owlTransitiveObjectPropertyAxiom);
}
项目:elk-reasoner    文件:OwlAxiomConverterVisitor.java   
@Override
public ElkAxiom visit(
        OWLTransitiveObjectPropertyAxiom owlTransitiveObjectPropertyAxiom) {
    return CONVERTER.convert(owlTransitiveObjectPropertyAxiom);
}
项目:elk-reasoner    文件:OwlObjectPropertyAxiomConverterVisitor.java   
@Override
public ElkObjectPropertyAxiom visit(
        OWLTransitiveObjectPropertyAxiom owlTransitiveObjectPropertyAxiom) {
    return CONVERTER.convert(owlTransitiveObjectPropertyAxiom);
}
项目:elk-reasoner    文件:FailingOwlAxiomVisitor.java   
@Override
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    defaultVisit(axiom);
}
项目:Hermit_1.3.8_android    文件:OWLNormalization.java   
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    makeTransitive(axiom.getProperty());
    m_axioms.m_objectPropertiesOccurringInOWLAxioms.add(axiom.getProperty().getNamedProperty());
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public Boolean visit(OWLTransitiveObjectPropertyAxiom axiom) {
    return reasoner.isTransitive(axiom.getProperty());
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
}
项目:owltools    文件:AxiomAnnotationTools.java   
@Override
public OWLAxiom visit(OWLTransitiveObjectPropertyAxiom axiom) {
    return factory.getOWLTransitiveObjectPropertyAxiom(axiom.getProperty(), annotations);
}
项目:owltools    文件:CardinalityContraintsTools.java   
@Override
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
}
项目:Wolpertinger    文件:OWLNormalization.java   
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    makeTransitive(axiom.getProperty());
    m_axioms.m_objectPropertiesOccurringInOWLAxioms.add(axiom.getProperty().getNamedProperty());
}
项目:born    文件:CycleDetector.java   
@Override
public Boolean visit(OWLTransitiveObjectPropertyAxiom axiom) {
    return true;
}
项目:born    文件:ElAxiomFilter.java   
@Override
public Boolean visit(OWLTransitiveObjectPropertyAxiom axiom) {
    return false;
}
项目:born    文件:AnnotationProcessor.java   
@Override
public Boolean visit(OWLTransitiveObjectPropertyAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLTransitiveObjectPropertyAxiom(axiom.getProperty(), reg(axiom.getAnnotations())));
}
项目:born    文件:AnnotationCreator.java   
@Override
public Boolean visit(OWLTransitiveObjectPropertyAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLTransitiveObjectPropertyAxiom(axiom.getProperty(), empty()));
}
项目:semantika    文件:TMappingProcessor.java   
@Override
public void visit(OWLTransitiveObjectPropertyAxiom axiom)
{
   ignoreOwlAxiom("TransitiveObjectProperty", axiom);
}
项目:owlapi-gwt    文件:OWLObjectVisitorExAdapter.java   
@Override
public O visit(OWLTransitiveObjectPropertyAxiom axiom) {
    return doDefault(axiom);
}
项目:owlapi-gwt    文件:OWLObjectTypeIndexProvider.java   
@Override
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    type = AXIOM_TYPE_INDEX_BASE + axiom.getAxiomType().getIndex();
}
项目:owlapi-gwt    文件:NNF.java   
@Override
public OWLAxiom visit(OWLTransitiveObjectPropertyAxiom axiom) {
    return axiom;
}
项目:owlapi-gwt    文件:HashCode.java   
@Override
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    hashCode = primes[32];
    hashCode = hashCode * MULT + axiom.getProperty().hashCode();
    hashCode = hashCode * MULT + axiom.getAnnotations().hashCode();
}
项目:owlapi-gwt    文件:OWLAxiomVisitorAdapter.java   
@Override
public void visit(OWLTransitiveObjectPropertyAxiom axiom) {
    handleDefault(axiom);
}
项目:owlapi-gwt    文件:AbstractEntityRegistrationManager.java   
@Override
public void visit(@Nonnull OWLTransitiveObjectPropertyAxiom axiom) {
    axiom.getProperty().accept(this);
    processAxiomAnnotations(axiom);
}
项目:ontology-core    文件:OWLImporter.java   
private Axiom transformOWLTransitiveObjectPropertyAxiom(OWLTransitiveObjectPropertyAxiom a) {
    OWLObjectPropertyExpression exp = a.getProperty();
    Role r = new NamedRole(exp.asOWLObjectProperty().toStringID());
    return new RoleInclusion(new Role[] { r, r }, r);
}
项目:SVoNt    文件:CEXOWL2ELProfile.java   
public void visit(OWLTransitiveObjectPropertyAxiom arg0) {
    unusedAxiom(arg0);
}
项目:binaryowl    文件:OWLTransitiveObjectPropertyAxiomSerializer.java   
@Override
protected OWLTransitiveObjectPropertyAxiom createAxiom(OWLObjectPropertyExpression propertyExpression, Set<OWLAnnotation> annotations, OWLDataFactory dataFactory) {
    return dataFactory.getOWLTransitiveObjectPropertyAxiom(propertyExpression, annotations);
}
项目:logmap-matcher    文件:OWLMappingAxiomVisitor.java   
public void visit(OWLTransitiveObjectPropertyAxiom arg0) {

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

}