query-fbb7ca1a87465bdd5defaf749bd353f7
First method
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item ?articleLabel
WHERE {
?article schema:about ?item ;
schema:inLanguage "ckb" ;
schema:isPartOf <https://ckb.wikipedia.org/> ;
schema:name ?articleLabel .
FILTER NOT EXISTS {
?item schema:description ?description .
FILTER (lang(?description) = "ckb")
}
?item wdt:P31 ?type .
FILTER (?type NOT IN (
wd:Q4167836, # Wikimedia category
wd:Q15647814, # Wikimedia administration category
wd:Q11266439, # Wikimedia template
wd:Q15184295, # Wikimedia module
wd:Q116152754, # Wikimedia submodule
wd:Q107344376, # Wikimedia module configuration
wd:Q20010800, # Wikimedia user language category
wd:Q59259626, # Wikimedia module using Wikidata
wd:Q18711811, # map data module
wd:Q19887878, # Wikimedia infobox template
wd:Q19842659, # Wikimedia user language template
wd:Q115595777, # taxonomy template
wd:Q20769160, # Wikimedia userbox template
wd:Q116152698, # Wikimedia subtemplate
wd:Q11753321, # Wikimedia navigational template
wd:Q97303168, # Wikimedia deletion template
wd:Q108783631, # Wikimedia country data template
wd:Q110010043, # Wikimedia copyright template
wd:Q97950663, # Wikimedia citation template
wd:Q112869585, # Wikimedia stub template
wd:Q108094999, # Wikimedia sidebar template
wd:Q4663903 # Wikimedia portal
))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article")
v5("?articleLabel"):::projected
v2("?description")
v3("?item"):::projected
v1("?type")
c28([https://ckb.wikipedia.org/]):::iri
c23(["ckb"]):::literal
f0[["?type != 'wd:Q4167836'?type != 'wd:Q15647814'?type != 'wd:Q11266439'?type != 'wd:Q15184295'?type != 'wd:Q116152754'?type != 'wd:Q107344376'?type != 'wd:Q20010800'?type != 'wd:Q59259626'?type != 'wd:Q18711811'?type != 'wd:Q19887878'?type != 'wd:Q19842659'?type != 'wd:Q115595777'?type != 'wd:Q20769160'?type != 'wd:Q116152698'?type != 'wd:Q11753321'?type != 'wd:Q97303168'?type != 'wd:Q108783631'?type != 'wd:Q110010043'?type != 'wd:Q97950663'?type != 'wd:Q112869585'?type != 'wd:Q108094999'?type != 'wd:Q4663903'"]]
f0 --> v1
f1[["not "]]
subgraph f1e0["Exists Clause"]
e0f0[["?description = 'ckb'"]]
e0f0 --> e0v1
e0v2 --"schema:description"--> e0v1
e0v1("?description"):::projected
e0v2("?item"):::projected
end
f1--EXISTS--> f1e0
f1 --> v2
f1 --> v3
f1 --> c24
f2[["?description = 'ckb'"]]
f2 --> v2
v3 --"schema:description"--> v2
v4 --"schema:about"--> v3
v4 --"schema:inLanguage"--> c23
v4 --"schema:isPartOf"--> c28
v4 --"schema:name"--> v5
v3 --"wdt:P31"--> v1