Question: How many dramas are the genre of The Late Shift?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "drama" . ?e_1 <genre> ?e . ?e_1 <pred:name> "The Late Shift" .   }
Program:
function: Find
inputs: The Late Shift
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: drama
function: Count
dependencies: 2