Give me {office building} that {located on street} {34th Street} and which contains the word {building} in their name
Name a constructing placed on 34th Street that contains the word "building" in its title
Name a building located on 34th Street that contains the word "building" in its name
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:office_building . FILTER ( CONTAINS ( LCASE ( ?p ) , 'building' ) ) . ?p property:located_on_street resource:34th_Street }
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/Q1021645>. ?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/P669> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q110049>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'building')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1021645 . ?sbj wdt:P669 wd:Q110049 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'building')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Empire State Building Empire State Building Madison Belmont Building Madison Belmont Building