Question: Which territorial jurisdiction is applicable for the Twitter username duponline belonging to the political party that has a member name Peter Weir whose occupation is barrister?
Choices: United Kingdom
United States of America
Kabardino-Balkar Republic
Turkey
New Zealand
France
South Africa
Spain
Vologda Oblast
Vladimir Oblast
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 <occupation> ?e_2 . ?e_2 <pred:name> "barrister" .  ?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: barrister
function: Relate
dependencies: 0
inputs: occupation
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