Question: What feature film is the one whose duration is not equal to 290 minute and whose genre is historical period drama
Choices:
Hannah Montana: The Movie
Bram Stoker's Dracula
Agora
The Muppets
Labyrinth
Henry V
Bedtime Stories
Spartacus
Pirates of the Caribbean: On Stranger Tides
Invincible
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
290 minute
!=
function: FilterConcept
dependencies: 1
inputs: feature film
function: Find
inputs: historical period drama
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v != "290"^^xsd:double ) . ?e <genre> ?e_1 . ?e_1 <pred:name> "historical period drama" .  }
Answer: Invincible