Module gd05.py#

class gd05.GenDifS_Map(mindmap_file_loc, *, verbose=1, input_dir=None, project_dir=None, update_mindmap=True, start='start', write_md=False, semauth_glossary_filename='glossary', generate_ttl=True, use_rdflib=True, use_owlrl=True, write_ontology=False)#

main class

parser_markdown()#

return markdown version of all ontology nodes as a Markdown object

show_turtle(ID_list=[])#

show existing ttl code blocks

Parameters

ID_list (list of IDs in self.node_dict) – list of IDs you want get the according ttl code. Empty list [ ] shows all available IDs”.

Returns

OWL code in turtle format

Return type

string

gd05.semauth2_generate_iri(text)#

extract iri either from (a) <path/to/markdown-file> or from (b) from semAuth2 style link