- From: Danny Ayers <danny.ayers@gmail.com>
- Date: Fri, 6 Jul 2007 13:14:40 +0100
- To: SW-forum <semantic-web@w3.org>, "jena-dev@yahoogroups.com" <jena-dev@yahoogroups.com>
- Cc: acamposr@gmail.com, semantic_web@googlegroups.com
[offhand I don't know the answer - forwarding to other lists, you could also ask on IRC #jena or #swig on irc.freenode.net] ---------- Forwarded message ---------- From: Alex <acamposr@gmail.com> Date: 06-Jul-2007 12:58 Subject: [Semantic_Web] Application using Jena: a design question To: Semantic Web <semantic_web@googlegroups.com> Hello, I would like you to give me some advice about this situation. I have got a big ontology with many many individuals. In my program, I load that ontology in memory with a JenaOWLModel object. I want my program to listen to some "queries". The way a remote computer can send a query is by sending an ontology (the XML file) that extends mine and defines an extra class. I will infer which individuals in my ontology belong to that class and return their URIs. My question is: which is the best way to design this? At the moment, the only way I can figure out is by receiving the XML file, creating a new JenaOWLModel and using a reasoner. But that could mean a very low performance because every time I load a complete ontology again I will have to load a lot of individuals. Am I right? Is there any way to avoid loading all these individuals again and again? Any suggestions? Thank-you very much! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Web" group. To post to this group, send email to semantic_web@googlegroups.com To unsubscribe from this group, send email to semantic_web-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/semantic_web?hl=en -~----------~----~----~----~------~----~------~--~--- -- http://dannyayers.com
Received on Friday, 6 July 2007 12:14:48 UTC