Question: Which has less attendance, Iron Man starring Paul Bettany or Beirut published on 2018-04-11?
Choices:
Talk to Her
Beirut
A Prairie Home Companion
Rebecca
Iron Man
Training Day
The Towering Inferno
The Fifth Element
Curse of the Golden Flower
Pleasantville
Answer: Beirut
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Paul Bettany" . } UNION { ?e <pred:name> "Beirut" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2018-04-11"^^xsd:date . } ?e <attendance> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Paul Bettany
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Iron Man
function: And
dependencies: 1
2
function: Find
inputs: Beirut
function: FilterDate
dependencies: 4
inputs: publication date
2018-04-11
=
function: SelectBetween
dependencies: 3
5
inputs: attendance
less