Question: Does New York, I Love You or Paris, je t'aime have lesser number of parts ?
Choices:
The Towering Inferno
Training Day
The Fifth Element
Talk to Her
New York, I Love You
Paris, je t'aime
Pleasantville
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: New York, I Love You
function: Find
inputs: Paris, je t'aime
function: SelectBetween
dependencies: 0
1
inputs: number of parts of this work of art
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New York, I Love You" .  } UNION { ?e <pred:name> "Paris, je t'aime" .  } ?e <number_of_parts_of_this_work_of_art> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New York, I Love You