Question: Who has greater attendance, Thor with the publication date of 2011-05-20 or Captain America: The First Avenger?
Choices: Thor
Rebecca
Pleasantville
Captain America: The First Avenger
Training Day
Talk to Her
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thor" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2011-05-20"^^xsd:date . } UNION { ?e <pred:name> "Captain America: The First Avenger" . } ?e <attendance> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Thor
function: FilterDate
dependencies: 0
inputs: publication date
2011-05-20
=
function: Find
inputs: Captain America: The First Avenger
function: SelectBetween
dependencies: 1
2
inputs: attendance
greater
Answer: Thor