Hi Dave, Hi Jena community,

the term "RDF ontology" should just accent, that many people use knowledge 
beses just on RDF level. In terms of the Jena Framework this is a wrong 
expression.

When I understood your answer rigth, I could for instance create an instance of 
OntModel and pass it on to Pellet and Pellet would determine the OWL 
sublanguage or to say it in conformance to OWL2 the OWL2 profile: 

String testont = http://www.testontology.com/testontology.owl;

OntModel model = ModelFactory.createOntologyModel( 
PelletReasonerFactory.THE_SPEC );  

model.read( testont );

Would this work independently of the  language/sublanguage/profile of the 
loaded ontology (or even if the ontology would just be a rdf graph)?

I know, that this is rather a question for the Pellet mailing list, but maybe 
one of you got experiences with it.

Regards,

Marco


-----Ursprüngliche Nachricht-----
Von: "Dave Reynolds" <[email protected]>
Gesendet: 02.06.2011 21:59:09
An: [email protected]
Betreff: Re: investigating ontology type

On Thu, 2011-06-02 at 17:18 +0200, Marco Seysse wrote:
> Dear Jena ontology,
>
> how can I get the type of an ontology one would like to import (RDF, RDF(S) 
> and the three OWL sublanguages)?

The Jena component for species checking an OWL ontology is deprecated
and was never updated to cope with OWL 2 profiles. I'd suggest using
Pellet with jena, or look at separate online or downloadable tools like
Protege.

Note that there's no such thing as an RDF ontology, any RDFS or OWL
vocabulary is also an RDF graph. You can enumerate the properties in an
RDF graph to see if any of the RDFS or OWL vocabulary are mentioned.

Dave






___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

Reply via email to