Hi again,

Thanks for your quick answer.
But I think the data is correct and a query like
select distinct * {
  ?s <http://dbpedia.org/ontology/birthDate> ?o
   filter(?o < "-43-01-01"^^xsd:date)
} limit 10000
Should return persons born before 43 BC, which it does not. I get either person 
born in 1 AD (mostly data errors) and even persons born in 1100 AD. So the 
filter does not work

Interestingly if I want persons born after 43 BC with
select distinct * {
  ?s <http://dbpedia.org/ontology/birthDate> ?o
   filter(?o > "-43-01-01"^^xsd:date)
} limit 10000
I get only about 20 results (instead of nearly every person)
Is there an error in my sparql query ?

(I tried also filter(?o < "-43"^^xsd:gYear) etc but observed same problem).

Best regard
Johannes

De : Kingsley Idehen [mailto:kide...@openlinksw.com]
Envoyé : jeudi 9 octobre 2014 13:19
À : dbpedia-discussion@lists.sourceforge.net
Objet : Re: [Dbpedia-discussion] years BC problem

On 10/9/14 3:51 AM, 
johannes.heine...@orange.com<mailto:johannes.heine...@orange.com> wrote:
Hello

I'm observing a strange ( ?) behaviour on the dbpedia Sparql-endpoint, and I 
wonder whether this is due to the underlying data or to the Sparql-endpoint 
itself (virtuouso). Following the dumps of dbpedia 2014, the data seems OK 
though.

The query
select distinct * {
  dbpedia:Cicero 
<http://dbpedia.org/ontology/birthDate><http://dbpedia.org/ontology/birthDate> 
?o
}

Returns -043-12-07  (7th of July 43 BC) which is what I expected. However


select distinct * {
  ?s 
<http://dbpedia.org/ontology/birthDate><http://dbpedia.org/ontology/birthDate> 
?o
   filter(?o < "-43-01-01"^^xsd:date)
} limit 100

List all sorts of things (mainly persons though, but none with a birthdate 
before 43 BC). Browsing the dbpedia dumps I found several person born before 43 
BC.
Does anybody know where this error comes from ?

Best regards
Johannes

Its in the data:

1. http://dbpedia.org/resource/Michael_Jordan
2. http://dbpedia.org/resource/Cicero .



--

Regards,



Kingsley Idehen

Founder & CEO

OpenLink Software

Company Web: http://www.openlinksw.com

Personal Weblog 1: http://kidehen.blogspot.com

Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen

Twitter Profile: https://twitter.com/kidehen

Google+ Profile: https://plus.google.com/+KingsleyIdehen/about

LinkedIn Profile: http://www.linkedin.com/in/kidehen

Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to