What is {noble title} of {Louis the Pious} and {followed by}
What's the royal title of Louis the Pious and who succeeded him?
What is the royal title of Louis the Pious and who followed his reign.
SELECT ?y ?r WHERE { ?o property:noble_title ?r . ?o property:followed_by ?y . . resource:Louis_the_Pious property:noble_title ?o }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43974> . ?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:Q43974 p:P97 ?s . ?s ps:P97 ?obj . ?s pq:P156 ?value1 . }