Question: Is The Rock or Harry Potter and the Order of the Phoenix (official website http://www.harrypotter.com) longer in duration?
Choices:
The Towering Inferno
The Rock
A Prairie Home Companion
Harry Potter and the Order of the Phoenix
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Training Day
Talk to Her
Program:
function: Find
inputs: The Rock
function: Find
inputs: Harry Potter and the Order of the Phoenix
function: FilterStr
dependencies: 1
inputs: official website
http://www.harrypotter.com
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Rock" . } UNION { ?e <pred:name> "Harry Potter and the Order of the Phoenix" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.harrypotter.com" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Harry Potter and the Order of the Phoenix