what is the {temperature} for {2,4,6-trinitrotoluene} has {density} as {1.65} ?
what is the {temperature} for {2,4,6-trinitrotoluene} which has {thickness} as {1.65} ?
what is the {temperature} for {2,4,6-trinitrotoluene} which has {density} as {1.65} ?
SELECT ?u WHERE { ?q property:density ?r . ?q property:temperature ?u . FILTER ( CONTAINS ( ?r , '1.65' ) ) . resource:TNT property:density ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170167> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2054> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1.65> .
?statement <http://www.wikidata.org/entity/P2076> ?value. 
} 

SELECT ?value WHERE { wd:Q170167 p:P2054 ?s . ?s ps:P2054 ?x filter(contains(?x , '1.65')) . ?s pq:P2076 ?value}