query-e84e2d7604037fe7668bd0804ff0aa3f

rq turtle/ttl

, which would fit better.place served by transport hubSadly, this query either times out, or returns no results at all. Then I noticed

Use at

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#>
SELECT ?airport ?iata ?serves ?coords WHERE {
  ?airport (wdt:P31/(wdt:P279*)) wd:Q1248784;
    wdt:P238 ?iata;
    wdt:p931 ?serves;
    wdt:P625 ?coords;

  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; v1("?airport"):::projected v4("?coords"):::projected v2("?iata"):::projected v3("?serves"):::projected a1((" ")) c3(["wd:Q1248784"]):::iri c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P238"--> v2 v1 --"wdt:p931"--> v3 v1 --"wdt:P625"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end