Question: Which agent is in the location of the city that is the capital of Australian Capital Territory?
Choices:
Royal Naval Air Service
United States Marine Corps
Eastern Catholic Church
Luftwaffe
Continental Army
United States Fish and Wildlife Service
German Army
Royal Australian Air Force
Waffen-SS
United States Army Air Corps
Program:
function: Find
inputs: Australian Capital Territory
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: location
backward
function: FilterConcept
dependencies: 3
inputs: agent
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_3 <capital> ?e_1 . ?e_3 <pred:name> "Australian Capital Territory" .   }
Answer: Royal Australian Air Force