Seol mar théacs é seo: The ontology of literary works