Question: What association football team's headquarters is located in Florence (that is the twinned administrative body of Edinburgh)?
Choices:
Zamalek SC
FC Arsenal Kyiv
Stade Brestois 29
Roda JC Kerkrade
O.G.C. Nice
Newcastle United F.C.
Middlesbrough F.C.
Brisbane Roar FC
FC Kryvbas Kryvyi Rih
ACF Fiorentina
Program:
function: Find
inputs: Edinburgh
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Florence
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Florence" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Edinburgh" .   }
Answer: ACF Fiorentina