What is {subitem of} of {history of Indiana}, that has {bordered by} is {Michigan} ?
What is the subitem of the records of Indiana that is bordered by using the country of Michigan?
What is the subitem of the history of Indiana that is bordered by the state of Michigan?
SELECT ?o WHERE { ?o property:shares_border_with resource:Michigan . resource:history_of_Indiana property:facet_of ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11287624> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1269>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1166> . }
SELECT ?answer WHERE { wd:Q11287624 wdt:P1269 ?answer . ?answer wdt:P47 wd:Q1166}