Question: Which is longer, The Edge written by David Mamet or Unforgiven whose official website is http://wwws.warnerbros.co.jp/yurusarezaru/?
Choices:
The Towering Inferno
Training Day
The Hunchback of Notre Dame
Rebecca
Talk to Her
Curse of the Golden Flower
Unforgiven
The Edge
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: David Mamet
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Edge
function: And
dependencies: 1
2
function: Find
inputs: Unforgiven
function: FilterStr
dependencies: 4
inputs: official website
http://wwws.warnerbros.co.jp/yurusarezaru/
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Edge" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "David Mamet" . } UNION { ?e <pred:name> "Unforgiven" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://wwws.warnerbros.co.jp/yurusarezaru/" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Unforgiven