Question: Among the animated feature films with release region Singapore (the one that is the release region of The Wolfman), which one has the largest duration ?
Choices:
The Lorax
Tangled
Ice Age: Continental Drift
Arthur Christmas
Cars
Brave
How to Train Your Dragon
Toy Story
Kung Fu Panda
Beauty and the Beast
Program:
function: Find
inputs: The Wolfman
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Singapore
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: film release region
backward
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: SelectAmong
dependencies: 5
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Singapore" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> "The Wolfman" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cars