What was the position held by Juan Carlos I before Felipe VI of Spain replaced him?
SELECT ?obj WHERE { wd:Q19943 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q191045 }
juan carlos i: Q19943 felipe vi of spain: Q191045