Question: Does The Vow (whose composer is Rachel Portman) or Cinderella (whose release date is 1997-11-16) have the longer runtime?
Choices:
Training Day
A Prairie Home Companion
The Towering Inferno
Cinderella
Curse of the Golden Flower
The Vow
The Fifth Element
The Hunchback of Notre Dame
Rebecca
Pleasantville
Program:
function: Find
inputs: Rachel Portman
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Vow
function: And
dependencies: 1
2
function: Find
inputs: Cinderella
function: FilterDate
dependencies: 4
inputs: publication date
1997-11-16
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Vow" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Rachel Portman" . } UNION { ?e <pred:name> "Cinderella" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1997-11-16"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Vow