Question: Which association football club is headquartered in Odessa (the one that is the twinned administrative body of Varna)?
Choices:
Lyngby Boldklub
Brescia Calcio
Brisbane Roar FC
A.F.C. Ajax
Everton F.C.
Stade Brestois 29
Viking FK
Club Deportivo Guadalajara
FC Chornomorets Odesa
Middlesbrough F.C.
Program:
function: Find
inputs: Varna
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Odessa
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> "Odessa" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Varna" .   }
Answer: FC Chornomorets Odesa