Question: What television series has more than 5 seasons and stars Barbara Stanwyck?
Choices:
Dynasty
Game of Thrones
Search for Tomorrow
Bleak House
American Masters
Robot Chicken
Star Trek: Deep Space Nine
Everybody Loves Raymond
American Horror Story
The Edge of Night
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
5
>
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: Barbara Stanwyck
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "5"^^xsd:double ) . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Barbara Stanwyck" .  }
Answer: Dynasty