Question: Which movie made more at the box office, Titanic (the one whose official website is http://www.titanicmovie.com) or Zookeeper?
Choices:
The Towering Inferno
The Fifth Element
Rebecca
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
Titanic
Pleasantville
Talk to Her
Answer: Titanic
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Titanic" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.titanicmovie.com" . } UNION { ?e <pred:name> "Zookeeper" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Titanic
function: FilterStr
dependencies: 0
inputs: official website
http://www.titanicmovie.com
function: Find
inputs: Zookeeper
function: SelectBetween
dependencies: 1
2
inputs: box office
greater