Give me {single-family detached home} that contains the word {villa} in their name
Let me know which is the single-family segregated domestic which contains the word estate in it's name?
Tell me which is the single-family detached home which contains the word villa in it's name?
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:single-family_detached_home . FILTER ( CONTAINS ( LCASE ( ?t ) , 'villa' ) ) }
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/Q1307276>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'villa')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1307276 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'villa')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Villa Bílek Villa Bílek Kenwin villa Kenwin villa Villa Karma Villa Karma Villa Sarabhai Villa Sarabhai Villa Gans Villa Gans Luckhardt-Villa Luckhardt-Villa Villa Barbaro Villa Barbaro Villa Schminke Villa Schminke Villa Shodhan Villa Shodhan Villa Pfleiderer Villa Pfleiderer Villa Söhnlein Villa Söhnlein Villa Wagner II Villa Wagner II Villa Heutelbeck Villa Heutelbeck Villa Roser Villa Roser Villa Skywa-Primavesi Villa Skywa-Primavesi Villa Dürckheim Villa Dürckheim Villa Hügel Villa Hügel Villa Esche Villa Esche Villa Tammekann Villa Tammekann Villa Loos Villa Loos Fabyan Villa Fabyan Villa Villa Aalto Villa Aalto Villas Barvičova 20-34 Villas Barvičova 20-34 Villas Mahenova 8-8a-8b-8c Villas Mahenova 8-8a-8b-8c Villa Haselmann Villa Haselmann