Question: To what territorial jurisdiction is the Twitter username MeganMullally applicable for the person who has the character role of Karen Walker in Will & Grace?
Choices:
Vladimir Oblast
Bulgaria
Hong Kong
Greece
United States of America
Brazil
Belgium
Tula Oblast
Chelyabinsk Oblast
Sakhalin Oblast
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Will & Grace" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv_1 . ?qpv_1 <pred:value> "Karen Walker" . ?e <Twitter_username> ?pv . ?pv <pred:value> "MeganMullally" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }
Program:
function: Find
inputs: Will & Grace
function: Relate
dependencies: 0
inputs: cast member
forward
function: QFilterStr
dependencies: 1
inputs: character role
Karen Walker
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
MeganMullally
applies to jurisdiction