Question: BBC News, owned by BBC, has what connection to London, where Freddie Francis was born?
Choices: capital
collection
copyright holder
successful candidate
headquarters location
public holiday
musical conductor
filmography
continent
designed by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "BBC News" . ?e_3 <subsidiary> ?e_1 . ?e_3 <pred:name> "BBC" . ?e_2 <pred:name> "London" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Freddie Francis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BBC
function: Relate
dependencies: 0
inputs: subsidiary
forward
function: Find
inputs: BBC News
function: And
dependencies: 1
2
function: Find
inputs: Freddie Francis
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: headquarters location