Question: What is the relationship between Athens (the one whose country is Greece) and Rio de Janeiro (the one whose population is 6476631)?
Choices:
mouth of the watercourse
mother
residence
twinned administrative body
director of photography
source of income
interested in
exported to
organizer
characters
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Athens
function: And
dependencies: 1
2
function: Find
inputs: Rio de Janeiro
function: FilterNum
dependencies: 4
inputs: population
6476631
=
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Athens" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "Greece" . ?e_2 <pred:name> "Rio de Janeiro" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "6476631"^^xsd:double . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body