Hi,
I have a problem while testing if my class is an intersectionClass or not.
Let assume that my class is :

<owl:Class rdf:about="&gs;C">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="&foaf;Organization"/>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="&gs;isAgent"/>
                        <owl:allValuesFrom rdf:resource="&gs;ViolentAct"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="&gs;place"/>
                        <owl:allValuesFrom rdf:resource="&v;Address"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
    </owl:Class>

When I try to use it as an intersectionClass to recover operands, I have an
exception which indicate me that C is not an intersectionClass:
*Exception in thread "main" com.hp.hpl.jena.ontology.ConversionException:
Cannot convert node http://www.geolsemantics.com/onto#C to IntersectionClass
*

Do you have any idea of where the problem comes? cause I'm very blocked.

Best regards,
F.K.

Reply via email to