Question: Which person was educated at primary school (the class of this statement is public school)?
Choices:
Simon Cowell
Fred Thompson
Richard Nixon
Richard Gere
Sylvester Stallone
William Henry Harrison
Gerald Ford
John Conyers
Max Fleischer
David Byrne
Program:
function: Find
inputs: primary school
function: Relate
dependencies: 0
inputs: educated at
backward
function: QFilterStr
dependencies: 1
inputs: instance of
public school
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "primary school" .  [ <pred:fact_h> ?e ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_1 ] <instance_of> ?qpv . ?qpv <pred:value> "public school" .  }
Answer: John Conyers