What is the {participant} and the {location} of {Battle_of_Gettysburg} ?
What was the location of, and who were the participants in the Battle of Gettysburg?
Where was the location of the Battle of Gettysburg and who were the participation that fought in that war?
SELECT ?f ?x WHERE { resource:Battle_of_Gettysburg property:participant ?f . resource:Battle_of_Gettysburg property:location ?x }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q33132> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P710> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q33132> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P276> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q33132 wdt:P710 ?ans_1 . wd:Q33132 wdt:P276 ?ans_2 }
Adams County United States of America Adams County Confederate States of America Adams County Robert E. Lee Adams County George Meade