[redland-dev] Parsing RDF

Ian Upright iupright at visualknowledge.com
Tue Dec 13 23:36:01 GMT 2005


Hello, I am using the Raptor parser to parse an OWL file, by using
librdf_parser_parse_as_stream.

 

When I have an anonymous resource such as r1r417, what is the correct means
of determining what Ontology that statement belongs to?

For example, the very last statement always seems to be something like:

 

http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine    

http://www.w3.org/1999/02/22-rdf-syntax-ns#type    

http://www.w3.org/2002/07/owl#Ontology

 

So by this do I know that all the restrictions and such in this file belong
to http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine because it is the
last statement?  Or is there some more correct way of determining this that
I am missing?  I assume, that an ontology can extend another ontology, so
there must be a way of easily determining what ontology is in context.

 

Hopefully I've made myself clear.

 

Thanks, Ian

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnomehack.com/pipermail/redland-dev/attachments/20051213/e80c508a/attachment.htm


More information about the redland-dev mailing list