Question: Which is longer, Knocked Up or The Phantom of the Opera whose title is Le Fantôme de l'Opéra?
Choices:
A Prairie Home Companion
Training Day
Curse of the Golden Flower
The Phantom of the Opera
The Hunchback of Notre Dame
Knocked Up
Talk to Her
Pleasantville
The Fifth Element
Rebecca
Program:
function: Find
inputs: Knocked Up
function: Find
inputs: The Phantom of the Opera
function: FilterStr
dependencies: 1
inputs: title
Le Fantôme de l'Opéra
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Knocked Up" . } UNION { ?e <pred:name> "The Phantom of the Opera" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Le Fantôme de l'Opéra" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Knocked Up