What is the {apple cultivar} with the {MIN(shelf life)} whose {has quality} is {sourness}  ?
Which sour apple breed decays the soonest?
Which sour apple cultivar has the shortest shelf life?
SELECT ?r WHERE { ?r property:has_quality resource:sourness . ?r rdf:type ontology:apple_cultivar . ?r property:shelf_life ?g }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q15731356>.

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

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q15731356 . ?ent wdt:P4218 ?obj . ?ent wdt:P1552 wd:Q2795949} ORDER BY ASC(?obj)LIMIT 5 
Quinte Korichnoye Polosatoye Korichnoye Polosatoye