Question: Where was Bad Teacher, with the official website http://www.sonypictures.com/movies/badteacher/, published on 23rd June 2011 ?
Choices:
Cannes Film Festival
Vietnam
Germany
Sweden
Australia
Kingdom of the Netherlands
Iceland
British Hong Kong
Hollywood
El Capitan Theatre
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Bad Teacher" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.sonypictures.com/movies/badteacher/" . ?e <publication_date> ?pv . ?pv <pred:date> "2011-06-23"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Bad Teacher
function: FilterStr
dependencies: 0
inputs: official website
http://www.sonypictures.com/movies/badteacher/
function: QueryAttrQualifier
dependencies: 1
inputs: publication date
2011-06-23
place of publication