Question: Which one has a longer duration between Thor (the one that received a Saturn Award for Best Costume) or Abraham Lincoln (the one that become public domain date is 1958-01-01)?
Choices:
Thor
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Pleasantville
Abraham Lincoln
Rebecca
Curse of the Golden Flower
Training Day
Program:
function: Find
inputs: Saturn Award for Best Costume
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Thor
function: And
dependencies: 1
2
function: Find
inputs: Abraham Lincoln
function: FilterDate
dependencies: 4
inputs: public domain date
1958-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thor" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Saturn Award for Best Costume" . } UNION { ?e <pred:name> "Abraham Lincoln" . ?e <public_domain_date> ?pv_1 . ?pv_1 <pred:date> "1958-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Thor