Question: Does It (the one whose Twitter username is ITMovieOfficial) or Sleepers have greater box office ?
Choices:
Curse of the Golden Flower
Pleasantville
The Towering Inferno
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
It
Sleepers
Rebecca
Training Day
Program:
function: Find
inputs: It
function: FilterStr
dependencies: 0
inputs: Twitter username
ITMovieOfficial
function: Find
inputs: Sleepers
function: SelectBetween
dependencies: 1
2
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "It" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "ITMovieOfficial" . } UNION { ?e <pred:name> "Sleepers" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: It