Question: Which political party does Angela Lansbury belong to?
Choices:
Republican Party
United National Party
Kuomintang
Labour Party
Conservative Party of Canada
Scottish Labour Party
New Zealand Labour Party
Pakistan Peoples Party
Communist Party of India (Marxist)
Indian National Congress
Answer: Scottish Labour Party
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "political party" . ?e_3 <member_of_political_party> ?e_1 . ?e_3 <pred:name> "Angela Lansbury" .   }
Program:
function: Find
inputs: Angela Lansbury
function: Relate
dependencies: 0
inputs: member of political party
forward
function: FilterConcept
dependencies: 1
inputs: political party
function: Relate
dependencies: 2
inputs: part of
backward
function: FilterConcept
dependencies: 3
inputs: political party
function: What
dependencies: 4