Question: Where was The Spiderwick Chronicles (the one whose script is wrote by John Sayles) published on 2008-03-20 ?
Choices:
Iceland
Bahrain
Kuwait
Brazil
John F. Kennedy Center for the Performing Arts
Austin
Australia
Germany
Denmark
United Arab Emirates
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "The Spiderwick Chronicles" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "John Sayles" .  ?e <publication_date> ?pv . ?pv <pred:date> "2008-03-20"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: John Sayles
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Spiderwick Chronicles
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2008-03-20
place of publication