Question: Which is shorter, The Girl with the Dragon Tattoo produced by 20th Century Fox or Thomas Jefferson published on 1997-01-01?
Choices: Thomas Jefferson
Training Day
A Prairie Home Companion
The Girl with the Dragon Tattoo
The Towering Inferno
Curse of the Golden Flower
Talk to Her
Rebecca
Pleasantville
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Girl with the Dragon Tattoo" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" . } UNION { ?e <pred:name> "Thomas Jefferson" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1997-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Girl with the Dragon Tattoo
function: And
dependencies: 1
2
function: Find
inputs: Thomas Jefferson
function: FilterDate
dependencies: 4
inputs: publication date
1997-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: The Girl with the Dragon Tattoo