Question: Which is longer, High School Musical whose title is High School Musical or Scary Movie?
Choices: The Music Man
Shackleton
The Late Shift
A Christmas Carol
The Three Musketeers
The Goodbye Girl
A Streetcar Named Desire
High School Musical
Scary Movie
The Challenge
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "High School Musical" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "High School Musical" . } UNION { ?e <pred:name> "Scary Movie" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: High School Musical
function: FilterStr
dependencies: 0
inputs: title
High School Musical
function: Find
inputs: Scary Movie
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: High School Musical