Question: In which big city was William Gibson (the one that was born in Gothenburg) born?
Choices:
Wuppertal
Grenoble
Gothenburg
Lille
Halle (Saale)
Fort Smith
Aachen
Dnipro
Stuttgart
Utrecht
Program:
function: Find
inputs: Gothenburg
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: William Gibson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: big city
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "William Gibson" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Gothenburg" .   }
Answer: Gothenburg