Question: I need to know which one has the longest duration within the feature film that was released in the Singapore region (which has the demonym সিঙ্গাপুরীয়)
Choices:
Hannah Montana: The Movie
National Treasure: Book of Secrets
Old Dogs
The Flintstones
Remember the Titans
Alvin and the Chipmunks: Chipwrecked
G-Force
The Flintstones in Viva Rock Vegas
Holes
John Carter
Answer: Remember the Titans
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Singapore" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "সিঙ্গাপুরীয়" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Singapore
function: FilterStr
dependencies: 0
inputs: demonym
সিঙ্গাপুরীয়
function: Relate
dependencies: 1
inputs: film release region
backward
function: FilterConcept
dependencies: 2
inputs: feature film
function: SelectAmong
dependencies: 3
inputs: duration
largest