Question: Nicolas Cage was cast as the character David Spritz in the movie released on 2006-03-02 in which location?
Choices:
Cannes
Czech Republic
India
Kuwait
Australia
Davao City
Sorrento
Germany
Venice Film Festival
BFI London Film Festival
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Nicolas Cage" . [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv_1 . ?qpv_1 <pred:value> "David Spritz" . ?e <publication_date> ?pv . ?pv <pred:date> "2006-03-02"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Nicolas Cage
function: Relate
dependencies: 0
inputs: cast member
backward
function: QFilterStr
dependencies: 1
inputs: character role
David Spritz
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2006-03-02
place of publication