Question: Which is longer, Grey Gardens with the official website http://www.hbo.com/films/greygardens/, or Green Lantern?
Choices:
Green Lantern
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Grey Gardens
Pleasantville
Rebecca
The Towering Inferno
Training Day
Talk to Her
Answer: Green Lantern
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grey Gardens" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.hbo.com/films/greygardens/" . } UNION { ?e <pred:name> "Green Lantern" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Grey Gardens
function: FilterStr
dependencies: 0
inputs: official website
http://www.hbo.com/films/greygardens/
function: Find
inputs: Green Lantern
function: SelectBetween
dependencies: 1
2
inputs: duration
greater