Question: How many rock musics are associated with the movement of the person with the IPI name number of 00003960406 (the name by which it is recorded of this statement is BOWIE DAVID)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock music" . ?e_1 <movement> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <IPI_name_number> ?pv . ?pv <pred:value> "00003960406" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv . ?qpv <pred:value> "BOWIE DAVID" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPI name number
00003960406
function: QFilterStr
dependencies: 1
inputs: named as
BOWIE DAVID
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: movement
forward
function: FilterConcept
dependencies: 4
inputs: rock music
function: Count
dependencies: 5