Question: Who died in Santa Fe, capital of Santa Fe County, but was not born in 1949?
Choices:
David Byrne
Will Patton
Rahul Dev Burman
Sylvester Stallone
Roger Zelazny
Richard Gere
Hans Zimmer
Billy Corgan
Simon Cowell
William Henry Harrison
Program:
function: Find
inputs: Santa Fe County
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Santa Fe
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of death
backward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterYear
dependencies: 6
inputs: date of birth
1949
!=
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Santa Fe" . ?e_2 <capital> ?e_1 . ?e_2 <pred:name> "Santa Fe County" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1949 ) .  }
Answer: Roger Zelazny