Question: Robert Palmer, citizen of Great Britain, belongs to which political party with a number of members not equal to 66000?
Choices:
Ontario Liberal Party
New Zealand Labour Party
United National Party
Republican Party
Indian National Congress
Conservative Party of Canada
Kuomintang
Conservative Party
Communist Party of the Soviet Union
Communist Party of India (Marxist)
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: member count
66000
!=
function: FilterConcept
dependencies: 1
inputs: political party
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 3
inputs: country of citizenship
backward
function: Find
inputs: Robert Palmer
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: member of political party
forward
function: FilterConcept
dependencies: 7
inputs: political party
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <member_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "66000"^^xsd:double ) . ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> "Robert Palmer" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "Kingdom of Great Britain" .  }
Answer: Conservative Party