Question: How many dramas are in the genre of War of the Worlds?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
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> "War of the Worlds" .   }
Program:
function: Find
inputs: War of the Worlds
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: drama
function: Count
dependencies: 2