Hi there, > In the case of Tom Cruise, i thought this would look something like > this: > > DESCRIBE <http://en.wikipedia.org/wiki/Tom_Cruise> >
Not quite right. That URI identifies the Wikipedia article about Tom Cruise. DBpedia has a own URI for identifying the "concept" Tom Cruise, i.e. the person himself, with all the data about him. That URI is http://dbpedia.org/resource/Tom_Cruise So your query to get all data about Tom Cruise is DESCRIBE <http://dbpedia.org/resource/Tom_Cruise> Cheers, Georgi -- Georgi Kobilarov Freie Universität Berlin www.georgikobilarov.com > -----Original Message----- > From: Marian Dörk [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 05, 2008 4:50 AM > To: <[EMAIL PROTECTED]> > Cc: [email protected] > Subject: Re: [Dbpedia-discussion] selecting data for a given resource / > page > > 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 ------------------------------------------------------------------------- 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
