Question: Which one is shorter, Greenwich Village (the one whose composer is David Buttolph) or Dallas (the one whose publication date is 1950-01-01) ?
Choices: Talk to Her
The Hunchback of Notre Dame
Greenwich Village
A Prairie Home Companion
The Fifth Element
Training Day
The Towering Inferno
Rebecca
Curse of the Golden Flower
Dallas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greenwich Village" . ?e <composer> ?e_1 . ?e_1 <pred:name> "David Buttolph" . } UNION { ?e <pred:name> "Dallas" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1950-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: David Buttolph
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Greenwich Village
function: And
dependencies: 1
2
function: Find
inputs: Dallas
function: FilterDate
dependencies: 4
inputs: publication date
1950-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Greenwich Village