What is {main topic} of {history of Georgia}, that has {bordered by} is {Alabama} ?
What's a major history topic about Alabama bordering Georgia.
What is a main topic of history concerning Georgia being bordered by Alabama.
SELECT ?l WHERE { resource:history_of_Georgia property:facet_of ?l . ?l property:shares_border_with resource:Alabama }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3137082> . ?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/Q173> . }
SELECT ?answer WHERE { wd:Q3137082 wdt:P1269 ?answer . ?answer wdt:P47 wd:Q173}