Question: What is the connection between Australian Labor Party to Canberra (the one that is the headquarter location of Australian Labor Party)?
Choices:
highest judicial authority
chairperson
platform
headquarters location
used by
location
location of final assembly
coextensive with
developer
director/manager
Answer: headquarters location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Australian Labor Party" . ?e_2 <pred:name> "Canberra" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Australian Labor Party" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Australian Labor Party
function: Find
inputs: Australian Labor Party
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Canberra
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4