Question: How many written works fall within a novel genre ?
Choices:
19
20
21
22
23
24
25
26
27
28
Program:
function: Find
inputs: novel
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: written work
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <genre> ?e_1 . ?e_1 <pred:name> "novel" .   }
Answer: 27