which terminal does singapore airline use at its primary hub?
Entity Entity Entity Entity
m.057xmnp m.057xmp1 m.0ndhhhh m.0411nkg
London Heathrow Terminal 1 London Heathrow Terminal 4 London Heathrow Terminal 3 London Heathrow Terminal 5
class class entity
aviation.airport_terminal aviation.airport m.015f2x
aviation.airport_terminal aviation.airport aviation.airline
Airport terminal Airport singapore airline
none none none
aviation.airport_terminal.airport aviation.airport.focus_city_for
Airport Focus city for
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :aviation.airport_terminal . 
?x1 :type.object.type :aviation.airport . 
VALUES ?x2 { :m.015f2x } 
?x0 :aviation.airport_terminal.airport ?x1 . 
?x1 :aviation.airport.focus_city_for ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND aviation.airport_terminal (JOIN aviation.airport_terminal.airport (JOIN aviation.airport.focus_city_for m.015f2x)))