Question: Who is a person living in the city whose native label is Aberdeen ?
Choices:
Howard Stern
Ip Man
Igor Stravinsky
Cary Elwes
John Buscema
Oliver Platt
Ajay Devgan
Sylvia Plath
Christopher Doyle
Kelly Macdonald
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Aberdeen
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: residence
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <native_label> ?pv . ?pv <pred:value> "Aberdeen" .   }
Answer: Kelly Macdonald