Question: How many songs have lyrics written by the human whose IPI name number is 00033411035 (which is recorded under the name of YOUNG NEIL)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "song" . ?e <lyrics_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <IPI_name_number> ?pv . ?pv <pred:value> "00033411035" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv . ?qpv <pred:value> "YOUNG NEIL" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPI name number
00033411035
function: QFilterStr
dependencies: 1
inputs: named as
YOUNG NEIL
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: lyrics by
backward
function: FilterConcept
dependencies: 4
inputs: song
function: Count
dependencies: 5