Question: What political party has a member Peter Weir who attended the Queen's University Belfast?
Choices: Kuomintang
National Party of Australia
Pakistan Peoples Party
United National Party
Communist Party of India (Marxist)
Democratic Unionist Party
Conservative Party of Canada
Ontario Liberal Party
Labour Party
Democratic-Republican Party
SPARQL: SELECT DISTINCT ?e 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 <educated_at> ?e_2 . ?e_2 <pred:name> "Queen's University Belfast" .   }
Program:
function: Find
inputs: Queen's University Belfast
function: Relate
dependencies: 0
inputs: educated at
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: What
dependencies: 5
Answer: Democratic Unionist Party