Question: Which is longer, Queen that is 146 minutes long or Loving whose official website is http://www.focusfeatures.com/loving?
Choices:
Training Day
Loving
Talk to Her
Rebecca
Queen
A Prairie Home Companion
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Pleasantville
Answer: Queen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Queen" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "146"^^xsd:double . } UNION { ?e <pred:name> "Loving" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.focusfeatures.com/loving" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Queen
function: FilterNum
dependencies: 0
inputs: duration
146 minute
=
function: Find
inputs: Loving
function: FilterStr
dependencies: 2
inputs: official website
http://www.focusfeatures.com/loving
function: SelectBetween
dependencies: 1
3
inputs: duration
greater