What is the {political party in Catalonia} with the {MIN(number of representatives in an organization/legislature)} whose {political alignment} is {left-wing}  ?
What is the smallest Catalonian left-wing political party?
What is the political party in Catalonia with min number of representatives in an organization whose political alignment is left - wing?
SELECT ?s WHERE { ?s property:number_of_representatives_in_an_organization/legislature_or_won_in_elections ?u . ?s rdf:type ontology:political_party_in_Catalonia . ?s property:political_alignment resource:left-wing }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q25768329>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1410>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1387> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q164597> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q25768329 . ?ent wdt:P1410 ?obj . ?ent wdt:P1387 wd:Q164597} ORDER BY ASC(?obj)LIMIT 5 