What is the {flammable gas} with the {MIN(standard enthalpy of formation)} whose {has part} is {carbon}  ?
What is the name of the carbon-containing gas that has the lowest standard enthalpy of formation?
Name the carbon-containing flammable gas with the lowest standard enthalpy of formation ?
SELECT ?o WHERE { ?o rdf:type ontology:Q21073026 . ?o property:has_part resource:carbon . . ?o property:standard_enthalpy_of_formation ?p }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q21073026>.

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

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q21073026 . ?ent wdt:P3078 ?obj . ?ent wdt:P527 wd:Q623. } ORDER BY ASC(?obj)LIMIT 5 