Question: Which movie released in the USA on 1994-07-15 was released prior to 2007?
Choices:
Rebecca
Maid in Manhattan
The Fifth Element
Training Day
Star Trek Ⅴ: The Final Frontier
Star Trek Ⅱ: The Wrath of Khan
A Prairie Home Companion
True Lies
The Towering Inferno
Talk to Her
Answer: True Lies
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <publication_date> ?pv . ?pv <pred:date> "1994-07-15"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "United States of America" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2007 ) .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: publication date
1994-07-15
=
function: QFilterStr
dependencies: 1
inputs: place of publication
United States of America
function: FilterConcept
dependencies: 2
inputs: film
function: FindAll
function: FilterYear
dependencies: 4
inputs: publication date
2007
<
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 3
6
function: What
dependencies: 7