query-3f5bbe98940ecbc061b9104bba301834

rq turtle/ttl

Norwegian persons on norwegian wikipedia not having a reference for their birth-date or death-date ]reply[13:59, 7 June 2020 (UTC)) talk (PmtIs it possible to get a list for all norwegians on Norwegian wikipedia not having a reference for their birth or death date?

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?no 
{ 
  ?item wdt:P27 wd:Q20 ; wdt:P31 wd:Q5 .
  ?no schema:about ?item ; schema:isPartOf <https://no.wikipedia.org/> .
  ?item p:P569 ?claim . 
  OPTIONAL { ?claim prov:wasDerivedFrom ?source . ?source ?p ?v . 
  FILTER NOT EXISTS { ?v wdt:P31 wd:Q10876391 } } 
  FILTER(!bound(?source)) 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?claim") v3("?item"):::projected v4("?no"):::projected v6("?p") v1("?source") v2("?v") c4(["wd:Q20"]):::iri c2(["wd:Q10876391"]):::iri c12(["bd:serviceParam"]):::iri c8([https://no.wikipedia.org/]):::iri c5(["wd:Q5"]):::iri c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not bound(?source)"]] f0 --> v1 v3 --"p:direct/P27"--> c4 v3 --"p:direct/P31"--> c5 v4 --"schema:about"--> v3 v4 --"schema:isPartOf"--> c8 v3 --"p:P569"--> v5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v5 -."prov:wasDerivedFrom".-> v1 v1 -->v6--> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end