query-1ca99db2a22b9212bd6f9a440a7f2f42

rq turtle/ttl

Status update Next problem was Listeria that didnt like FILTER with || User:Salgo60/ListeriaNobelData3Thanks for the help the new query looks like it dont time out. I have a good query on FILTER ( !(BOUND(?NobelBirth) = BOUND(?WDBirth)) || !(BOUND(?NobelDeath) = BOUND(?WDDeath)) || !(str(?WDBirth) = str(?NobelBirth)) || !(str(?WDDeath) = str(?NobelDeath)) ) 12:31, 12 October 2018 (UTC)) talk (Salgo60 in the list that confirms the fact ==> an external administrator could then easy check why Wikidata has a different fact and decide if the fact Wikidata state and is different from the administrators source is more correct/trustworthy than his/hers source that is different - WD SourcesWhat would be nice to have in the list is the but rewriting Filter with AND and then it worked. Thanks again... ("Nobel Id 220") may very well be caused by the use of different calendars. (Q48990)Nikolay Semyonov stated for the different birth dates. The 12 days difference for calendar model. Other kind of sources may also be relevant and could be added to the query, but there also seem to be a lot of "strange sources" that will not be shown by this query. I also added the (P854)reference URL or a (P143)imported from Wikimedia project , a (P248)stated in if they are either a (P569)date of birth for WD sources: In the following query, where I have just included the Births (and removed the Gender and Deaths stuff) I have included the Salgo60@

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX foaf:  <http://xmlns.com/foaf/0.1/>
SELECT ?NobelId ?item ?itemLabel ?LaureateNobelUri ?NobelBirth (xsd:date(?WDBirth) AS ?WD_Birth) ?psv569 ?cmLabel ?p248Label ?p143Label ?p854
WHERE
{

{SELECT ?NobelId ?item ?LaureateNobelUri ?NobelBirth ?WDBirth {
  SERVICE <http://data.nobelprize.org/sparql>  {
      SELECT distinct ?NobelId ?LaureateNobelUri ?NobelBirth WHERE {        
      ?LaureateNobelUri <http://data.nobelprize.org/terms/laureateAward> ?NobelAwardid .
      BIND(xsd:integer(REPLACE(str(?LaureateNobelUri),"http://data.nobelprize.org/resource/laureate/","")) AS ?NobelId)
      OPTIONAL{ ?LaureateNobelUri foaf:birthday ?NobelBirth}
      }
   }
  } 
 }  ?item wdt:P2888 ?LaureateNobelUri . 
  OPTIONAL{  ?item p:P569 [ prov:wasDerivedFrom ?ref; psv:P569 [ wikibase:timeValue ?WDBirth; wikibase:timeCalendarModel ?cm ]] . 
     OPTIONAL { ?ref pr:P248 ?p248 }
     OPTIONAL { ?ref pr:P143 ?p143 }
     OPTIONAL { ?ref pr:P854 ?p854 } 
  }
  FILTER(!(xsd:date(?WDBirth)=xsd:date(?NobelBirth))) 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
 ORDER BY DESC(?NobelId) ?p248Label

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?LaureateNobelUri"):::projected v6("?NobelAwardid") v4("?NobelBirth"):::projected v7("?NobelId"):::projected v3("?WDBirth"):::projected v13("?WD_Birth") v9("?cm") v7("?item"):::projected v11("?p143") v10("?p248") v2("?p248Label"):::projected v12("?p854"):::projected v8("?ref") a1((" ")) a2((" ")) c14(["bd:serviceParam"]):::iri c16(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not http://www.w3.org/2001/XMLSchema#date(?WDBirth) = http://www.w3.org/2001/XMLSchema#date(?NobelBirth)"]] f0 --> v3 f0 --> v4 subgraph s1["http://data.nobelprize.org/sparql"] style s1 stroke-width:4px; v5 --http://data.nobelprize.org/terms/laureateAward--> v6 bind1[/"http://www.w3.org/2001/XMLSchema#integer(replace(str(?LaureateNobelUri),'http://data.nobelprize.org/resource/laureate/',''))"/] v5 --o bind1 bind1 --as--o v7 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v5 -.http://xmlns.com/foaf/0.1/birthday.-> v4 end end v7 --"p:direct/P2888"--> v5 subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; a1 -."prov:wasDerivedFrom".-> v8 a2 --"wikibase:timeValue"--> v3 a2 --"wikibase:timeCalendarModel"--> v9 a1 --"p:statement/value/P569"--> a2 v7 --"p:P569"--> a1 subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v8 -."p:reference/P248".-> v10 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v8 -."p:reference/P143".-> v11 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v8 -."p:reference/P854".-> v12 end end subgraph s2["http://wikiba.se/ontology#label"] style s2 stroke-width:4px; c14 --"wikibase:language"--> c16 end bind2[/"http://www.w3.org/2001/XMLSchema#date(?WDBirth)"/] v3 --o bind2 bind2 --as--o v13