Question: When was Hamlet (the one that has Stephen Dillane as a cast member) published?
Choices:
1997-12-18
1988-03-17
2007-01-18
1989-03-24
2010-04-30
1932-11-28
1995-11-30
1990-01-01
2003-07-04
2014-05-14
Program:
function: Find
inputs: Stephen Dillane
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Hamlet" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stephen Dillane" .  ?e <publication_date> ?pv .  }
Answer: 1990-01-01