hi,
        
inspired by this page [1] i tried to sparql
for people who managed to die on their birthday.
        
with this query
        
PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>
SELECT *
WHERE {
 ?s <http://dbpedia.org/property/birthDate> ?bd     
 FILTER(datatype(?bd)=xsd:date).
        
  ?s <http://dbpedia.org/property/deathDate> ?dd  
  FILTER(datatype(?dd)=xsd:date). 
        
  FILTER(MONTH(?bd)=MONTH(?dd) && DAY(?bd)=DAY(?dd)) .
} LIMIT 10
        
i get this error [2] at dbpedia's sparqlEndpoint, 
i also tried different birthDate properties that are available but the
result stays the same.
when i look at a resource's page it says the all these dates are of type
xsd:date (example : http://dbpedia.org/page/Le_Corbusier)
        
any pointer appreciated..
wkr turnguard
        
        
[1] http://www.aboutthisday.com
[2] Virtuoso 22007 Error DT001: Function month needs a datetime, date or
time as argument 1, not an arg of type rdf (246)

-- 
| Jürgen Jakobitsch, 
| Software Developer
| Semantic Web Company GmbH
| Mariahilfer Straße 70 / Neubaugasse 1, Top 8
| A - 1070 Wien, Austria
| Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22

COMPANY INFORMATION
| web       : http://www.semantic-web.at/
| foaf      : http://company.semantic-web.at/person/juergen_jakobitsch
PERSONAL INFORMATION
| web       : http://www.turnguard.com
| foaf      : http://www.turnguard.com/turnguard
| g+        : https://plus.google.com/111233759991616358206/posts
| skype     : jakobitsch-punkt
| xmlns:tg  = "http://www.turnguard.com/turnguard#";

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to