> I believe this would be the DESCRIBE command of SPARQL:
>
> http://www.w3.org/TR/rdf-sparql-query/#describe
A side note:
SPARQL DESCRIBE can in theory return any data about a concept / URI that
the data publisher thinks is appropriate.
All implementations of SPARQL DESCRIBE I know of do in fact return all
triples directly associated with a URI.
So it has, by implementation, the same result as
SELECT *
where {?s ?p <http://dbpedia.org/resource/Tom_Cruise> . }
UNION
SELECT *
where {<http://dbpedia.org/resource/Tom_Cruise> ?p ?o . }
But that's only by implementation, not necessary by design.
Best,
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