section{* An example ontology for a scholarly paper*} theory technical_report imports "scholarly_paper" begin doc_class table_of_content = level :: int <= 3 doc_class "chapter" = text_section + style :: string doc_class report = style_id :: string <= "''LNCS''" version :: "(int \ int \ int)" <= "(0,0,0)" accepts "(title ~~ \subtitle\ ~~ \author\\<^sup>+ ~~ abstract ~~ chapter ~~ introduction ~~ \technical || example\\<^sup>+ ~~ conclusion ~~ bibliography)" end