Question: What is the birth name of the director of Ratatouille (the one whose publication date is 2007-06-29)?
Choices:
John Roger Stephens
Mark Fraser Williams
Frederik George Pohl, Jr.
Jennifer Kate Hudson
Hugh Marston Hefner
Howard Allen O'Brien
Phillip Bradley Bird
Denholm Mitchell Elliott
Joseph Adam Jonas
Terrence Steven McQueen
Answer: Phillip Bradley Bird
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "Ratatouille" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "2007-06-29"^^xsd:date . ?e <birth_name> ?pv .  }
Program:
function: Find
inputs: Ratatouille
function: FilterDate
dependencies: 0
inputs: publication date
2007-06-29
=
function: Relate
dependencies: 1
inputs: director
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: birth name