Question: Which motion picture has a lengthier running time, Alfie, which has Mick Jagger as composer, or Jersey Girl, with a website of http://www.miramax.com/movie/jersey-girl?
Choices:
Training Day
A Prairie Home Companion
Alfie
Rebecca
Pleasantville
The Towering Inferno
Jersey Girl
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Answer: Alfie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jersey Girl" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.miramax.com/movie/jersey-girl" . } UNION { ?e <pred:name> "Alfie" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Mick Jagger" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jersey Girl
function: FilterStr
dependencies: 0
inputs: official website
http://www.miramax.com/movie/jersey-girl
function: Find
inputs: Mick Jagger
function: Relate
dependencies: 2
inputs: composer
backward
function: Find
inputs: Alfie
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater