Question: How many kids does the person whose pseudonym on stage is Eddie Murphy have?
Choices:
0
11
9
7
6
2
1 son
3 son
1
10
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pseudonym
Eddie Murphy
function: QFilterStr
dependencies: 1
inputs: subject has role
stage name
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: number of children
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> "Eddie Murphy" . [ <pred:fact_h> ?e ; <pred:fact_r> <pseudonym> ; <pred:fact_t> ?pv_1 ] <subject_has_role> ?qpv . ?qpv <pred:value> "stage name" . ?e <number_of_children> ?pv .  }
Answer: 9