query-1adb27d640075bf492eff9553b3399b5
en label from hu label
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel
WHERE
{
# hint:Query hint:optimizer "None".
?item wikibase:sitelinks 1 .
[] schema:about ?item ; schema:isPartOf <https://hu.wikipedia.org/> .
?item wdt:P31 wd:Q5 .
MINUS { ?item rdfs:label ?l . FILTER ( lang(?l) = "en") }
SERVICE wikibase:label { bd:serviceParam wikibase:language "hu". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?l")
a1((" "))
c13(["hu"]):::literal
c2(["1^^xsd:integer"]):::literal
c5([https://hu.wikipedia.org/]):::iri
c11(["bd:serviceParam"]):::iri
c7(["wd:Q5"]):::iri
v1 --"wikibase:sitelinks"--> c2
a1 --"schema:about"--> v1
a1 --"schema:isPartOf"--> c5
v1 --"wdt:P31"--> c7
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
f1[["?l = 'en'"]]
f1 --> v2
v1 --"rdfs:label"--> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end