Question: Does Flight of the Conchords (story set in New York City) or The Shining (with 259 minute run-time) have more seasons?
Choices: Game of Thrones
American Horror Story
Phineas and Ferb
Bleak House
Saturday Night's Main Event
Dancing with the Stars
Six Feet Under
Robot Chicken
Seinfeld
Flight of the Conchords
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flight of the Conchords" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "New York City" . } UNION { ?e <pred:name> "The Shining" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "259"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Flight of the Conchords
function: And
dependencies: 1
2
function: Find
inputs: The Shining
function: FilterNum
dependencies: 4
inputs: duration
259 minute
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
greater
Answer: Flight of the Conchords