Question: Does Charlie's Angels (that has Farrah Fawcett as a cast member) or Degrassi: The Next Generation have the longer running time?
Choices:
Game of Thrones
Bleak House
Degrassi: The Next Generation
Six Feet Under
American Horror Story
Charlie's Angels
Phineas and Ferb
Seinfeld
Dancing with the Stars
Robot Chicken
Program:
function: Find
inputs: Farrah Fawcett
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Charlie's Angels
function: And
dependencies: 1
2
function: Find
inputs: Degrassi: The Next Generation
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie's Angels" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Farrah Fawcett" .   } UNION { ?e <pred:name> "Degrassi: The Next Generation" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Charlie's Angels