Question: How many keyboard instruments does Richard Wright (the one that died on 2008-09-15) play?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "keyboard instrument" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Richard Wright" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2008-09-15"^^xsd:date .   }
Program:
function: Find
inputs: Richard Wright
function: FilterDate
dependencies: 0
inputs: date of death
2008-09-15
=
function: Relate
dependencies: 1
inputs: famous people
backward
function: FilterConcept
dependencies: 2
inputs: keyboard instrument
function: Count
dependencies: 3
Answer: 2