Question: For the university that is the school of Craig Thomas (the one whose date of birth is 1942-11-24), how many subscribers does the user have for its Twitter username of cardiffuni?
Choices:
70304
801519
919822
19989382
845463
3416
243153
2048892
1868802
235507
Answer: 70304
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Craig Thomas" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1942-11-24"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> "cardiffuni" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Craig Thomas
function: FilterDate
dependencies: 0
inputs: date of birth
1942-11-24
=
function: Relate
dependencies: 1
inputs: educated at
forward
function: FilterConcept
dependencies: 2
inputs: university
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
cardiffuni
number of subscribers