SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/hubs> <http://dbpedia.org/resource/San_Francisco_International_Airport> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Airline>}
What are the airlines whose hub is San Francisco International Airport?
SELECT DISTINCT ?l WHERE { ?l property:hubs resource:San_Francisco_International_Airport . ?l rdf:type ontology:Airline }
Virgin America, Pacific Air Lines
The airlines whose hub is San Francisco International Airport are [Virgin America, Pacific Air Lines].
Airlines whose hub is San Francisco International Airport [Virgin America, Pacific Air Lines].