Create & Annotate An SBML Model
===============================
.. literalinclude:: ../../../examples/cpp/create_sbml_model.cpp
:language: c++
:emphasize-lines: 1,92,93,100,112,113,116-119,125,132
:linenos:
Expected Output
---------------
.. highlight:: none
::
**********************************************************
SBML output:
**********************************************************
**********************************************************
RDF serialization of annotations:
**********************************************************
@prefix rdf: .
@prefix bqb: .
<#glucose_entity>
bqb:is ;
bqb:occursIn <./mymodel#cytosol> .
<./mymodel#cytosol>
bqb:is .
<./mymodel#glucose>
bqb:is ;
bqb:isPropertyOf <#glucose_entity> .
**********************************************************
RDF serialization with cell type annotation:
**********************************************************
@prefix rdf: .
@prefix bqb: .
<#cytosol_entity>
bqb:is ;
bqb:isPartOf <#cytosol_entity_term1> .
<#cytosol_entity_term1>
bqb:is .
<#glucose_entity>
bqb:is ;
bqb:occursIn <./mymodel#cytosol> .
<./mymodel#cytosol>
bqb:is ;
bqb:isPropertyOf <#cytosol_entity> .
<./mymodel#glucose>
bqb:is ;
bqb:isPropertyOf <#glucose_entity> .
**********************************************************
Humanized version of the annotation information
(ontology terms replaced by human-readable names):
**********************************************************
OPB:spatial volume -> (isPropertyOf) -> #cytosol -> (is) -> GO:cytoplasm -> (isPartOf) -> CL:type B pancreatic cell
OPB:chemical concentration -> (isPropertyOf) -> #glucose -> (is) -> CHEBI:glucose -> (occursIn) -> #cytosol