query-117f816b147eaac92c906d4606168f8d
Where do sister cities of Hungarian cities lie SELECT ?person ?personLabel ?hungarianPlace ?hungarianPlaceLabel ?coord WHERE { ?place wdt:P190 ?hungarianPlace . ?hungarianPlace wdt:P17 wd:Q28 . ?place wdt:P625 ?coord .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "hu" }
}
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 bd: <http://www.bigdata.com/rdf#>
# Where do sister cities of Hungarian cities lie
SELECT ?person ?personLabel ?hungarianPlace ?hungarianPlaceLabel ?coord
WHERE
{
?place wdt:P190 ?hungarianPlace .
?hungarianPlace wdt:P17 wd:Q28 .
?place wdt:P625 ?coord .
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;
v3("?coord"):::projected
v2("?hungarianPlace"):::projected
v1("?place")
c3(["wd:Q28"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["hu"]):::literal
v1 --"wdt:P190"--> v2
v2 --"wdt:P17"--> c3
v1 --"wdt:P625"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end