query-e34173a3f463440c073866fa4412cb3a

rq turtle/ttl

Time out problem because of P2888I get a time out when Adding line P2888 any advice?!?! to compare WD datasets with external data in this case a small dataset of Nobelprize winners that maybe also WD can help to add better quality of birth and death dates.... User:Salgo60/ListeriaNobelDataMy plan is to set up lists see This works

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX      foaf:  <http://xmlns.com/foaf/0.1/>
SELECT ?NobelId ?item ?LaureateNobelUri ?NobelBirth ?NobelGender ?NobelDeath ?WDBirth ?WDGender ?WDDeath{
   SERVICE <http://data.nobelprize.org/sparql> {
      SELECT distinct ?NobelId ?LaureateNobelUri ?NobelBirth ?NobelDeath ?NobelGender WHERE {
      ?LaureateNobelUri <http://data.nobelprize.org/terms/laureateAward> ?NobelAwardid.
      BIND(REPLACE(str(?LaureateNobelUri),"http://data.nobelprize.org/resource/laureate/","") AS ?NobelId)
      OPTIONAL{ ?LaureateNobelUri foaf:birthday ?NobelBirth}
      OPTIONAL{ ?LaureateNobelUri foaf:gender ?NobelGender}
      OPTIONAL{ ?LaureateNobelUri foaf:birthday ?NobelDeath}
      }
   }
}  order by desc(xsd:integer(?NobelId))

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?LaureateNobelUri"):::projected v3("?NobelAwardid") v4("?NobelBirth"):::projected v6("?NobelDeath"):::projected v5("?NobelGender"):::projected v4("?NobelId"):::projected subgraph s1["http://data.nobelprize.org/sparql"] style s1 stroke-width:4px; v2 --http://data.nobelprize.org/terms/laureateAward--> v3 bind0[/"replace(str(?LaureateNobelUri),'http://data.nobelprize.org/resource/laureate/','')"/] v2 --o bind0 bind0 --as--o v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -.http://xmlns.com/foaf/0.1/birthday.-> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -.http://xmlns.com/foaf/0.1/gender.-> v5 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -.http://xmlns.com/foaf/0.1/birthday.-> v6 end end