Question: What person wins the Carnegie Medal in the year 1968 and has the occupation of writer?
Choices:
Rosemary Harris
Neil Gaiman
C. S. Lewis
Fritz Leiber Junior
Liv Ullmann
Philip Pullman
Max Fleischer
Anne McCaffrey
Sylvester Stallone
William Henry Harrison
Answer: Rosemary Harris
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <winner> ?e . ?e_1 <pred:name> "Carnegie Medal" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1968 . ?e <occupation> ?e_2 . ?e_2 <pred:name> "writer" .  }
Program:
function: Find
inputs: Carnegie Medal
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterYear
dependencies: 1
inputs: point in time
1968
=
function: FilterConcept
dependencies: 2
inputs: human
function: Find
inputs: writer
function: Relate
dependencies: 4
inputs: occupation
backward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 3
6
function: What
dependencies: 7