So i'm having an issue with HXT, and i do not know how do i get the first element on that :
<rdfs:subClassOf rdf:resource="http://www.xfront.com/owl/ontologies/camera/#PurchaseableItem"/>
<owl:disjointWith rdf:Description="Hello"/>
<owl:disjointWith rdf:Description="Hello1"/>
<owl:disjointWith rdf:Description="Hello2"/>
<owl:disjointWith rdf:Description="Hello3"/>
<owl:disjointWith rdf:Description="Hello4"/>
<owl:equivalentClass>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="http://www.xfront.com/owl/ontologies/camera/#Body"/>
<owl:Restriction>
<owl:onProperty rdf:resource="http://www.xfront.com/owl/ontologies/camera/#shutter-speed"/>
<owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">0</owl:cardinality>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</owl:equivalentClass>
I do a getChildren
which gives me that answer (two get Children) but i don't want have all these information ! I just want the first line of these getChildren ! Which is : <rdfs:subClassOf.../>
and <owl:equivalentClass>
How could i do that ? Thankfully,
P.S.:
By the way,getChildren return a list of children right ? I did the trick to get the first element of getChildren which is : getChildren >. (!! 0)
and it doesn't work ! Giving me some errors about index too large...