<% if schema.ontology.hasDefinition? %>
- Definition
- <%= schema.ontology.definition %>
<% end %>
<% if schema.ontology.hasComment? %>
- Abstract
- <%= schema.ontology.comment %>
<% end %>
- Latest Version
- <%= schema.ontology.ns %>
<% if schema.ontology.created %>
- Created
- <%= schema.ontology.created %>
<% end %>
<% if schema.ontology.modified %>
- Last Modified
- <%= schema.ontology.modified %>
<% end %>
<% if schema.ontology.hasAuthors? %>
- Authors & Contributors
<% schema.ontology.authors.each() do |author| %>
- <%= author.name %>
<% end %>
<% end %>
<% if schema.ontology.rights %>
- Copy Rights
- <%= schema.ontology.rights %>
<% end %>
<% if not schema.ontology.see_alsos.empty?() %>
- See Also
<% schema.ontology.see_alsos.each() do |see_also| %>
- <%= see_also %>
<% end %>
<% end %>
<% if introduction %>
<%= introduction %>
<% end %>
<% if schema.ontology.imports.length > 0 %>
<% imported = [] %>
<% schema.ontology.imports.each() do |import| %>
<%= doImport(import, imported) %>
<% end %>
<% end %>
<% if schema.hasClasses? %>
<% schema.root_classes().each do |klass| %>
<%= doClass(klass) %>
<% end %>
|
<%= schema.classDiagramAsSvg %>
|
<% end %>
<% if schema.list_properties.length > 0 %>
<% end %>
<% if schema.hasClasses? %>
<%schema.list_classes().each do |t| %>
<%
rowSpan = 1
rowSpan += 1 if t[1].hasOtherNamespace?
rowSpan += 1 if t[1].hasDefinition?
rowSpan += 1 if t[1].hasComment?
rowSpan += 1 if t[1].hasEditorialNotes?
rowSpan += 1 if t[1].status
rowSpan += 1 if t[1].super_classes.length > 0
rowSpan += 1 if t[1].subClasses.length > 0
rowSpan += 1 if t[1].see_alsos.length > 0
%>
<%= t[1].short_name %><% if t[1].hasDifferentLabel? %> (<%= t[1].label %>)<% end %> |
<%= t[1].perClassDiagramAsSvg %> |
<% if t[1].hasOtherNamespace? %>
Namespace |
<%= t[1].ns %> |
<% end %>
<% if t[1].hasDefinition? %>
Definition |
<%= t[1].definition %> |
<% end %>
<% if t[1].hasComment? %>
Abstract |
<%= t[1].comment %> |
<% end %>
<% if t[1].hasEditorialNotes? %>
<% t[1].editorialNotes.each do |note| %>
Editorial Note |
<%= note %> |
<% end %>
<% end %>
<% if t[1].status %>
Status |
<%= t[1].status %> |
<% end %>
<% if t[1].hasSuperClasses? %>
SubClass Of |
|
<% end %>
<% if t[1].hasSubClasses? %>
Sub-Classes |
|
<% end %>
<% if t[1].see_alsos.length > 0 %>
See Also: |
<% t[1].see_alsos.each do |link| %>
- <%= link %>
<% end %>
|
<% end %>
<%end%>
<%end%>
<% if schema.list_object_properties.length > 0 %>
<% schema.list_object_properties().each do |t| %>
<%
rowSpan = 1
rowSpan += 1 if t[1].hasOtherNamespace?
rowSpan += 1 if t[1].hasDefinition?
rowSpan += 1 if t[1].hasComment?
rowSpan += 1 if t[1].hasEditorialNotes?
rowSpan += 1 if t[1].status
rowSpan += 1 if t[1].sub_property_of
rowSpan += 1 if t[1].sub_properties.length > 0
rowSpan += 1 if t[1].range.length > 0
rowSpan += 1 if t[1].domain.length > 0
rowSpan += 1 if t[1].see_alsos.length > 0
%>
<%= t[1].short_name %><% if t[1].hasDifferentLabel? %> (<%= t[1].label %>)<% end %> |
<%= t[1].perPropertyDiagramAsSvg %> |
<% if t[1].hasOtherNamespace? %>
Namespace |
<%= t[1].ns %> |
<% end %>
<% if t[1].hasDefinition? %>
Definition |
<%= t[1].definition %> |
<% end %>
<% if t[1].hasComment? %>
Abstract |
<%= t[1].comment %> |
<% end %>
<% if t[1].hasEditorialNotes? %>
<% t[1].editorialNotes.each do |note| %>
Editorial Note |
<%= note %> |
<% end %>
<% end %>
<% if t[1].status %>
Status |
<%= t[1].status %> |
<% end %>
<% if t[1].sub_property_of %>
<% if t[1].sub_property_of.class.to_s == "String" %>
Has Parent Property |
<%= t[1].sub_property_of %> |
<% else %>
Has Parent Property |
<%= t[1].sub_property_of.short_name %> |
<% end %>
<% end %>
<% if t[1].sub_properties.length > 0 %>
Sub-Properties |
|
<% end %>
<% if t[1].range.length > 0 %>
Range |
|
<% end %>
<% if t[1].domain.length > 0 %>
Domain |
|
<% end %>
<% if t[1].see_alsos.length > 0 %>
See Also |
<% t[1].see_alsos.each do |link| %>
- <%= link %>
<% end %>
|
<% end %>
<%end%>
<% end %>
<% if schema.list_datatype_properties.length > 0 %>
<% schema.list_datatype_properties().each do |t| %>
<%
rowSpan = 1
rowSpan += 1 if t[1].hasOtherNamespace?
rowSpan += 1 if t[1].hasDefinition?
rowSpan += 1 if t[1].hasComment?
rowSpan += 1 if t[1].hasEditorialNotes?
rowSpan += 1 if t[1].status
rowSpan += 1 if t[1].sub_property_of
rowSpan += 1 if t[1].sub_properties.length > 0
rowSpan += 1 if t[1].range.length > 0
rowSpan += 1 if t[1].domain.length > 0
rowSpan += 1 if t[1].see_alsos.length > 0
%>
<%= t[1].short_name %><% if t[1].hasDifferentLabel? %> (<%= t[1].label %>)<% end %> |
<%= t[1].perPropertyDiagramAsSvg %> |
<% if t[1].hasOtherNamespace? %>
Namespace |
<%= t[1].ns %> |
<% end %>
<% if t[1].hasDefinition? %>
Definition |
<%= t[1].definition %> |
<% end %>
<% if t[1].hasComment? %>
Abstract |
<%= t[1].comment %> |
<% end %>
<% if t[1].hasEditorialNotes? %>
<% t[1].editorialNotes.each do |note| %>
Editorial Note |
<%= note %> |
<% end %>
<% end %>
<% if t[1].status %>
Status |
<%= t[1].status %> |
<% end %>
<% if t[1].sub_property_of %>
<% if t[1].sub_property_of.class.to_s == "String" %>
Has Parent Property |
<%= t[1].sub_property_of %> |
<% else %>
Has Parent Property |
<%= t[1].sub_property_of.short_name %> |
<% end %>
<% end %>
<% if t[1].sub_properties.length > 0 %>
Sub-Properties |
|
<% end %>
<% if t[1].range.length > 0 %>
f
Range |
|
<% end %>
<% if t[1].domain.length > 0 %>
Domain |
|
<% end %>
<% if t[1].see_alsos.length > 0 %>
See Also |
<% t[1].see_alsos.each do |link| %>
- <%= link %>
<% end %>
|
<% end %>
<%end%>
<%end%>
<% schema.skosConceptSchemes.each do |conceptScheme| %>
<% schema.skosConceptsInScheme(conceptScheme).each do |individual| %>
<%
rowSpan = 1
rowSpan += 1 if individual.hasDefinition?
rowSpan += 1 if individual.hasComment?
rowSpan += 1 if individual.hasEditorialNotes?
rowSpan += 1 if individual.classes.length > 0
%>
<%= individual.short_name %> |
<%= individual.asSvg %> |
<% if individual.hasDefinition? %>
Definition |
<%= t[1].definition %> |
<% end %>
<% if individual.hasComment? %>
Abstract |
<%= individual.comment %> |
<% end %>
<% if individual.hasEditorialNotes? %>
<% individual.editorialNotes.each do |note| %>
Editorial Note |
<%= note %> |
<% end %>
<% end %>
<% if individual.classes.length > 0 %>
Class |
|
<% end %>
<%end%>
<%end%>
<% if schema.individualsNotSkosConcepts.length > 0 %>
<%schema.individualsNotSkosConcepts.each do |individual| %>
<%
rowSpan = 1
rowSpan += 1 if individual.hasComment?
rowSpan += 1 if individual.classes.length > 0
%>
<%= individual.short_name %> |
<%= individual.asSvg %> |
<% if individual.hasComment? %>
Abstract |
<%= individual.comment %> |
<% end %>
<% if individual.classes.length > 0 %>
Class |
|
<% end %>
<%end%>
<%end%>