Question: Where was The Hitchhiker's Guide to the Galaxy starring Kelly Macdonald published on 2005-04-29?
Choices: Toronto International Film Festival
German Democratic Republic
2004 Cannes Film Festival
Northern America
Hollywood
Sundance Film Festival
Denmark
Indonesia
2005 Cannes Film Festival
United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "The Hitchhiker's Guide to the Galaxy" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kelly Macdonald" .  ?e <publication_date> ?pv . ?pv <pred:date> "2005-04-29"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Kelly Macdonald
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Hitchhiker's Guide to the Galaxy
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2005-04-29
place of publication
Answer: United States of America