Question: What person died in a city in Jamaica (the one whose demonym is giamaicano)?
Choices:
Norman Mailer
William Henry Harrison
George Harrison
Tex Avery
Richard Gere
I. M. Pei
Murali
Sylvester Stallone
Colleen Dewhurst
Red Dragon
Program:
function: Find
inputs: Jamaica
function: FilterStr
dependencies: 0
inputs: demonym
giamaicano
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: place of death
backward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_death> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "Jamaica" . ?e_3 <demonym> ?pv . ?pv <pred:value> "giamaicano" .   }
Answer: Red Dragon