narrative structure in Spark