query-aa46d71fe9ed4e8dc13a1eff3729084f
For use with QuickStatements
1. Run the Query and download as CSV
2. Go to QuickStatements and put the following up top: qid,Dsmn
3. Open the CSV file and copy all that stuff under "string" and paste it under the text inserted at step 2
4. Press "Import CSV commands"
SELECT DISTINCT (CONCAT(replace(str(?item),"http://www.wikidata.org/entity/", ""),',"nissoon ovdânommâ"') as ?string) WHERE { ?item wdt:P31 wd:Q11879590; wdt:P282 []. SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,pt,nb". } FILTER(NOT EXISTS { ?item schema:description ?itemdesc. FILTER(LANG(?itemdesc) = "smn") # with missing Inari Sámi description }) MINUS {?item wdt:P31 wd:Q3409032.} } LIMIT 10000
Use at
- https://query.wikidata.org/sparql
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 bd: <http://www.bigdata.com/rdf#>
#For use with QuickStatements
# 1. Run the Query and download as CSV
# 2. Go to QuickStatements and put the following up top: qid,Dsmn
# 3. Open the CSV file and copy all that stuff under "string" and paste it under the text inserted at step 2
# 4. Press "Import CSV commands"
SELECT DISTINCT (CONCAT(replace(str(?item),"http://www.wikidata.org/entity/", ""),',"nissoon ovdânommâ"') as ?string) WHERE {
?item wdt:P31 wd:Q11879590;
wdt:P282 [].
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,pt,nb". }
FILTER(NOT EXISTS {
?item schema:description ?itemdesc.
FILTER(LANG(?itemdesc) = "smn") # with missing Inari Sámi description
})
MINUS {?item wdt:P31 wd:Q3409032.}
}
LIMIT 10000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemdesc")
v3("?string")
a1((" "))
c9(["nl,fr,en,de,it,es,pt,nb"]):::literal
c7(["bd:serviceParam"]):::iri
c10(["wd:Q3409032"]):::iri
c4(["wd:Q11879590"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?itemdesc = 'smn'"]]
e0f0 --> e0v1
e0v2 --"schema:description"--> e0v1
e0v2("?item"):::projected
e0v1("?itemdesc"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?itemdesc = 'smn'"]]
f1 --> v1
v2 --"schema:description"--> v1
v2 --"wdt:P31"--> c4
v2 --"wdt:P282"--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> c10
end
bind3[/"concat(replace(str(?item),'http://www.wikidata.org/entity/',''),',"nissoon ovdânommâ"')"/]
v2 --o bind3
bind3 --as--o v3