query-d3838d80af961222f8feda9fee3bece5

rq turtle/ttl

: I got this atm. : ValterVB@: This is it : ValterVB@

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 pr: <http://www.wikidata.org/prop/reference/>
select ?item ?prop ?code where {
  ?item ?prop [
     prov:wasDerivedFrom [
       pr:P143 ?wikipedia
     ]
  ] .

  [] wikibase:claim ?prop .

  ?wikipedia wdt:P31 wd:Q10876391 .

  filter not exists {
     ?article schema:isPartOf ?articlewp; 
              schema:about ?item .
     bind(concat("https://", ?code, ".wikipedia.org/") as ?wpurl)
     filter(str(?articlewp) = ?wpurl) .

  }
  ?wikipedia wdt:P424 ?code .
} limit 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?article") v1("?articlewp") v7("?code"):::projected v4("?item"):::projected v6("?prop"):::projected v5("?wikipedia") v5("?wpurl") a3((" ")) a2((" ")) a1((" ")) c7(["wd:Q10876391"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["str(?articlewp) = ?wpurl"]] e0f0 --> e0v1 e0f0 --> e0v5 e0v3 --"schema:isPartOf"--> e0v1 e0v3 --"schema:about"--> e0v4 e0bind1[/"concat('https://',?code,'.wikipedia.org/')"/] null --o e0bind1 e0bind1 --as--o e0v5 e0v3("?article"):::projected e0v1("?articlewp"):::projected e0v4("?item"):::projected e0v5("?wpurl"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> v5 f0 --> v3 f0 --> c1 f0 --> c2 f0 --> v4 f0 --> v7 f1[["str(?articlewp) = ?wpurl"]] f1 --> v1 f1 --> v5 v3 --"schema:isPartOf"--> v1 v3 --"schema:about"--> v4 bind2[/"concat('https://',?code,'.wikipedia.org/')"/] v7 --o bind2 bind2 --as--o v5 a1 --"pr:P143"--> v5 a2 --"prov:wasDerivedFrom"--> a1 v4 -->v6--> a2 a3 --"wikibase:claim"--> v6 v5 --"wdt:P31"--> c7 v5 --"wdt:P424"--> v7