Question: Which film was published after 2006 in Germany and has the exploitation visa number 118477?
Choices:
The Great Gatsby
Pleasantville
Rebecca
Lebanon
Battleship
Talk to Her
Wuthering Heights
The Dark Knight
Shame
Scott Pilgrim vs. the World
Answer: Lebanon
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2006 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Germany" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "118477" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2006
>
function: QFilterStr
dependencies: 1
inputs: place of publication
Germany
function: FilterConcept
dependencies: 2
inputs: film
function: FindAll
function: FilterStr
dependencies: 4
inputs: exploitation visa number
118477
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 3
6
function: What
dependencies: 7