Getting all classes and properties from DAML-based ontology

2015-12-09 Thread M. Arif Wicaksana
Hi all, I have a project to use GEDCOM ontology ( http://www.daml.org/2001/01/gedcom/gedcom), enrich it with additional classes and properties, and do some inferences against an RDF file based on the enriched GEDCOM ontology. Currently, I want to print all classes and properties from that ontolog

Re: Getting all classes and properties from DAML-based ontology

2015-12-10 Thread Dave Reynolds
Jena's DAML support was deprecated and then removed some time ago I think. For just finding the classes you could use an RDFS_MEM model since DAML is using rdfs:Class to declare classes (and not owl:Class). However, for interpreting all the DAML specific things like daml:Restriction you will

Re: Getting all classes and properties from DAML-based ontology

2015-12-10 Thread M. Arif Wicaksana
Hi Dave, thanks for your response. I tried using RDFS_MEM. It gave me the classes, but I got the following error for printing the properties: Exception in thread "main" org.apache.jena.ontology.ProfileException: Attempted to use language construct OBJECT_PROPERTY that is not supported in the cur

Re: Getting all classes and properties from DAML-based ontology

2015-12-10 Thread Dave Reynolds
Hi Arif, On 10/12/15 09:19, M. Arif Wicaksana wrote: Hi Dave, thanks for your response. I tried using RDFS_MEM. It gave me the classes, but I got the following error for printing the properties: Exception in thread "main" org.apache.jena.ontology.ProfileException: Attempted to use language c

Re: Getting all classes and properties from DAML-based ontology

2015-12-10 Thread Fajar Juang
Hi Arif, AFAIK, DAML format is not supported by Jena at the moment (also mentioned by Dave before). It was used around year 2000 I think, and then replaced by RDF(S)/OWL format as a standard. I check the GEDCOM ontology, and it shouldn’t be too hard to recreate them in OWL format from scratch

Re: Getting all classes and properties from DAML-based ontology

2015-12-15 Thread M. Arif Wicaksana
Hi Fajar, thanks for your answer. I followed your suggestion to rewrite the ontology in OWL format using protege. I can continue my project now. And thanks for the reading references as well. regards, Arif On Thu, Dec 10, 2015 at 10:44 AM, Fajar Juang wrote: > Hi Arif, > > AFAIK, DAML format i

Re: Getting all classes and properties from DAML-based ontology

2015-12-15 Thread M. Arif Wicaksana
Hi Dave, sorry for my late reply. Thanks for your answer. I didn't know that DAML interface is not supported anymore. Maybe that is why I can't find any information about DAML in Jena documentation. I decided to just rewrite the ontology using OWL specification. Much much easier to do the rest of