Question: How many literary awards has Larry Niven been given?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: Find
inputs: Larry Niven
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: literary award
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "Larry Niven" .   }
Answer: 5