Give me {history of a country or state} that contains the word {history} in their name
What are the history of a u . s . a . or country which begin with the letter records
What are the history of a country or state which start with the letter history
SELECT DISTINCT ?q WHERE { FILTER ( CONTAINS ( LCASE ( ?q ) , 'history' ) ) . ?q rdf:type ontology:history_of_a_country_or_state }
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/Q17544377>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'history')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q17544377 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'history')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
history of the United States from 1865 to 1918 history of the United States from 1865 to 1918 history of the United States from 1918 to 1945 history of the United States from 1918 to 1945 history of the United States from 1789 to 1849 history of the United States from 1789 to 1849 history of Nepal history of Nepal history of the United States from 1991 to 2008 history of the United States from 1991 to 2008 history of Dagestan history of Dagestan history of Jordan history of Jordan history of the Northern Mariana Islands history of the Northern Mariana Islands history of Sri Lanka history of Sri Lanka history of Gujarat history of Gujarat history of Barbados history of Barbados history of Jamaica history of Jamaica history of the Soviet Union from 1953 to 1964 history of the Soviet Union from 1953 to 1964 history of Chechnya history of Chechnya history of Fiji history of Fiji history of China history of China history of the United States history of the United States history of Iceland history of Iceland history of Azerbaijan history of Azerbaijan history of Turkey history of Turkey history of Hungary history of Hungary history of Switzerland history of Switzerland history of Brazil history of Brazil history of Vietnam history of Vietnam history of Nicaragua history of Nicaragua