Question: How many followers has the Twitter username JoshLucas, who is a cast member of Restless (the one whose narrative location is Beijing)?
Choices:
30564
165214
24503
332574
30268
1118
45223
245
696
13353674
Answer: 30564
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Restless" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> "Beijing" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "JoshLucas" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Beijing
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Restless
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
JoshLucas
number of subscribers