Give me {state function} that {measured by} {thermometer} and which contains the word {temperature} in their name
Name a state function measured by means of a thermometer that carries the word "temperature" in its name
Name a state function measured by a thermometer that contains the word "temperature" in its name
SELECT DISTINCT ?f WHERE { FILTER ( CONTAINS ( LCASE ( ?f ) , 'temperature' ) ) . ?f rdf:type ontology:state_function . ?f property:measurement_scale resource:thermometer }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q230937>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1880> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q646>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'temperature')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q230937 . ?sbj wdt:P1880 wd:Q646 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'temperature')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 