Question: Who preceded and who followed Louis the Pious as emperor of Occident?
Paraphrase: Louis The Pious came before and after what emperors of the Occident?
SPARQL (Wikidata): SELECT ?value1 ?value2 WHERE { wd:Q43974 p:P97 ?s . ?s ps:P97 wd:Q23906200 . ?s pq:P156 ?value1 . ?s pq:P155 ?value2 }