Give me {historic county of England} that {capital} {Norwich} and which contains the word {norfolk} in their name
Tell me Norwich's capital's historic county of England and that contains the word norfolk in its name?
Tell me the historic county of England of the capital of Norwich and that contains the word norfolk in it's name?
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:historic_county_of_England . FILTER ( CONTAINS ( LCASE ( ?j ) , 'norfolk' ) ) . ?j property:capital resource:Norwich }
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/Q1138494>. ?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/P36> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q130191>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'norfolk')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1138494 . ?sbj wdt:P36 wd:Q130191 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'norfolk')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 