query-791f6ec06a8d074f1700fa59aff08d72
TODO
Use at
- https://query.wikidata.org/sparql
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#>
SELECT DISTINCT ?gname ?label WHERE {
VALUES ?country { wd:Q229 wd:Q41 wd:Q15240466 }
?q wdt:P27 ?country .
?q wdt:P735 ?gname .
?q wdt:P1559 ?value .
?gname wdt:P282 [] ; rdfs:label ?label .
FILTER (lang(?label) = "el")
FILTER (lang(?value) != "el" )
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?country")
v5("?gname"):::projected
v2("?label"):::projected
v4("?q")
v1("?value")
a1((" "))
f0[["?value != 'el'"]]
f0 --> v1
f1[["?label = 'el'"]]
f1 --> v2
bind2[/VALUES ?country/]
bind2-->v3
bind20(["wd:Q229"])
bind20 --> bind2
bind21(["wd:Q41"])
bind21 --> bind2
bind22(["wd:Q15240466"])
bind22 --> bind2
v4 --"wdt:P27"--> v3
v4 --"wdt:P735"--> v5
v4 --"wdt:P1559"--> v1
v5 --"wdt:P282"--> a1
v5 --"rdfs:label"--> v2