Question: For the human that's the life partner of Brian Austin Green, his/her Twitter username is meganfox, how many supporters does the client have
Choices:
1172463
1104919
2330
81808
138958
1349688
45744
220596
10269149
1020265
Answer: 1349688
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Brian Austin Green" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "meganfox" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Brian Austin Green
function: Relate
dependencies: 0
inputs: spouse
forward
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttrQualifier
dependencies: 2
inputs: Twitter username
meganfox
number of subscribers