Question: What is the number of subscribers for the Twitter username RepAdamSmith that belongs to Adam Smith whose profession is lawyer?
Choices:
4564444
27797
129
563836
209132
374835
3261069
157125
1118
20927
Answer: 27797
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Adam Smith" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "lawyer" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "RepAdamSmith" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Adam Smith
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
RepAdamSmith
number of subscribers