Question: What is the publication region of Tomorrow Never Dies that has Gerard Butler as a cast member and the release date 1997-12-18?
Choices:
Austin
British Hong Kong
Singapore
Slovakia
Romania
Taormina Film Fest
Berlin International Film Festival
Germany
Rio de Janeiro
Berlin
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Tomorrow Never Dies" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Gerard Butler" .  ?e <publication_date> ?pv . ?pv <pred:date> "1997-12-18"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Gerard Butler
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Tomorrow Never Dies
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
1997-12-18
place of publication