Question: Which agen was set up in a city that is, since 1972, the twinned administrative body of Munich (the one that is the capital of Bavaria)?
Choices:
Hudson Soft
Order of St. Olav
KLM
Silver Pictures
Silver Screen Partners
Sega
McDonald's
Vodafone
Pfizer
Skidmore Owings Merrill
Answer: Hudson Soft
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Munich" . ?e_2 <capital_of> ?e_3 . ?e_3 <pred:name> "Bavaria" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv . ?qpv <pred:year> 1972 .   }
Program:
function: Find
inputs: Bavaria
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Munich
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: QFilterYear
dependencies: 4
inputs: start time
1972
=
function: FilterConcept
dependencies: 5
inputs: city
function: Relate
dependencies: 6
inputs: location of formation
backward
function: FilterConcept
dependencies: 7
inputs: agent
function: What
dependencies: 8