Question: Which person who died prior to 1987 was born in Ontario, demonym Ontarian?
Choices:
William Faulkner
James Cameron
William Blake
Richard Gere
Max Fleischer
Edward G. Boyle
Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
David Byrne
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of death
1987
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Ontario
function: FilterStr
dependencies: 3
inputs: demonym
Ontarian
function: Relate
dependencies: 4
inputs: place of birth
backward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1987 ) . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Ontario" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "Ontarian" .  }
Answer: Edward G. Boyle