Question: John Mills, nicknamed Jackie, was born in which city?
Choices:
Cork
Constantinople
Kilkenny
Bergen
Kingston
Dunedin
Plovdiv
Santo Domingo
Trieste
Abidjan
Program:
function: Find
inputs: John Mills
function: FilterStr
dependencies: 0
inputs: nickname
Jackie
function: Relate
dependencies: 1
inputs: place of birth
forward
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "John Mills" . ?e_1 <nickname> ?pv . ?pv <pred:value> "Jackie" .   }
Answer: Dunedin