Question: To which territorial jurisdiction does ChicagoFire, the Twitter username of the association football club whose headquarters location is Chicago (the birthplace of Bob Balaban), apply?
Choices:
Ryazan Oblast
Tyumen Oblast
Japan
Chile
United States of America
Luxembourg
Uruguay
Vologda Oblast
Tula Oblast
Moscow Oblast
Program:
function: Find
inputs: Bob Balaban
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
ChicagoFire
applies to jurisdiction
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Chicago" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Bob Balaban" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "ChicagoFire" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }
Answer: United States of America