Use htsworkflow ontology to validate various RDF using components.
[htsworkflow.git] / htsworkflow / frontend / templates / experiments / flowcell_header.html
index 953897c5793702c629f1310dd6c5b787f562d213..412d3ac6b16ae4a02d4243f983787677f0bf9173 100644 (file)
@@ -2,9 +2,10 @@
   <h2>About this Flowcell</h2>
   <b>Flowcell</b>:
     <a href="{{flowcell.get_absolute_url}}" property="libns:flowcell_id">{{flowcell.flowcell_id}}</a>{% if user.is_staff %}<a href="{{flowcell.get_admin_url}}"><img class="icon_button" src="/media/img/admin/icon_changelink.gif" alt="Edit"/></a>{% endif%}
-  <br rel="rdf:type" resource="http://jumpgate.caltech.edu/wiki/LibraryOntology#illumina_flowcell"/>
-  <div rel="libns:sequenced_by"
-       resource="{{flowcell.sequencer.get_absolute_url}}">
+  <br rel="rdf:type" resource="http://jumpgate.caltech.edu/wiki/LibraryOntology#IlluminaFlowcell"/>
+  <div rel="libns:sequenced_by">
+  <div typeof="libns:Sequencer"
+       about="{{flowcell.sequencer.get_absolute_url}}">
   <b>Instrument</b>:
     <span property="libns:sequencer_name">{{ flowcell.sequencer.name }}</span>
     {% if flowcell.sequencer.instrument_name %}
@@ -15,6 +16,7 @@
     <span property="libns:sequencer_model">{{flowcell.sequencer.model}}</span>
     <br/>
   </div>
+  </div>
   {% for datarun in flowcell.datarun_set.all %}
   <b>Image Analysis</b>:
     <span property="libns:image_software">{{datarun.image_software}}</span>