Question: Tell me the number of plays that are originally aired on Channel 5 and that come from Kingdom of Great Britain
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "play" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "Channel 5" .  ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "Kingdom of Great Britain" .  }
Program:
function: Find
inputs: Channel 5
function: Relate
dependencies: 0
inputs: original network
backward
function: FilterConcept
dependencies: 1
inputs: play
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: play
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0