Question: What film is titled Aladdin and was not published in 2002?
Choices:
The Three Musketeers
Barry Lyndon
Aladdin
Rebecca
Emma
Pleasantville
Captain America: The First Avenger
Hustle & Flow
A Prairie Home Companion
Mindscape
Answer: Aladdin
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2002 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Aladdin" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2002
!=
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Aladdin
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6