Question: What miniseries includes Iain Glen in their cast and has more than no seasons at all?
Choices:
Downton Abbey
The Pacific
Brideshead Revisited
Sherlock Holmes
Game of Thrones
The Diary of Anne Frank
Battlestar Galactica
Roots
Band of Brothers
The Stand
Program:
function: Find
inputs: Iain Glen
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: miniseries
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of seasons
0
>
function: FilterConcept
dependencies: 4
inputs: miniseries
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Iain Glen" .  ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Answer: The Diary of Anne Frank