Give me {commune of France with specific status} that {list of monuments} {list of monuments in Lyon} and which contains the word {lyon} in their name
Tell me the commune of France with unique status that is in the listing of monument of the Lyon's listing of monuments and whose title incorporates the word lyon?
Tell me the commune of France with specific status that is in the list of monument of the Lyon's list of monuments and whose name contains the word lyon?
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:commune_of_France_with_specific_status . ?j property:list_of_monuments resource:list_of_monuments_in_Lyon . FILTER ( CONTAINS ( LCASE ( ?j ) , 'lyon' ) ) }
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/Q22927616>. ?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/P1456> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3252117>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'lyon')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q22927616 . ?sbj wdt:P1456 wd:Q3252117 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'lyon')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Lyon Lyon