Question: Of political parties with under 33,000 members, which has the fewest party members?
Choices:
Conservative Party of Canada
Communist Party USA
United National Party
Communist Party of India (Marxist)
Pakistan Peoples Party
Ontario Liberal Party
Indian National Congress
Kuomintang
Labour Party
Fine Gael
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: member count
33000
<
function: FilterConcept
dependencies: 1
inputs: political party
function: SelectAmong
dependencies: 2
inputs: member count
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <member_count> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "33000"^^xsd:double ) . ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Communist Party USA