Question: When was The Three Musketeers (the one that has John Wayne as a cast member) published?
Choices:
2001-05-25
2005-05-26
1983-01-21
2004-03-26
1962-11-08
1933-01-01
2007-01-18
2007-07-12
2009-05-26
2013-03-29
Program:
function: Find
inputs: John Wayne
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Wayne" .  ?e <publication_date> ?pv .  }
Answer: 1933-01-01