Question: How many subscribers are there for the Twitter username BankofAmerica belonging to the agent whose ISO 9362 SWIFT/BIC code is BOFAUS6S?
Choices:
10118
343
553
82598
245
158839
7633102
506798
2124516
116736
Answer: 506798
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <ISO_9362_SWIFT/BIC_code> ?pv_1 . ?pv_1 <pred:value> "BOFAUS6S" . ?e <Twitter_username> ?pv . ?pv <pred:value> "BankofAmerica" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 9362 SWIFT/BIC code
BOFAUS6S
function: FilterConcept
dependencies: 1
inputs: agent
function: QueryAttrQualifier
dependencies: 2
inputs: Twitter username
BankofAmerica
number of subscribers