Question: Does the longer run-time belong to House, with an 8-season run, or Mission: Impossible, the basis for Mission: Impossible II?
Choices:
Saturday Night's Main Event
Phineas and Ferb
Six Feet Under
Mission: Impossible
House
American Horror Story
Robot Chicken
Bleak House
Game of Thrones
Dancing with the Stars
Program:
function: Find
inputs: House
function: FilterNum
dependencies: 0
inputs: number of seasons
8
=
function: Find
inputs: Mission: Impossible II
function: Relate
dependencies: 2
inputs: derivative work
backward
function: Find
inputs: Mission: Impossible
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "House" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "8"^^xsd:double . } UNION { ?e <pred:name> "Mission: Impossible" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Mission: Impossible II" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mission: Impossible