What is {quantity} of {kilogram per cubic metre}, that has {symbol} is {ρ} ?
"What is the quantity in kilograms per cubic metre the usage of the symbol p?"
"What is the quantity in kilograms per cubic metre using the symbol p?"
SELECT ?t WHERE { ?t property:quantity_symbol_(string) ?e . FILTER ( CONTAINS ( ?e , 'ρ' ) ) . resource:kilogram_per_cubic_metre property:measured_physical_quantity ?t }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q844211> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P111>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P416> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <ρ> . }
SELECT ?answer WHERE { wd:Q844211 wdt:P111 ?answer . ?answer wdt:P416 ?x FILTER(contains(?x , 'ρ'))}