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

项目:HermiT-android    文件:EntailmentChecker.java   
public Boolean visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    // see OWL 2 Syntax, Sec 11.2
    // No axiom in Ax of the following form contains anonymous individuals:
    // SameIndividual, DifferentIndividuals, NegativeObjectPropertyAssertion, and NegativeDataPropertyAssertion.
    if (axiom.getSubject().isAnonymous()) {
        throw new IllegalArgumentException("NegativeDataPropertyAssertion axioms are not allowed to be used "+"with anonymous individuals (see OWL 2 Syntax Sec 11.2) and the subject "+axiom.getSubject()+" of the axiom "+axiom+" is anonymous. ");
    }
    OWLClassExpression hasValue=factory.getOWLDataHasValue(axiom.getProperty(),axiom.getObject());
    OWLClassExpression doesNotHaveValue=factory.getOWLObjectComplementOf(hasValue);
    return reasoner.hasType(axiom.getSubject().asOWLNamedIndividual(),doesNotHaveValue,false);
}
项目:elk-reasoner    文件:AbstractElkObjectConverter.java   
@Override
public OWLNegativeDataPropertyAssertionAxiom visit(
        ElkNegativeDataPropertyAssertionAxiom axiom) {
    return owlFactory_.getOWLNegativeDataPropertyAssertionAxiom(
            convert(axiom.getProperty()), convert(axiom.getSubject()),
            convert(axiom.getObject()));
}
项目:elk-reasoner    文件:AbstractOwlAxiomConverterVisitor.java   
@Override
public T visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    throw new IllegalArgumentException(
            OWLNegativeDataPropertyAssertionAxiom.class.getSimpleName()
                    + " cannot be converted to "
                    + getTargetClass().getSimpleName());
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public Boolean visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    // see OWL 2 Syntax, Sec 11.2
    // No axiom in Ax of the following form contains anonymous individuals:
    // SameIndividual, DifferentIndividuals, NegativeObjectPropertyAssertion, and NegativeDataPropertyAssertion.
    if (axiom.getSubject().isAnonymous()) {
        throw new IllegalArgumentException("NegativeDataPropertyAssertion axioms are not allowed to be used "+"with anonymous individuals (see OWL 2 Syntax Sec 11.2) and the subject "+axiom.getSubject()+" of the axiom "+axiom+" is anonymous. ");
    }
    OWLClassExpression hasValue=factory.getOWLDataHasValue(axiom.getProperty(),axiom.getObject());
    OWLClassExpression doesNotHaveValue=factory.getOWLObjectComplementOf(hasValue);
    return reasoner.hasType(axiom.getSubject().asOWLNamedIndividual(),doesNotHaveValue,false);
}
项目:owlapi-gwt    文件:HashCode.java   
@Override
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    hashCode = primes[21];
    hashCode = hashCode * MULT + axiom.getSubject().hashCode();
    hashCode = hashCode * MULT + axiom.getProperty().hashCode();
    hashCode = hashCode * MULT + axiom.getObject().hashCode();
    hashCode = hashCode * MULT + axiom.getAnnotations().hashCode();
}
项目:owlapi-gwt    文件:OWLNegativeDataPropertyAssertionAxiomImpl.java   
@Override
public OWLNegativeDataPropertyAssertionAxiom getAxiomWithoutAnnotations() {
    if (!isAnnotated()) {
        return this;
    }
    return new OWLNegativeDataPropertyAssertionAxiomImpl(getSubject(),
            getProperty(), getObject(), NO_ANNOTATIONS);
}
项目:owlapi-gwt    文件:OWLNegativeDataPropertyAssertionAxiomImpl.java   
@Override
public boolean equals(Object obj) {
    if (this == obj) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    return obj instanceof OWLNegativeDataPropertyAssertionAxiom;
}
项目:owlapi-gwt    文件:AbstractEntityRegistrationManager.java   
@Override
public void visit(@Nonnull OWLNegativeDataPropertyAssertionAxiom axiom) {
    axiom.getSubject().accept(this);
    axiom.getProperty().accept(this);
    axiom.getObject().accept(this);
    processAxiomAnnotations(axiom);
}
项目:jopa    文件:IntegrityConstraintParser.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    notSupported(axiom);
}
项目:HermiT-android    文件:BuiltInPropertyManager.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom object) {
    visitProperty(object.getProperty());
}
项目:HermiT-android    文件:OWLNormalization.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    checkTopDataPropertyUse(axiom.getProperty(),axiom);
    if (axiom.containsAnonymousIndividuals())
        throw new IllegalArgumentException("The axiom "+axiom+" contains anonymous individuals, which is not allowed in OWL 2 DL. ");
    addFact(axiom);
}
项目:HermiT-android    文件:OWLClausification.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom object) {
    Constant targetValue=(Constant)object.getObject().accept(m_dataRangeConverter);
    m_negativeFacts.add(getRoleAtom(object.getProperty(),getIndividual(object.getSubject()),targetValue));
}
项目:HermiT-android    文件:ReducedABoxOnlyClausification.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom object) {
    Constant targetValue=getConstant(object.getObject());
    m_negativeFacts.add(getRoleAtom(object.getProperty(),getIndividual(object.getSubject()),targetValue));
}
项目:HermiT-android    文件:EntailmentChecker.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
}
项目:elk-reasoner    文件:OwlConverter.java   
@SuppressWarnings("static-method")
public ElkNegativeDataPropertyAssertionAxiom convert(
        OWLNegativeDataPropertyAssertionAxiom owlNegativeDataPropertyAssertionAxiom) {
    return new ElkNegativeDataPropertyAssertionAxiomWrap<OWLNegativeDataPropertyAssertionAxiom>(
            owlNegativeDataPropertyAssertionAxiom);
}
项目:elk-reasoner    文件:OwlAxiomConverterVisitor.java   
@Override
public ElkAxiom visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    return CONVERTER.convert(axiom);
}
项目:elk-reasoner    文件:OwlIndividualAxiomConverterVisitor.java   
@Override
public ElkAssertionAxiom visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    return CONVERTER.convert(axiom);
}
项目:elk-reasoner    文件:FailingOwlAxiomVisitor.java   
@Override
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    defaultVisit(axiom);
}
项目:Hermit_1.3.8_android    文件:BuiltInPropertyManager.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom object) {
    visitProperty(object.getProperty());
}
项目:Hermit_1.3.8_android    文件:OWLNormalization.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    checkTopDataPropertyUse(axiom.getProperty(),axiom);
    if (axiom.containsAnonymousIndividuals())
        throw new IllegalArgumentException("The axiom "+axiom+" contains anonymous individuals, which is not allowed in OWL 2 DL. ");
    addFact(axiom);
}
项目:Hermit_1.3.8_android    文件:OWLClausification.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom object) {
    Constant targetValue=(Constant)object.getObject().accept(m_dataRangeConverter);
    m_negativeFacts.add(getRoleAtom(object.getProperty(),getIndividual(object.getSubject()),targetValue));
}
项目:Hermit_1.3.8_android    文件:ReducedABoxOnlyClausification.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom object) {
    Constant targetValue=getConstant(object.getObject());
    m_negativeFacts.add(getRoleAtom(object.getProperty(),getIndividual(object.getSubject()),targetValue));
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
}
项目:owltools    文件:AxiomAnnotationTools.java   
@Override
public OWLAxiom visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    return factory.getOWLNegativeDataPropertyAssertionAxiom(axiom.getProperty(), axiom.getSubject(), axiom.getObject(), annotations);
}
项目:owltools    文件:CardinalityContraintsTools.java   
@Override
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
}
项目:Wolpertinger    文件:OWLNormalization.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    checkTopDataPropertyUse(axiom.getProperty(),axiom);
    if (axiom.containsAnonymousIndividuals())
        throw new IllegalArgumentException("The axiom "+axiom+" contains anonymous individuals, which is not allowed in OWL 2 DL. ");
    addFact(axiom);
}
项目:born    文件:CycleDetector.java   
@Override
public Boolean visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    return true;
}
项目:born    文件:ElAxiomFilter.java   
@Override
public Boolean visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    return false;
}
项目:born    文件:AnnotationProcessor.java   
@Override
public Boolean visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLNegativeDataPropertyAssertionAxiom(axiom.getProperty(), axiom.getSubject(),
            axiom.getObject(), reg(axiom.getAnnotations())));
}
项目:born    文件:AnnotationCreator.java   
@Override
public Boolean visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLNegativeDataPropertyAssertionAxiom(axiom.getProperty(), axiom.getSubject(),
            axiom.getObject(), empty()));
}
项目:jcel    文件:AxiomTranslator.java   
@Override
public Set<ComplexIntegerAxiom> visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    Objects.requireNonNull(axiom);
    throw TranslationException.newUnsupportedAxiomException(axiom);
}
项目:semantika    文件:TMappingProcessor.java   
@Override
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom)
{
   ignoreOwlAxiom("NegavtiveDataPropertyAssertion", axiom);
}
项目:OWL2SPARQL    文件:OWLAxiomToSPARQLConverter.java   
@Override
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    aBoxAxiomsNotSupportedWarning(axiom);
}
项目:owlapi-gwt    文件:OWLObjectVisitorExAdapter.java   
@Override
public O visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    return doDefault(axiom);
}
项目:owlapi-gwt    文件:OWLObjectTypeIndexProvider.java   
@Override
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    type = AXIOM_TYPE_INDEX_BASE + axiom.getAxiomType().getIndex();
}
项目:owlapi-gwt    文件:NNF.java   
@Override
public OWLAxiom visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    return axiom;
}
项目:owlapi-gwt    文件:OWLAxiomVisitorAdapter.java   
@Override
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) {
    handleDefault(axiom);
}
项目:owlapi-gwt    文件:OWLNegativeDataPropertyAssertionAxiomImpl.java   
@Override
public OWLNegativeDataPropertyAssertionAxiom getAnnotatedAxiom(
        Set<OWLAnnotation> annotations) {
    return new OWLNegativeDataPropertyAssertionAxiomImpl(getSubject(),
            getProperty(), getObject(), mergeAnnos(annotations));
}
项目:SVoNt    文件:CEXOWL2ELProfile.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom arg0) {
    unusedAxiom(arg0);
}
项目:logmap-matcher    文件:OWLMappingAxiomVisitor.java   
public void visit(OWLNegativeDataPropertyAssertionAxiom arg0) {

}