Classification
<% for i, bc in ipairs(breadcrumbs) do %> <% cls, label = table.unpack(bc) %> <% if i ~= 1 then %> ➳ <% end %> <%= label -%> <% end %>
Metadata
-
<% for _, ol in ipairs(dmd) do %>
-
<% if ol.label then %><%= ol.label %>
<% else %>
<%= ol.uri %>
<% end %>
<% for _, o in ipairs(ol) do %>
- <%= o %> <% end %> <% end %>
Relationships
-
<% for p, ol in pairs(rel) do %>
-
<% if ol.label then %><%= ol.label %>
<% else %>
<%= ol.uri %>
<% end %>
<% for _, o in ipairs(ol) do %>
- <%= o.data %> <% end %> <% end %>
Contains
-
<% for _, ll in ipairs(children) do %>
- Sequence (<%= #ll %> items):
-
<% for i, el in ipairs(ll) do %>
-
<% if el.tn then %>
<% else %> <%= el.label %> <% end %>
<%end %>
<% end %>
-
<% if el.tn then %>