Question: How many subscribers does the military branch of John Williams (whose date of birth is 1828-01-01) have under the Twitter username USNavy?
Choices:
5060708
228416
259128
1036326
101408
45145
39
18056
5920797
143332
Answer: 1036326
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "military branch" . ?e_1 <military_branch> ?e . ?e_1 <pred:name> "John Williams" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1828-01-01"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> "USNavy" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: John Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1828-01-01
=
function: Relate
dependencies: 1
inputs: military branch
forward
function: FilterConcept
dependencies: 2
inputs: military branch
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
USNavy
number of subscribers