Question: How many subscribers are there for the Twitter username KidRock that belongs to the person who is the spouse of Pamela Anderson starting on the date 2006-07-29?
Choices:
1347
44261
59500
7095
555360
508352
540640
2052696
365
966323
Answer: 555360
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Pamela Anderson" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> "2006-07-29"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> "KidRock" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Pamela Anderson
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterDate
dependencies: 1
inputs: start time
2006-07-29
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
KidRock
number of subscribers