What is the {2+2} with the {MIN(energy storage capacity)} whose {instance of} is {battery electric vehicle}  ?
Which 4 electric cars have the longest battery life and capacity?
Give the name of the four electric cars with the longest battery life and capacity.
SELECT ?n WHERE { ?n rdf:type ontology:battery_electric_vehicle . . ?n rdf:type ontology:2+2 . ?n property:energy_storage_capacity ?e }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3658098>.

?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/P4140>.
?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/Q1076882> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q3658098 . ?ent wdt:P4140 ?obj . ?ent wdt:P31 wd:Q1076882. } ORDER BY ASC(?obj)LIMIT 5 