RDFa likes to use <a hrefs for the subject name, and by adding
links to the species I was confusing what species I was talking about.
Also I added the numeric types to the gel_cut and insert_size values.
<div class="library_sample_detail">
<h2>Sample Details</h2>
<b>Species</b>:
- <a href="{{lib.library_species.get_absolute_url}}" property="libns:species">{{ lib.library_species.scientific_name }}</a>
+ <span property="libns:species" content="{{lib.library_species.scientific_name}}"><a href="{{lib.library_species.get_absolute_url}}">{{ lib.library_species.scientific_name }}</a></span>
<br/>
<b>Experiment Type</b>:
<span property="libns:experiment_type">{{ lib.experiment_type }}</span>
<br/>
{% if lib.gel_cut_size %}
<b>Gel Cut Size</b>:
- <span property="libns:gel_cut">{{ lib.gel_cut_size }}</span>
+ <span property="libns:gel_cut" datatype="xsd:decimal">{{ lib.gel_cut_size }}</span>
<br/>
{% endif %}
{% if lib.insert_size %}
<b>Insert Size</b>:
- <span property="libns:insert_size">{{ lib.insert_size }}</span>
+ <span property="libns:insert_size" datatype="xsd:decimal">{{ lib.insert_size }}</span>
<br/>
{% endif %}
{% if lib.undiluted_concentration %}