What is {operates} of {inhabitant} of {RAF Lossiemouth} ?
What works out of RAF Lossiemouth?
What operates out of RAF Lossiemouth?
SELECT ?p WHERE { ?o property:item_operated ?p . resource:RAF_Lossiemouth property:occupant ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1164139> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P466>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P121> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q1164139 wdt:P466 ?X . ?X wdt:P121 ?answer}
Typhoon Harrier 1st Generation Avro 504 Tornado MRCA Typhoon