Give me {city} that {patron saint} {Paul} and which contains the word {rome} in their name
Title acity whose supporter Holy person is Paul which contains the word "rome" in its name
Name acity whose patron Saint is Paul and that contains the word "rome" in its name
SELECT DISTINCT ?v WHERE { ?v property:patron_saint resource:Paul . ?v rdf:type ontology:city . FILTER ( CONTAINS ( LCASE ( ?v ) , 'rome' ) ) }
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/Q515>. ?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/P417> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q9200>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'rome')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q515 . ?sbj wdt:P417 wd:Q9200 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'rome')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Rome Rome