Question: I, Robot, released on 2004-06-20, is based on which written work?
Choices:
The Painted Veil
About a Boy
I, Robot
Interview with the Vampire
The Hours
Contact
Women in Love
A Single Man
The Maltese Falcon
Starship Troopers
Program:
function: Find
inputs: I, Robot
function: FilterDate
dependencies: 0
inputs: publication date
2004-06-20
=
function: Relate
dependencies: 1
inputs: based on
forward
function: FilterConcept
dependencies: 2
inputs: written work
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "I, Robot" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2004-06-20"^^xsd:date .   }
Answer: I, Robot