Il 14/09/2011 12:26, Kingsley Idehen ha scritto:
On 9/14/11 1:14 PM, Roberto Mirizzi wrote:
Hi all,
can you figure out why the following SPARQL query does not return any
results on http://dbpedia.org/sparql, while it does return some results
on http://lod.openlinksw.com/sparql?
#############
PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>
PREFIX dbpedia-owl:<http://dbpedia.org/ontology/>
SELECT ?person
WHERE{
?person dbpedia-owl:birthDate "1967-08-21"^^xsd:date .
}
#############
I suspect it's a problem of the "official" endpoint. Any idea about
that?
cheers,
roberto
Short answer:
DBpedia 3.7 has the property: <http://dbpedia.org/property/dateOfBirth> .
LOD Cloud Cache: <http://dbpedia.org/ontology/birthDate> .
Detailed answer coming.
Hi Kingsley,
thank's for your short answer and for the long one. :-)
Anyway, concerning to the short answer, if I ask a similar query on both
endpoint, I get some results in both cases:
#############
PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>
PREFIX dbpedia-owl:<http://dbpedia.org/ontology/>
SELECT *
WHERE{
?person dbpedia-owl:birthDate ?d .
}
#############
And if I go to http://dbpedia.org/page/Jack_Manack, I can see both
dbpedia-owl:birthDate and dbpprop:dateOfBirth.
Again, if I try the following query on both endpoints, I get some
results on lod.openlinksw.com/sparql and no results on dbpedia.org/sparql:
#############
PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>
PREFIX dbpprop:<http://dbpedia.org/property/>
SELECT ?person
WHERE{
?person dbpprop:dateOfBirth "1967-08-21"^^xsd:date .
}
#############
In other words,
?person dbpedia-owl:birthDate ?d . returns results on both
?person dbpedia-owl:birthDate "1967-08-21"^^xsd:date . no results on dbpedia
?person dbpprop:dateOfBirth ?d . returns results on both
?person dbpprop:dateOfBirth "1967-08-21"^^xsd:date . no results on dbpedia
cheers,
roberto
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs& more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion