Question: Which is longer: 67th Golden Globe Awards winner Grey Gardens or Sex and the City, released on 2008-05-29?
Choices:
Training Day
A Prairie Home Companion
Sex and the City
Rebecca
The Towering Inferno
Talk to Her
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
Grey Gardens
Program:
function: Find
inputs: 67th Golden Globe Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Grey Gardens
function: And
dependencies: 1
2
function: Find
inputs: Sex and the City
function: FilterDate
dependencies: 4
inputs: publication date
2008-05-29
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grey Gardens" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "67th Golden Globe Awards" . } UNION { ?e <pred:name> "Sex and the City" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-05-29"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sex and the City