Question: For the American-football team with a headquarter location in Houston (the one that is the twinned administrative body of Leipzig), how many subscribers does the user have for its Twitter username of HoustonTexans?
Choices:
42172
555360
4872552
29918
33344
1389
1733
1835103
1694814
1723411
Answer: 1835103
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football team" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Houston" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Leipzig" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "HoustonTexans" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Leipzig
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Houston
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: American football team
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
HoustonTexans
number of subscribers