Give me {city-state} that {highest point} {Hasselbrack} and which contains the word {hamburg} in their name
Disclose me me a city-state whose name consist of the word "hamburg" and whose highest point hasselbrack.
Tell me me a city-state whose name consist of the word "hamburg" and whose highest point hasselbrack.
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city-state . ?u property:highest_point resource:Hasselbrack . FILTER ( CONTAINS ( LCASE ( ?u ) , 'hamburg' ) ) }
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/Q133442>. ?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/P610> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q877482>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'hamburg')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q133442 . ?sbj wdt:P610 wd:Q877482 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'hamburg')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Hamburg Hamburg