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

项目:elk-reasoner    文件:AbstractOwlAxiomConverterVisitor.java   
@Override
public T visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    throw new IllegalArgumentException(
            OWLAsymmetricObjectPropertyAxiom.class.getSimpleName()
                    + " cannot be converted to "
                    + getTargetClass().getSimpleName());
}
项目:Wolpertinger    文件:DebugTranslation.java   
/**
 * Asymetric Role Assertion <i>Asy(r)</i> is translated to:</br>
 * </br>
 * :- r(X,Y),r(Y,X).
 *
 * @see org.semanticweb.owlapi.model.OWLAxiomVisitor#visit(org.semanticweb.owlapi.model.OWLAsymmetricObjectPropertyAxiom)
 */

public void visit(OWLAsymmetricObjectPropertyAxiom asymetricProperty) {
    OWLObjectPropertyExpression property = asymetricProperty.getProperty();

    String propertyName = mapper.getPredicateName(property.getNamedProperty());
    String cVar = var.currentVar();
    String nVar = var.nextVariable();

    writer.write("icons " + ASP2CoreSymbols.IMPLICATION);
    writer.write(String.format(" activated(%d), ", nConstraints++));
    writer.write(propertyName);
    writer.write(ASP2CoreSymbols.BRACKET_OPEN);
    writer.write(cVar);
    writer.write(ASP2CoreSymbols.ARG_SEPERATOR);
    writer.write(nVar);
    writer.write(ASP2CoreSymbols.BRACKET_CLOSE);
    writer.write(ASP2CoreSymbols.CONJUNCTION);
    //writer.write(ASP2CoreSymbols.NAF);
    //writer.write(ASP2CoreSymbols.SPACE);
    writer.write(propertyName);
    writer.write(ASP2CoreSymbols.BRACKET_OPEN);
    writer.write(nVar);
    writer.write(ASP2CoreSymbols.ARG_SEPERATOR);
    writer.write(cVar);
    writer.write(ASP2CoreSymbols.BRACKET_CLOSE);
    writer.write(ASP2CoreSymbols.EOR);
}
项目:Wolpertinger    文件:NaiveTranslation.java   
/**
 * Asymetric Role Assertion <i>Asy(r)</i> is translated to:</br>
 * </br>
 * :- r(X,Y),r(Y,X).
 *
 * @see org.semanticweb.owlapi.model.OWLAxiomVisitor#visit(org.semanticweb.owlapi.model.OWLAsymmetricObjectPropertyAxiom)
 */

public void visit(OWLAsymmetricObjectPropertyAxiom asymetricProperty) {
    writer.write(ASP2CoreSymbols.IMPLICATION);

    OWLObjectPropertyExpression property = asymetricProperty.getProperty();

    String propertyName = mapper.getPredicateName(property.getNamedProperty());
    String cVar = var.currentVar();
    String nVar = var.nextVariable();

    writer.write(propertyName);
    writer.write(ASP2CoreSymbols.BRACKET_OPEN);
    writer.write(cVar);
    writer.write(ASP2CoreSymbols.ARG_SEPERATOR);
    writer.write(nVar);
    writer.write(ASP2CoreSymbols.BRACKET_CLOSE);
    writer.write(ASP2CoreSymbols.CONJUNCTION);
    //writer.write(ASP2CoreSymbols.NAF);
    //writer.write(ASP2CoreSymbols.SPACE);
    writer.write(propertyName);
    writer.write(ASP2CoreSymbols.BRACKET_OPEN);
    writer.write(nVar);
    writer.write(ASP2CoreSymbols.ARG_SEPERATOR);
    writer.write(cVar);
    writer.write(ASP2CoreSymbols.BRACKET_CLOSE);
    writer.write(ASP2CoreSymbols.EOR);
}
项目:OWL2SPARQL    文件:OWLAxiomToSPARQLConverter.java   
@Override
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    String propertyURI = axiom.getProperty().asOWLObjectProperty().toStringID();
    ParameterizedSparqlString query = new ParameterizedSparqlString("?s ?p ?o . FILTER NOT EXISTS{?o ?p ?s}");
    query.setIri("p", propertyURI);
    sparql += query.toString();
}
项目:owlapi-gwt    文件:OWLAsymmetricObjectPropertyAxiomImpl.java   
@Nonnull
@Override
public OWLAsymmetricObjectPropertyAxiom getAxiomWithoutAnnotations() {
    if (!isAnnotated()) {
        return this;
    }
    return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(),
            NO_ANNOTATIONS);
}
项目:owlapi-gwt    文件:OWLAsymmetricObjectPropertyAxiomImpl.java   
@Override
public boolean equals(Object obj) {
    if (this == obj) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    return obj instanceof OWLAsymmetricObjectPropertyAxiom;
}
项目:jopa    文件:IntegrityConstraintParser.java   
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    notSupported(axiom);
}
项目:HermiT-android    文件:OWLNormalization.java   
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    makeAsymmetric(axiom.getProperty());
    m_axioms.m_objectPropertiesOccurringInOWLAxioms.add(axiom.getProperty().getNamedProperty());
}
项目:HermiT-android    文件:EntailmentChecker.java   
public Boolean visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    return reasoner.isAsymmetric(axiom.getProperty());
}
项目:HermiT-android    文件:EntailmentChecker.java   
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
}
项目:elk-reasoner    文件:AbstractElkObjectConverter.java   
@Override
public OWLAsymmetricObjectPropertyAxiom visit(
        ElkAsymmetricObjectPropertyAxiom axiom) {
    return owlFactory_.getOWLAsymmetricObjectPropertyAxiom(
            convert(axiom.getProperty()));
}
项目:elk-reasoner    文件:OwlConverter.java   
@SuppressWarnings("static-method")
public ElkAsymmetricObjectPropertyAxiom convert(
        OWLAsymmetricObjectPropertyAxiom owlAsymmetricObjectPropertyAxiom) {
    return new ElkAsymmetricObjectPropertyAxiomWrap<OWLAsymmetricObjectPropertyAxiom>(
            owlAsymmetricObjectPropertyAxiom);
}
项目:elk-reasoner    文件:OwlAxiomConverterVisitor.java   
@Override
public ElkAxiom visit(
        OWLAsymmetricObjectPropertyAxiom owlAsymmetricObjectPropertyAxiom) {
    return CONVERTER.convert(owlAsymmetricObjectPropertyAxiom);
}
项目:elk-reasoner    文件:OwlObjectPropertyAxiomConverterVisitor.java   
@Override
public ElkObjectPropertyAxiom visit(
        OWLAsymmetricObjectPropertyAxiom owlAsymmetricObjectPropertyAxiom) {
    return CONVERTER.convert(owlAsymmetricObjectPropertyAxiom);
}
项目:elk-reasoner    文件:FailingOwlAxiomVisitor.java   
@Override
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    defaultVisit(axiom);
}
项目:Hermit_1.3.8_android    文件:OWLNormalization.java   
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    makeAsymmetric(axiom.getProperty());
    m_axioms.m_objectPropertiesOccurringInOWLAxioms.add(axiom.getProperty().getNamedProperty());
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public Boolean visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    return reasoner.isAsymmetric(axiom.getProperty());
}
项目:Hermit_1.3.8_android    文件:EntailmentChecker.java   
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
}
项目:owltools    文件:AxiomAnnotationTools.java   
@Override
public OWLAxiom visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    return factory.getOWLAsymmetricObjectPropertyAxiom(axiom.getProperty(), annotations);
}
项目:owltools    文件:CardinalityContraintsTools.java   
@Override
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
}
项目:Wolpertinger    文件:OWLNormalization.java   
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    makeAsymmetric(axiom.getProperty());
    m_axioms.m_objectPropertiesOccurringInOWLAxioms.add(axiom.getProperty().getNamedProperty());
}
项目:born    文件:CycleDetector.java   
@Override
public Boolean visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    return true;
}
项目:born    文件:ElAxiomFilter.java   
@Override
public Boolean visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    return false;
}
项目:born    文件:AnnotationProcessor.java   
@Override
public Boolean visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLAsymmetricObjectPropertyAxiom(axiom.getProperty(), reg(axiom.getAnnotations())));
}
项目:born    文件:AnnotationCreator.java   
@Override
public Boolean visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    Objects.requireNonNull(axiom);
    return add(this.df.getOWLAsymmetricObjectPropertyAxiom(axiom.getProperty(), empty()));
}
项目:jcel    文件:AxiomTranslator.java   
@Override
public Set<ComplexIntegerAxiom> visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    Objects.requireNonNull(axiom);
    throw TranslationException.newUnsupportedAxiomException(axiom);
}
项目:semantika    文件:TMappingProcessor.java   
@Override
public void visit(OWLAsymmetricObjectPropertyAxiom axiom)
{
   ignoreOwlAxiom("AsymmetricObjectProperty", axiom);
}
项目:owlapi-gwt    文件:OWLObjectVisitorExAdapter.java   
@Override
public O visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    return doDefault(axiom);
}
项目:owlapi-gwt    文件:OWLObjectTypeIndexProvider.java   
@Override
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    type = AXIOM_TYPE_INDEX_BASE + axiom.getAxiomType().getIndex();
}
项目:owlapi-gwt    文件:NNF.java   
@Override
public OWLAxiom visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    return axiom;
}
项目:owlapi-gwt    文件:HashCode.java   
@Override
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    hashCode = primes[0];
    hashCode = hashCode * MULT + axiom.getProperty().hashCode();
    hashCode = hashCode * MULT + axiom.getAnnotations().hashCode();
}
项目:owlapi-gwt    文件:OWLAxiomVisitorAdapter.java   
@Override
public void visit(OWLAsymmetricObjectPropertyAxiom axiom) {
    handleDefault(axiom);
}
项目:owlapi-gwt    文件:AbstractEntityRegistrationManager.java   
@Override
public void visit(@Nonnull OWLAsymmetricObjectPropertyAxiom axiom) {
    axiom.getProperty().accept(this);
    processAxiomAnnotations(axiom);
}
项目:owlapi-gwt    文件:OWLAsymmetricObjectPropertyAxiomImpl.java   
@Override
public OWLAsymmetricObjectPropertyAxiom getAnnotatedAxiom(
        Set<OWLAnnotation> annotations) {
    return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(),
            mergeAnnos(annotations));
}
项目:SVoNt    文件:PelletOWL2ELProfile.java   
public Object visit(OWLAsymmetricObjectPropertyAxiom axiom) {
  profileViolations.add(new UseOfIllegalAxiom(getCurrentOntology(), axiom));
  return null;
}
项目:SVoNt    文件:CEXOWL2ELProfile.java   
public void visit(OWLAsymmetricObjectPropertyAxiom arg0) {
    unusedAxiom(arg0);
}
项目:binaryowl    文件:OWLAsymmetricObjectPropertyAxiomSerializer.java   
@Override
protected OWLAsymmetricObjectPropertyAxiom createAxiom(OWLObjectPropertyExpression propertyExpression, Set<OWLAnnotation> annotations, OWLDataFactory dataFactory) {
    return dataFactory.getOWLAsymmetricObjectPropertyAxiom(propertyExpression, annotations);
}
项目:logmap-matcher    文件:OWLMappingAxiomVisitor.java   
public void visit(OWLAsymmetricObjectPropertyAxiom arg0) {

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

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

}