Question: How many Twitter subscribers does the child of Keith Allen (the one whose date of birth is 1953-09-02) whose Twitter username is lilyallen have?
Choices:
116278
937
105292
1155811
152982
103879
5920797
9309
203
4848773
Answer: 5920797
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <child> ?e . ?e_1 <pred:name> "Keith Allen" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1953-09-02"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> "lilyallen" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Keith Allen
function: FilterDate
dependencies: 0
inputs: date of birth
1953-09-02
=
function: Relate
dependencies: 1
inputs: child
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
lilyallen
number of subscribers