Question: Which film has its number of episodes not equal to 160 and has the title Little Women?
Choices:
Shackleton
The Goodbye Girl
The Music Man
Samson and Delilah
My-HiME
Magic Knight Rayearth
From Here to Eternity
Little Women
Chrono Crusade
A Christmas Carol
Answer: Little Women
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "160"^^xsd:double ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Little Women" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
160
!=
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Little Women
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6