Question: Which is the political party whose country is the republic and whose IOC country code is SRI
Choices:
Scottish Labour Party
Ulster Unionist Party
Reform Party of Canada
Sri Lanka national cricket team
Royal College, Colombo
Communist Party of India (Marxist)
Christian Democratic Union
Nazi Party
Alliance '90/The Greens
United National Party
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IOC country code
SRI
function: FilterConcept
dependencies: 1
inputs: republic
function: Relate
dependencies: 2
inputs: country
backward
function: FilterConcept
dependencies: 3
inputs: political party
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "republic" . ?e_1 <IOC_country_code> ?pv . ?pv <pred:value> "SRI" .   }
Answer: United National Party