query-c65db1f135e3990bfd000e1ce7a4e700

rq turtle/ttl

Articles about Canada that has no French Wikipedia articleHello I would like to have a little help with a query. I just found an article in German about a lake in Canada, that has no French articles in WP-fr. I would like to have a query that list (Q8447)French Wikipedia that have no articles on: (P205)basin country / (P27)country of citizenship / (P17)country in property: (Q16)Canada Item: 15:10, 14 December 2016 (UTC)) talk (Benoit RochonThanks a lot for your help! Best regards,

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item (COUNT(?sitelink) AS ?cnt) WHERE {
  ?item wdt:P27|wdt:P205|wdt:P17 wd:Q16 .
  ?sitelink schema:about ?item .
  FILTER NOT EXISTS {
    ?article schema:about ?item .
    ?article schema:isPartOf <https://fr.wikipedia.org/> .
  }
} GROUP BY ?item ORDER BY DESC (?cnt) LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?article") v5("?cnt") v3("?item"):::projected v4("?sitelink"):::projected c5(["wd:Q16"]):::iri c3([https://fr.wikipedia.org/]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1 --"schema:isPartOf"--> e0c3 e0v1("?article"):::projected e0v2("?item"):::projected e0c3([https://fr.wikipedia.org/]):::iri end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> v3 f0 --> c2 f0 --> c3 v2 --"schema:about"--> v3 v2 --"schema:isPartOf"--> c3 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P17"--> c5 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P205"--> c5 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P27"--> c5 end union0r <== or ==> union0l end v4 --"schema:about"--> v3 bind2[/"count(?sitelink)"/] v4 --o bind2 bind2 --as--o v5