Question: How many subscribers are registered with UniWales, the Twitter username of a university headquartered in Cardiff (the street address of this statement is King Edward VII Avenue) ?
Choices: 14693238
12214
76
157125
3826003
1533812
67002
33
661
3467083
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Cardiff" . [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <located_at_street_address> ?qpv_1 . ?qpv_1 <pred:value> "King Edward VII Avenue" . ?e <Twitter_username> ?pv . ?pv <pred:value> "UniWales" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Cardiff
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: QFilterStr
dependencies: 1
inputs: located at street address
King Edward VII Avenue
function: FilterConcept
dependencies: 2
inputs: university
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
UniWales
number of subscribers
Answer: 12214