Question: Which fictional character died on Earth (the one whose out-of-school children number is 291000000)
Choices:
Grand Forks
Merton College
Philips
Jackson County
San Juan County
Henry David Thoreau
Moby
Son Goku
Miles "Tails" Prower
Knuckles the Echidna
Answer: Son Goku
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional character" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Earth" . ?e_1 <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "291000000"^^xsd:double .   }
Program:
function: Find
inputs: Earth
function: FilterNum
dependencies: 0
inputs: number of out-of-school children
291000000
=
function: Relate
dependencies: 1
inputs: place of death
backward
function: FilterConcept
dependencies: 2
inputs: fictional character
function: What
dependencies: 3