Hi Mohamed,
Thanks for the reply. But this makes no sense to me, strictly talking like a
developer. Why have two URIs, and in terms of coding that does mean that every
time I get a URI I need to check for this property and if it does do another
query with that URI. It looks like overkill to me. I'm sure there is some
reason for this - I'm just trying to understand if I need to make additional
queries. Sorry, I'm not a DBpedia expert.
--Igor
On 26 Apr 2012, at 11:49, Mohamed Morsey wrote:
> Hi Igor,
>
> On 04/26/2012 12:15 PM, Igor Popov wrote:
>>
>> Hi all,
>>
>> I have a problem getting all the data for a particular URI using the SPARQL
>> endpoint
>>
>> When I run the query select distinct ?property ?object where {
>> <http://dbpedia.org/resource/USS_S-40> ?property ?object} I get only 3
>> properties back (see results here
>> http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=select+distinct+%3Fproperty+%3Fobject+where+%7B+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FUSS_S-40%3E+%3Fproperty+%3Fobject%7D&format=text%2Fhtml&timeout=0&debug=on)
>>
>> But on when I use the URI in the browser it clearly has more data:
>> http://dbpedia.org/page/USS_S-40_%28SS-145%29
>>
>> Am I missing something here???
>>
>> Thanks
>> --Igor
>
> this is because the result set of your SPARQL query contains the predicate
> "http://dbpedia.org/ontology/wikiPageRedirects", which refers to another
> DBpedia resource.
> The dbpedia vad file of Virtuoso is intelligent enough to display the page
> containing information about the referenced resource.
>
> Hope that clarifies the issue.
> --
> Kind Regards
> Mohamed Morsey
> Department of Computer Science
> University of Leipzig
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion