I believe this would be the DESCRIBE command of SPARQL:

http://www.w3.org/TR/rdf-sparql-query/#describe


In the case of Tom Cruise, i thought this would look something like  
this:

   DESCRIBE <http://en.wikipedia.org/wiki/Tom_Cruise>

Or:

DESCRIBE ?resource
WHERE {?resource foaf:page "http://en.wikipedia.org/wiki/Tom_Cruise"; .}


However, this doesnt seem to work for the DBpedia endpoint. The query  
doesnt finish. But in one of the examples for the snorql interface,  
this has been done instead:

SELECT ?property ?hasValue ?isValueOf WHERE {
{ <http://dbpedia.org/resource/Tom_Cruise> ?property ?hasValue }
UNION
{ ?isValueOf ?property <http://dbpedia.org/resource/Tom_Cruise> } }

Link: http://tinyurl.com/47etv4


This should work similar to what i expected DESCRIBE would do.

Hope this helps.

Marian


Am 04.10.2008 um 20:07 schrieb <[EMAIL PROTECTED]> <[EMAIL PROTECTED] 
 >:

> What query can I use to get the data (all) for a given resource /  
> page such as:
> http://en.wikipedia.org/wiki/Tom_Cruise


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to