openRDF.org Welcome Guest   | Login   
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Search  | Help  | RSS feeds

Forum has been closed down
This forum has been closed down due to extensive spamming activities. Please use the mailing list instead.


Quick Go »
Thread Status: Normal
Total posts in this thread: 3
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 1649 times and has 2 replies Next Thread
Sep 19, 2006 3:54:44 PM

ak74
Member
Member's Avatar


Joined: Sep 19, 2006
Posts: 10
Status: Offline
Help with values

Hello to everybody. I'm new to Sesame and the Philosophy behind it and i want your help through this exploration of mine.
So here is what i want.
I made the foolowing query :

SELECT X,P, V
FROM {X} P {V}
WHERE P = kb:hasType

using namespace
kb = <http://protege.stanford.edu/kb#>

Which gave me results correctly like these:

X P V
http://protege.stanford.edu/kb#AgiosIwannis http://protege.stanford.edu/kb#hasType "Church"
What I want is what should I do (what kind of query), If I know V and want to find X.(In the Example i know "Church" and i want to find the resource "AgiosIwannis").

Thanks in advance.

Antonis
Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Sep 20, 2006 9:49:42 AM

arjohn
OpenRDF project lead
Member's Avatar

The Netherlands
Joined: Jan 23, 2004
Posts: 1289
Status: Offline
Re: Help with values

How about:
SELECT X
FROM {X} kb:hasType {"Church"}
using namespace
kb = <http://protege.stanford.edu/kb#>

----------------------------------------
Arjohn Kampman, OpenRDF project lead, Aduna
Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Sep 20, 2006 10:03:05 AM

ak74
Member
Member's Avatar


Joined: Sep 19, 2006
Posts: 10
Status: Offline
Re: Help with values

Thank you very much !!!

Antonis
Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]