Question: What television series originates in the United States of America and has the Twitter username happytogether that is under the jurisdiction of the United States of America?
Choices:
Six Feet Under
Game of Thrones
Saturday Night's Main Event
Dancing with the Stars
Happy Together
Robot Chicken
Homeland
Seinfeld
Phineas and Ferb
Bleak House
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
happytogether
function: QFilterStr
dependencies: 4
inputs: applies to jurisdiction
United States of America
function: FilterConcept
dependencies: 5
inputs: television series
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "happytogether" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv . ?qpv <pred:value> "United States of America" .  }
Answer: Happy Together