Question: Which visual artwork titled Wag the Dog was not released in the USA in 1984?
Choices:
X-Men Origins: Wolverine
Pleasantville
The Towering Inferno
Wag the Dog
Talk to Her
Four Rooms
Logan
A Prairie Home Companion
The Lost World: Jurassic Park
Notting Hill
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Wag the Dog
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1984
!=
function: QFilterStr
dependencies: 4
inputs: place of publication
United States of America
function: FilterConcept
dependencies: 5
inputs: visual artwork
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv . ?pv <pred:value> "Wag the Dog" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1984 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> "United States of America" .  }
Answer: Wag the Dog