Question: What is the association between Parramatta Eels and Australia (that has a diplomatic relationship with Sweden)?
Choices:
performer
has contributing factor
theme music
country of citizenship
place of death
history of topic
geography of topic
country
has part
capital
Program:
function: Find
inputs: Parramatta Eels
function: Find
inputs: Sweden
function: Relate
dependencies: 1
inputs: diplomatic relation
backward
function: Find
inputs: Australia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Parramatta Eels" . ?e_2 <pred:name> "Australia" . ?e_2 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> "Sweden" . ?e_1 ?p ?e_2 .  }
Answer: country