What is the {infectious disease} with the {MIN(prevalence)} whose {subclass of} is {viral hepatitis}  ?
What subclass of the infectious disease viral hepatitis has the minimal prevalence?
What is the name of the infectious disease that has minimal prevalence and is a subclass of viral hepatitis?
SELECT ?h WHERE { ?h rdf:type ontology:viral_hepatitis . ?h property:prevalence ?y . ?h rdf:type ontology:infectious_disease }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q18123741>.

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

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q18123741 . ?ent wdt:P1193 ?obj . ?ent wdt:P279 wd:Q1983841} ORDER BY ASC(?obj)LIMIT 5 
hepatitis C hepatitis C hepatitis C