Question: What is the release date of Avatar that has William B. Davis as a cast member?
Choices:
1996-04-26
2007-09-28
2017-08-04
2004-12-22
1962-12-14
1979-08-06
2007-03-09
2012-04-27
1998-11-24
2003-04-17
Answer: 1996-04-26
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Avatar" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "William B. Davis" .  ?e <publication_date> ?pv .  }
Program:
function: Find
inputs: William B. Davis
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Avatar
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date