query-082f2bb6931ad61f72cd0de21bcd67a4
58 results SELECT ?item ?itemLabel ?itemDescription (lang(?l) as ?lang) ?l { hint:Query hint:optimizer "None". ?item wdt:P31 wd:Q5398426 ; rdfs:label ?l . FILTER NOT EXISTS { ?item wdt:P1476 ?l } FILTER( contains(?l, ":") && strends(?l, ")") && contains(?l, "(") ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#58 results
SELECT ?item ?itemLabel ?itemDescription (lang(?l) as ?lang) ?l
{
?item wdt:P31 wd:Q5398426 ; rdfs:label ?l .
FILTER NOT EXISTS { ?item wdt:P1476 ?l }
FILTER( contains(?l, ":") && strends(?l, ")") && contains(?l, "(") )
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?l"):::projected
v3("?lang")
c9(["bd:serviceParam"]):::iri
c6(["wd:Q5398426"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["contains(?l,':')ends-with(?l,')')contains(?l,'(')"]]
f0 --> v1
f1[["not "]]
subgraph f1e0["Exists Clause"]
e0v1 --"wdt:P1476"--> e0v2
e0v1("?item"):::projected
e0v2("?l"):::projected
end
f1--EXISTS--> f1e0
f1 --> v2
f1 --> c4
f1 --> v1
v2 --"wdt:P1476"--> v1
v2 --"wdt:P31"--> c6
v2 --"rdfs:label"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind2[/"?l"/]
v1 --o bind2
bind2 --as--o v3