Question: What territorial jurisdiction is a political party associated with, if we know that its member is Peter Weir (the one that is the member of political party Democratic Unionist Party), and the party's Twitter username is duponline?
Choices: Spain
Colombia
Qatar
People's Republic of China
United Kingdom
Magadan Oblast
Italy
Taiwan
Netherlands
Luxembourg
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> "Peter Weir" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Democratic Unionist Party" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "duponline" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }
Program:
function: Find
inputs: Democratic Unionist Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Peter Weir
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of political party
forward
function: FilterConcept
dependencies: 4
inputs: political party
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
duponline
applies to jurisdiction
Answer: United Kingdom