Question: What association football club is headquartered in the twinned administrative body of Athens (the one that is the residence of Aristotle) ?
Choices:
FC Chornomorets Odesa
FC Barcelona B
SC Cambuur
Busan IPark
West Bromwich Albion F.C.
Fluminense F.C.
SK Slavia Prague
Brisbane Roar FC
C.F. Os Belenenses
RCD Espanyol B
Program:
function: Find
inputs: Aristotle
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Athens
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: port city
function: Relate
dependencies: 5
inputs: headquarters location
backward
function: FilterConcept
dependencies: 6
inputs: association football club
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "port city" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Athens" . ?e_4 <residence> ?e_3 . ?e_4 <pred:name> "Aristotle" .   }
Answer: RCD Espanyol B