Question: How many subscribers does a person, the spouse of Elie Samaha until 1st January 2001, have on her Twitter username TiaCarrere?
Choices: 208
926630
70304
97082
12707
222004
3371
35412
178
201160
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <spouse> ?e_1 . ?e_1 <pred:name> "Elie Samaha" . [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv_1 . ?qpv_1 <pred:date> "2000-01-01"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> "TiaCarrere" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Elie Samaha
function: Relate
dependencies: 0
inputs: spouse
backward
function: QFilterDate
dependencies: 1
inputs: end time
2000-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
TiaCarrere
number of subscribers
Answer: 35412