Question: Where is The Kingdom (the one whose genre is action film), whose publication date is 2007-10-11 ?
Choices:
Brazil
Thailand
Sorrento
Egypt
Taormina Film Fest
Montreal World Film Festival
Germany
John F. Kennedy Center for the Performing Arts
New Amsterdam Theatre
Europe
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "The Kingdom" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .  ?e <publication_date> ?pv . ?pv <pred:date> "2007-10-11"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Kingdom
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2007-10-11
place of publication