On Thu, 2011-02-03 at 17:40 +0000, McGibbney, Lewis John wrote: > Hi Damian, > > Sorry to pick your brains on this one, but can you please explain the > reasoning behind the requirement for RDF syntax instead of any of the other > alternatives. The reason I am asking is that I am trying to relate to how > Jena reads my ontology files, if whatever parsing mechanism cannot read my > OWL files then I will need to find an alternative method for ontology > construction in the future, as constant conversion is not an efficient method.
A file containing OWL statements in RDF/XML (or Turtle for that matter) *is* an OWL file :) The RDF encoding for OWL, with the RDF/XML serialization, is the "mandatory" syntax for OWL 2 [1] (all others are optional) and is the only normative syntax for OWL 1 (the OWL version Jena actually supports at present). All conformant OWL tools must support that syntax and so can interoperate with Jena. Jena's OWL support is implemented as a layer on top of RDF, not as a separate language, which makes the RDF-based syntaxes must easier to deal with. That said if anyone was motivated to develop language parsers and RDF converters for the other (three!) syntaxes of OWL 2 and contribute them to the Apache incubator project then that would be great. Dave [1] http://www.w3.org/TR/2009/REC-owl2-overview-20091027/#Syntaxes > > Regards > > Lewis > > > > > -----Original Message----- > From: Damian Steer [mailto:[email protected]] > Sent: 03 February 2011 15:59 > To: [email protected] > Subject: Re: Fatal Ontology {E301} - Content not allowed in Prolog > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 03/02/11 15:33, McGibbney, Lewis John wrote: > > Hello list, > > > > Have been trying to load an ontology into my web app, the absolute > > URI is correct, the problem I am having is that I get the following > > output from console when I try to load the ontology. The ontology > > exists in Manchester OWL syntax > > That is, as you suspected, the problem. Convert it to an RDF syntax and > it ought to be fine. > > I think you can use [1] for this task. > > Damian > > [1] <http://owl.cs.manchester.ac.uk/converter/> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk1K0MMACgkQAyLCB+mTtyleyACg5dJkhywPPOqlziaJOp0rurFE > cXQAoL9R+xXo+6kVE8COnu6VnRP3WRVd > =H3hP > -----END PGP SIGNATURE----- > > Email has been scanned for viruses by Altman Technologies' email management > service - www.altman.co.uk/emailsystems > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education’s Widening Participation Initiative of the > Year 2009 and Herald Society’s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education’s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
