Question: What has Great Expectations (the one that is originally aired on BBC One) in common with England (the one that is the residence of Stephen Hawking)?
Choices:
industry
child
killed by
member of political party
diplomatic relation
history of topic
military casualty classification
quotes work
student of
narrative location
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Great Expectations" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> "BBC One" . ?e_2 <pred:name> "England" . ?e_4 <residence> ?e_2 . ?e_4 <pred:name> "Stephen Hawking" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BBC One
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 1
2
function: Find
inputs: Stephen Hawking
function: Relate
dependencies: 4
inputs: residence
forward
function: Find
inputs: England
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7