Question: Which has less duration, Harry Potter and the Philosopher's Stone (whose script is wrote by J. K. Rowling) or 50/50?
Choices:
Curse of the Golden Flower
A Prairie Home Companion
Training Day
The Towering Inferno
Pleasantville
Rebecca
50/50
The Hunchback of Notre Dame
Talk to Her
Harry Potter and the Philosopher's Stone
Program:
function: Find
inputs: J. K. Rowling
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Harry Potter and the Philosopher's Stone
function: And
dependencies: 1
2
function: Find
inputs: 50/50
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harry Potter and the Philosopher's Stone" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "J. K. Rowling" .   } UNION { ?e <pred:name> "50/50" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: 50/50