Question: Of feature films distributed by Universal Pictures, parent of Universal Studios Home Entertainment, which has the longest run-time?
Choices:
The Flintstones
National Treasure: Book of Secrets
G-Force
Holes
Alvin and the Chipmunks: Chipwrecked
Enchanted
Old Dogs
John Carter
Back to the Future Part II
The Flintstones in Viva Rock Vegas
Answer: Back to the Future Part II
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Universal Pictures" . ?e_1 <subsidiary> ?e_2 . ?e_2 <pred:name> "Universal Studios Home Entertainment" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Universal Studios Home Entertainment
function: Relate
dependencies: 0
inputs: subsidiary
backward
function: Find
inputs: Universal Pictures
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: distributor
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: SelectAmong
dependencies: 5
inputs: duration
largest