query-22b79925e4faee2165042f16afa8a5f8
items with nowiki sitelinks, nb labels, no nb description SELECT distinct ?item WHERE { ?article schema:about ?item . ?article schema:isPartOf https://no.wikipedia.org/. ?item rdfs:label ?l . filter ( lang(?l) = "nb" ) . FILTER NOT EXISTS { ?item schema:description ?l2 . filter ( lang(?l2) = "nb" ) } } limit 10
Use at
- https://query.wikidata.org/sparql
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# items with nowiki sitelinks, nb labels, no nb description
SELECT distinct ?item
WHERE {
?article schema:about ?item .
?article schema:isPartOf <https://no.wikipedia.org/>.
?item rdfs:label ?l . filter ( lang(?l) = "nb" ) .
FILTER NOT EXISTS { ?item schema:description ?l2 . filter ( lang(?l2) = "nb" ) }
} limit 10
Query found at
- https://www.wikidata.org/wiki/User:EdoAug
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2022/11
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article")
v2("?item"):::projected
v3("?l")
v1("?l2")
c5([https://no.wikipedia.org/]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?l2 = 'nb'"]]
e0f0 --> e0v1
e0v2 --"schema:description"--> e0v1
e0v2("?item"):::projected
e0v1("?l2"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?l2 = 'nb'"]]
f1 --> v1
v2 --"schema:description"--> v1
f2[["?l = 'nb'"]]
f2 --> v3
v4 --"schema:about"--> v2
v4 --"schema:isPartOf"--> c5
v2 --"rdfs:label"--> v3