Question: What person is a cast member of Modern Family and has the Twitter username TheJohnDiMaggio with 119054 subscribers?
Choices:
Paul Simon
Richard Gere
Babyface
John DiMaggio
William Henry Harrison
James E. Reilly
Max Fleischer
Simon Cowell
Sylvester Stallone
David Byrne
Answer: John DiMaggio
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Modern Family" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "TheJohnDiMaggio" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "119054"^^xsd:double .  }
Program:
function: Find
inputs: Modern Family
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
TheJohnDiMaggio
function: QFilterNum
dependencies: 4
inputs: number of subscribers
119054
=
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7