Re: listInstances OntClass problem

2013-01-29 Thread Panagiotis Papadakos
Thanks for the reply Dave. It seems that jena.apache.org/documentation/ontology/index.html Fig. 5 explains what you are explaining in your email. I still believe thought that javadocs should be more clear about this. Thanks again Regards Papadakos Panagiotis On Tue, Jan 29, 2013 at 3:24 PM,

Re: Re: listInstances OntClass problem

2013-01-28 Thread Panagiotis Papadakos
Thanks for the reply Chris. Can somebody please describe what is the expected behaviour of listInstances as explained in my previous email? Thank you. Regards Panagiotis On Thu, Jan 24, 2013 at 3:46 PM, Chris Dollin chris.dol...@epimorphics.comwrote: On Thursday, January 24, 2013 03:08:35

Re: listInstances OntClass problem

2013-01-24 Thread Panagiotis Papadakos
Ian and Dave, thank you both for your help. I didn't post the correct code and I am sorry for this. Regarding the ontology, I know it is not correct. Maybe changing Europe to European, Germany to German, etc. would be better. Now regarding the listInstances method, I still believe something is

Re: Re: listInstances OntClass problem

2013-01-24 Thread Chris Dollin
On Thursday, January 24, 2013 03:08:35 PM Panagiotis Papadakos wrote: Finally, regarding performance,I would like to know if jena internally uses indices that can provide me fast access from classes to instances and from instances to classes. Else I probably will have to implement them. (a)

Re: listInstances OntClass problem

2013-01-23 Thread Ian Dickinson
Hi Panagiotis, On 23/01/13 18:46, Panagiotis Papadakos wrote: Assume the attached RDF file. This is a simple Manufacturer - Europe (subclass) - Germany (subclass) - Audi (subclass) - Instance, which has been created using inference for subclass and type from jena. The problem that I have is