Question: What city is the birthplace of Medina whose record label is EMI?
Choices:
York
Santo Domingo
Trieste
Aarhus
Kilkenny
Vicenza
Bergen
Breda
Kingston
Cork
Program:
function: Find
inputs: EMI
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Medina
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Medina" . ?e_1 <record_label> ?e_2 . ?e_2 <pred:name> "EMI" .   }
Answer: Aarhus