Question: What is the connection between Peter Cook (the one that is the member of political party Australian Labor Party) to Perth (the one whose local dialing code is 08611)?
Choices: partner
connects with
language of work or name
employer
contributing factor of
history of topic
place of death
instrumentation
product or material produced
league
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Cook" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Australian Labor Party" . ?e_2 <pred:name> "Perth" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> "08611" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Australian Labor Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Peter Cook
function: And
dependencies: 1
2
function: Find
inputs: Perth
function: FilterStr
dependencies: 4
inputs: local dialing code
08611
function: QueryRelation
dependencies: 3
5
Answer: place of death