Question: Which is longer, A View to a Kill published on 1985-07-12 or Transformers: Revenge of the Fallen starring Tony Todd?
Choices:
Training Day
Pleasantville
The Fifth Element
Talk to Her
Transformers: Revenge of the Fallen
Rebecca
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Answer: Transformers: Revenge of the Fallen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A View to a Kill" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1985-07-12"^^xsd:date . } UNION { ?e <pred:name> "Transformers: Revenge of the Fallen" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tony Todd" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: A View to a Kill
function: FilterDate
dependencies: 0
inputs: publication date
1985-07-12
=
function: Find
inputs: Tony Todd
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Transformers: Revenge of the Fallen
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater