Question: Which is longer, Sex and the City 2, or Patch Adams, with the title of Patch Adams?
Choices:
The Hunchback of Notre Dame
Patch Adams
Sex and the City 2
Pleasantville
The Towering Inferno
Talk to Her
The Fifth Element
Training Day
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: Sex and the City 2
function: Find
inputs: Patch Adams
function: FilterStr
dependencies: 1
inputs: title
Patch Adams
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sex and the City 2" . } UNION { ?e <pred:name> "Patch Adams" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Patch Adams" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sex and the City 2