Hi,

I managed to connect to the KIM Proton KB using the sesame web ui and to issue a couple of SeRQL statements. However, I'd like to display all entities that have any relation to the object whose label is "UK". If I issue:

SELECT E, R FROM {UK} <http://www.w3.org/2000/01/rdf-schema#label> {"UK"},
                                   {E} R {UK}

Query results:
E R
http://www.ontotext.com/kim/2005/04/wkb#Person.UK_R.50196 http://proton.semanticweb.org/2005/04/protons#hasMainAlias
http://www.ontotext.com/kim/2005/04/wkb#Person.UK_R.50196 http://proton.semanticweb.org/2005/04/protons#hasAlias
http://www.ontotext.com/kim/2005/04/wkb#Country_T.UK http://proton.semanticweb.org/2005/04/protons#hasAlias

result quite different than the desired:

Query results:
E
http://www.ontotext.com/kim/2005/04/wkb#Mountain_T.3
http://www.ontotext.com/kim/2005/04/wkb#Mountain_T.2
http://www.ontotext.com/kim/2005/04/wkb#MountainRange_T.59
http://www.ontotext.com/kim/2005/04/wkb#River_T.34
http://www.ontotext.com/kim/2005/04/wkb#River_T.33
http://www.ontotext.com/kim/2005/04/wkb#CountryCapital_T.146
http://www.ontotext.com/kim/2005/04/wkb#City_T.615
http://www.ontotext.com/kim/2005/04/wkb#City_T.2542
...

obtained without the label "indirection":

SELECT E FROM {E} R {<http://www.ontotext.com/kim/2005/04/wkb#Country_T.UK>}

Any help with the desired query will be greatly appreciated.

Thanks.

Cheers,
Mircea
_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com

Reply via email to