Question: Where was the Pirates of the Caribbean: At World's End (the one that is shot in Mexico) published on 2007-05-24 ?
Choices:
Northern America
Berlin International Film Festival
Bulgaria
Cannes Film Festival
Germany
Israel
Malaysia
Russia
Taiwan
West Germany
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Pirates of the Caribbean: At World's End" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Mexico" .  ?e <publication_date> ?pv . ?pv <pred:date> "2007-05-24"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Pirates of the Caribbean: At World's End
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2007-05-24
place of publication