Create & Annotate An SBML Model =============================== .. literalinclude:: ../../../examples/python/create_sbml_model.py :language: python :emphasize-lines: 53,54,58,60,70,82-83,87-90,99,106 :linenos: Expected Output --------------- .. highlight:: none :: ********************************************************** SBML output: ********************************************************** glucose_import_glucose_import_rate ********************************************************** RDF serialization of annotations: ********************************************************** @prefix rdf: . @prefix bqb: . <#beta_cell_model.glucose_entity> bqb:is ; bqb:occursIn <./my-sbml-file.xml#beta_cell_model.cytosol> . <./my-sbml-file.xml#beta_cell_model.cytosol> bqb:is . <./my-sbml-file.xml#beta_cell_model.glucose> bqb:is ; bqb:isPropertyOf <#beta_cell_model.glucose_entity> . ********************************************************** RDF serialization with cell type annotation: ********************************************************** @prefix rdf: . @prefix bqb: . <#beta_cell_model.cytosol_entity> bqb:is ; bqb:isPartOf <#beta_cell_model.cytosol_entity_term1> . <#beta_cell_model.cytosol_entity_term1> bqb:is . <#beta_cell_model.glucose_entity> bqb:is ; bqb:occursIn <./my-sbml-file.xml#beta_cell_model.cytosol> . <./my-sbml-file.xml#beta_cell_model.cytosol> bqb:is ; bqb:isPropertyOf <#beta_cell_model.cytosol_entity> . <./my-sbml-file.xml#beta_cell_model.glucose> bqb:is ; bqb:isPropertyOf <#beta_cell_model.glucose_entity> . ********************************************************** Humanized version of the annotation information (ontology terms replaced by human-readable names): ********************************************************** OPB:spatial volume -> (isPropertyOf) -> #beta_cell_model.cytosol -> (is) -> GO:cytoplasm -> (isPartOf) -> CL:type B pancreatic cell OPB:chemical concentration -> (isPropertyOf) -> #beta_cell_model.glucose -> (is) -> CHEBI:glucose -> (occursIn) -> #beta_cell_model.cytosol