Hi Marco,

I am not quite clear of the context in which you wish to use your first goal, 
however I can relate to your second goal and would advise you to look at some 
of the code here [1], hopefully you will find some of it useful.

This plug-in uses Jena to provide users with exactly the 'query expansion' you 
refer to e.g. when a user query matches any given class within an RDF/XML 
resource they retrieve related classes which they can then drill down to sub 
classes hopefully refining their query. As far as I am aware the parser 
included within the plug-in is configured to parse RDF/XML however do not hold 
me to this, the reason I say this is because I tried the plug-in with my 
ontology in OWL and it did not work properly.

[1] http://svn.apache.org/viewvc/nutch/tags/release-1.2/src/plugin/ontology/

HTH

Lewis


________________________________________
From: Marco Seysse [[email protected]]
Sent: 18 May 2011 22:40
To: [email protected]
Subject: Re: Jena OWL API and Graph Interface

Hi Dave, Hi Ian,

thanks for your remarks. You told me already, that "Semantic Search" has 
different meanings.

My first goal is to list all concepts of an OWL, RDF(S) ontology, which means 
to list all classes and instance of these classes. This goal, I haven't 
mentioned before.

My secound goal is to find concepts in an OWL, RDF(S) ontology, that are 
related with other concepts. The last ones are known and provided by an user, 
who hopes to find concepts, that could interest him/her. Thus my idea is a kind 
of query expansion. That's why it was obvious to me, to jump between classes/ 
instances via there connecting relations.

Dave you assume the right. With "their  relations" I mean e.g. rdfs:subClassOf.

I hope my ideas are now more clear.

Sorry, that I ignored the links to code examples in the documentation of the 
OWL API. I will watch them soon.

My question about the Graph interface got its resons in reading the 
documentation of the Inference API, where the interface InfGraph plays a role. 
Since this interface is importand in terms of containing reasoning results and 
derived from Graph, I anyhow got the idea, that Graph is important for each 
developer.
Could it be, that InfModel should be preferred to InfGraph like Model should be 
used instead of Graph for the most purposes?

Best regards,

Marco


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

Reply via email to