What is the {show dog} with the {MIN(number of subscribers)} whose {instance of} is {dog}  ?
Who has the lowest number of subscribers of all the showdogs?
What is the showdog with the lowest number of subscribers?
SELECT ?s WHERE { ?s rdf:type ontology:dog . ?s property:number_of_subscribers ?v . ?s rdf:type ontology:show_dog }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12008694>.

?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/P3744>.
?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/P31> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q144> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q12008694 . ?ent wdt:P3744 ?obj . ?ent wdt:P31 wd:Q144} ORDER BY ASC(?obj)LIMIT 5 