Question: How many colors are the hair color of the human whose Twitter username is pamfoundation and has a subscription number of 1080548?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "color" . ?e_1 <hair_color> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "pamfoundation" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "1080548"^^xsd:double .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
pamfoundation
function: QFilterNum
dependencies: 1
inputs: number of subscribers
1080548
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: hair color
forward
function: FilterConcept
dependencies: 4
inputs: color
function: Count
dependencies: 5
Answer: 1