Help loading Ontology

2013-09-04 Thread Luis Eufrasio Teixeira Neto
Dear All, I am trying to load an Ontology (attached) where there are classes with the same datatype property. For example: foaf:Document a owl:Class , rdfs:Class ; rdfs:label foaf:Document ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty dc:creator ;

RE: Help loading Ontology

2013-09-04 Thread Ed Swing
for. 2) Create a union of the classes (Datable?), and define the domain to be the union class. From: Luis Eufrasio Teixeira Neto [mailto:luis.eufra...@gmail.com] Sent: Wednesday, September 04, 2013 9:01 AM To: users@jena.apache.org Subject: Help loading Ontology Dear All, I am trying to load

Re: Help loading Ontology

2013-09-04 Thread Chris Dollin
On Wednesday, September 04, 2013 10:00:51 AM Luis Eufrasio Teixeira Neto wrote: Non-date remarks: ExtendedIteratorOntClass i = ontModel.listClasses(); while (i.hasNext()) { OntClass ontClass = (OntClass) i.next(); String prefix =

Re: Help loading Ontology

2013-09-04 Thread Luis Eufrasio Teixeira Neto
Thanks for all responses, listDomain sugested by Dave Reynolds solved my problem. 2013/9/4 Chris Dollin chris.dol...@epimorphics.com On Wednesday, September 04, 2013 10:00:51 AM Luis Eufrasio Teixeira Neto wrote: Non-date remarks: ExtendedIteratorOntClass i =