Question: What period was the Grapes of Wrath (by John Steinbeck) set in?
Choices:
2014
2005-06-15
2018-01-09
2010-05-26
2015
2007-01-17
1994-12-20
1940
2012-01-11
2009-05-31
Answer: 1940
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Grapes of Wrath" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "John Steinbeck" . ?e_2 <pred:name> "Pulitzer Prize for Fiction" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: John Steinbeck
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: The Grapes of Wrath
function: And
dependencies: 1
2
function: Find
inputs: Pulitzer Prize for Fiction
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
point in time