SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/cityServed> <http://dbpedia.org/resource/San_Francisco> . ?uri <http://dbpedia.org/property/hubs> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Airline>}
Name the airlines which have a hub in airport in San Francisco?
SELECT DISTINCT ?u WHERE { ?a property:city_served resource:San_Francisco . ?u property:hubs ?a . ?u rdf:type ontology:Airline }
Virgin America, Pacific Air Lines
The airlines whose hub is San Francisco airport are [Virgin America, Pacific Air Lines].
Airlines whose hub located in San Francisco Airport [Virgin America, Pacific Air Lines].