Question: Which movie that is a part of National Treasure (the one whose genre is thriller) has the shortest runtime?
Choices:
The Flintstones in Viva Rock Vegas
National Treasure: Book of Secrets
John Carter
The Flintstones
National Treasure
Holes
Enchanted
Alvin and the Chipmunks: Chipwrecked
The Muppets
Old Dogs
Answer: National Treasure: Book of Secrets
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "National Treasure" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "thriller" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: thriller
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: National Treasure
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: feature film
function: SelectAmong
dependencies: 5
inputs: duration
smallest