Question: Tell me the number of writers that is Paula Abdul's occupation.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "writer" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Paula Abdul" .   }
Program:
function: Find
inputs: Paula Abdul
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: writer
function: Count
dependencies: 2