What is {capital city} of {Alabama}, that has {category of associated people} is {Category:People from Tuscaloosa, Alabama} ?
What Alabama capital city is related with the category Individuals from Tuscaloosa, Alabama?
What Alabama capital city is associated with the category People from Tuscaloosa, Alabama?
SELECT ?k WHERE { resource:Alabama property:capital ?k . ?k property:category_of_associated_people resource:Category:People_from_Tuscaloosa,_Alabama }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q173> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?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/P1792> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8751891> . }
SELECT ?answer WHERE { wd:Q173 wdt:P36 ?answer . ?answer wdt:P1792 wd:Q8751891}