What is {noble title} of {Charles the Bald} and {followed by}
Charles the Bald position is what and he got his situation after which individual?
Charles the Bald position is what and he got his position after which person?
SELECT ?q ?r WHERE { ?w property:noble_title ?r . resource:Charles_the_Bald property:noble_title ?w . ?w property:followed_by ?q . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q71231> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P97> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q71231 p:P97 ?s . ?s ps:P97 ?obj . ?s pq:P156 ?value1 . }