What is the {airline} for {item operated} of {Airbus A340}
Which airline operated the Airbus A340?
What airline operated the Airbus A340?
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:airline . ?y property:item_operated resource:Airbus_A340 }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P121> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6481> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q46970> } 
 select distinct ?sbj where { ?sbj wdt:P121 wd:Q6481 . ?sbj wdt:P31 wd:Q46970 } 
Aerolíneas Argentinas Air France Swiss International Air Lines Emirates Scandinavian Airlines Iberia Thai Airways Qatar Airways TAP Air Portugal Etihad Airways South African Airways China Eastern Airlines Hainan Airlines airblue Air Tahiti Nui Afriqiyah Airways Air Mauritius Air Namibia Saudia LAN Chile Arik Air Edelweiss Air Royal Jordanian Philippine Airlines Turkish Airlines Singapore Airlines Virgin Atlantic Air China China Airlines