pylode 2.8.3__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyLODE-2.8.3.dist-info/LICENSE +643 -0
- pyLODE-2.8.3.dist-info/METADATA +772 -0
- pyLODE-2.8.3.dist-info/RECORD +63 -0
- pyLODE-2.8.3.dist-info/WHEEL +6 -0
- pyLODE-2.8.3.dist-info/entry_points.txt +3 -0
- pyLODE-2.8.3.dist-info/top_level.txt +1 -0
- pylode/__init__.py +5 -0
- pylode/cli.py +191 -0
- pylode/common.py +191 -0
- pylode/curies.py +2208 -0
- pylode/profiles/__init__.py +4 -0
- pylode/profiles/base.py +463 -0
- pylode/profiles/ontdoc.py +1283 -0
- pylode/profiles/prof.py +276 -0
- pylode/profiles/profile.py +135 -0
- pylode/profiles/vocpub.py +605 -0
- pylode/server.py +24 -0
- pylode/style/pylode.css +179 -0
- pylode/templates/agent.html +11 -0
- pylode/templates/agent.md +11 -0
- pylode/templates/namespaces.html +9 -0
- pylode/templates/namespaces.md +5 -0
- pylode/templates/ontdoc/class.html +121 -0
- pylode/templates/ontdoc/class.md +40 -0
- pylode/templates/ontdoc/classes.html +11 -0
- pylode/templates/ontdoc/classes.md +7 -0
- pylode/templates/ontdoc/document.html +42 -0
- pylode/templates/ontdoc/document.md +16 -0
- pylode/templates/ontdoc/metadata.html +127 -0
- pylode/templates/ontdoc/metadata.md +111 -0
- pylode/templates/ontdoc/named_individual.html +65 -0
- pylode/templates/ontdoc/named_individual.md +25 -0
- pylode/templates/ontdoc/named_individuals.html +11 -0
- pylode/templates/ontdoc/named_individuals.md +7 -0
- pylode/templates/ontdoc/properties.html +65 -0
- pylode/templates/ontdoc/properties.md +45 -0
- pylode/templates/ontdoc/property.html +129 -0
- pylode/templates/ontdoc/property.md +37 -0
- pylode/templates/orcid.html +19 -0
- pylode/templates/orcid.md +1 -0
- pylode/templates/prof/prof.html +38 -0
- pylode/templates/prof/prof.md +16 -0
- pylode/templates/prof/profile.html +90 -0
- pylode/templates/prof/profile.md +85 -0
- pylode/templates/prof/resource_descriptor.html +49 -0
- pylode/templates/prof/resource_descriptor.md +21 -0
- pylode/templates/vocpub/collection.html +51 -0
- pylode/templates/vocpub/collection.md +23 -0
- pylode/templates/vocpub/collections.html +11 -0
- pylode/templates/vocpub/collections.md +7 -0
- pylode/templates/vocpub/concept.html +115 -0
- pylode/templates/vocpub/concept.md +40 -0
- pylode/templates/vocpub/concept_hierarchy.html +80 -0
- pylode/templates/vocpub/concept_scheme.html +105 -0
- pylode/templates/vocpub/concept_scheme.md +102 -0
- pylode/templates/vocpub/concepts.html +9 -0
- pylode/templates/vocpub/concepts.md +7 -0
- pylode/templates/vocpub/taxonomy.html +42 -0
- pylode/templates/vocpub/taxonomy.md +17 -0
- pylode/tests/__init__.py +0 -0
- pylode/tests/test_ont_html_description.py +7 -0
- pylode/tests/test_skos.py +8 -0
- pylode/tests/tests_all.py +50 -0
pylode/style/pylode.css
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
#pylode {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 130px;
|
|
4
|
+
left: -60px;
|
|
5
|
+
font-size: small;
|
|
6
|
+
transform: rotate(-90deg);
|
|
7
|
+
color: grey;
|
|
8
|
+
}
|
|
9
|
+
#pylode a {
|
|
10
|
+
font-size: 2em;
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
color: #005A9C;
|
|
14
|
+
}
|
|
15
|
+
#pylode a:hover {
|
|
16
|
+
color: #333;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.cardinality {
|
|
20
|
+
font-style: italic;
|
|
21
|
+
color: #aa00aa;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
dt {
|
|
25
|
+
font-weight: bold;
|
|
26
|
+
padding: 5px 0 5px 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
ul.hlist {
|
|
30
|
+
list-style-type: none;
|
|
31
|
+
border: 1px solid navy;
|
|
32
|
+
padding:5px;
|
|
33
|
+
background-color: #F4FFFF;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
ul.hierarchy {
|
|
37
|
+
border: 1px solid navy;
|
|
38
|
+
padding: 5px 25px 5px 25px;
|
|
39
|
+
background-color: #F4FFFF;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
ul.hlist li {
|
|
44
|
+
display: inline;
|
|
45
|
+
margin-right: 10px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.entity {
|
|
49
|
+
border: 1px solid navy;
|
|
50
|
+
margin:5px 0 5px 0;
|
|
51
|
+
padding: 5px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.entity th {
|
|
55
|
+
width: 150px;
|
|
56
|
+
vertical-align: top;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.entity th,
|
|
60
|
+
.entity td {
|
|
61
|
+
padding-bottom: 20px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.entity table th {
|
|
65
|
+
text-align: left;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
section#overview img {
|
|
69
|
+
max-width: 1000px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
h1, h2, h3, h4, h5, h6 {
|
|
73
|
+
text-align: left
|
|
74
|
+
}
|
|
75
|
+
h1, h2, h3 {
|
|
76
|
+
color: #005A9C; background: white
|
|
77
|
+
}
|
|
78
|
+
h1 {
|
|
79
|
+
font: 170% sans-serif;
|
|
80
|
+
line-height: 110%;
|
|
81
|
+
}
|
|
82
|
+
h2 {
|
|
83
|
+
font: 140% sans-serif;
|
|
84
|
+
margin-top:40px;
|
|
85
|
+
}
|
|
86
|
+
h3 {
|
|
87
|
+
font: 120% sans-serif;
|
|
88
|
+
margin-top: 3px;
|
|
89
|
+
padding-bottom: 5px;
|
|
90
|
+
border-bottom: 1px solid navy;
|
|
91
|
+
}
|
|
92
|
+
h4 { font: bold 100% sans-serif }
|
|
93
|
+
h5 { font: italic 100% sans-serif }
|
|
94
|
+
h6 { font: small-caps 100% sans-serif }
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
body {
|
|
98
|
+
padding: 2em 70px 2em 70px;
|
|
99
|
+
margin: 0;
|
|
100
|
+
font-family: sans-serif;
|
|
101
|
+
color: black;
|
|
102
|
+
background: white;
|
|
103
|
+
background-position: top left;
|
|
104
|
+
background-attachment: fixed;
|
|
105
|
+
background-repeat: no-repeat;
|
|
106
|
+
text-align: justify;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
section {
|
|
110
|
+
max-width: 1500px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.figure {
|
|
114
|
+
margin-bottom: 20px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:link { color: #00C; background: transparent }
|
|
118
|
+
:visited { color: #609; background: transparent }
|
|
119
|
+
a:active { color: #C00; background: transparent }
|
|
120
|
+
|
|
121
|
+
.sup-c,
|
|
122
|
+
.sup-op,
|
|
123
|
+
.sup-fp,
|
|
124
|
+
.sup-dp,
|
|
125
|
+
.sup-ap,
|
|
126
|
+
.sup-p,
|
|
127
|
+
.sup-ni,
|
|
128
|
+
.sup-cp,
|
|
129
|
+
.sup-cl {
|
|
130
|
+
cursor:help;
|
|
131
|
+
margin-left: 3px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.sup-c {
|
|
135
|
+
color:orange;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.sup-op {
|
|
139
|
+
color:navy;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.sup-fp {
|
|
143
|
+
color:lightskyblue;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.sup-dp {
|
|
147
|
+
color:green;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.sup-ap {
|
|
151
|
+
color:darkred;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.sup-p {
|
|
155
|
+
color:black;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.sup-ni {
|
|
159
|
+
color:brown;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.sup-cp {
|
|
163
|
+
color:orange;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.sup-cl {
|
|
167
|
+
color:darkred;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
code {
|
|
171
|
+
font-size: large;
|
|
172
|
+
color: darkred;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* less prominent links for properties */
|
|
176
|
+
.proplink {
|
|
177
|
+
color: #336;
|
|
178
|
+
text-decoration: none;
|
|
179
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<section id="namespaces">
|
|
2
|
+
<h2>Namespaces <span style="float:right; font-size:smaller;"><a href="">↑</a></span></h2>
|
|
3
|
+
<dl>
|
|
4
|
+
{%- for key, value in namespaces.items() %}
|
|
5
|
+
<dt>{{ key }}</dt>
|
|
6
|
+
<dd><code>{{ value }}</code></dd>
|
|
7
|
+
{%- endfor %}
|
|
8
|
+
</dl>
|
|
9
|
+
</section>
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<div class="entity class" id="{{ fid }}">
|
|
2
|
+
<h3>{{ title }}<sup title="class" class="sup-c">c</sup></h3>
|
|
3
|
+
<table>
|
|
4
|
+
<tr>
|
|
5
|
+
<th>URI</th>
|
|
6
|
+
<td><code>{{ uri }}</code></td>
|
|
7
|
+
</tr>
|
|
8
|
+
{%- if is_defined_by is not none %}
|
|
9
|
+
<tr>
|
|
10
|
+
<th>Is Defined By</th>
|
|
11
|
+
<td>
|
|
12
|
+
{{ is_defined_by }}
|
|
13
|
+
</td>
|
|
14
|
+
</tr>
|
|
15
|
+
{%- endif %}
|
|
16
|
+
{%- if source is not none %}
|
|
17
|
+
<tr>
|
|
18
|
+
<th>Source</th>
|
|
19
|
+
<td>
|
|
20
|
+
{{ source }}
|
|
21
|
+
</td>
|
|
22
|
+
</tr>
|
|
23
|
+
{%- endif %}
|
|
24
|
+
{%- if description is not none %}
|
|
25
|
+
<tr>
|
|
26
|
+
<th>Description</th>
|
|
27
|
+
<td>
|
|
28
|
+
{{ description }}
|
|
29
|
+
</td>
|
|
30
|
+
</tr>
|
|
31
|
+
{%- endif %}
|
|
32
|
+
{%- if scopeNote is not none %}
|
|
33
|
+
<tr>
|
|
34
|
+
<th>Usage Note</th>
|
|
35
|
+
<td>
|
|
36
|
+
{{ scopeNote }}
|
|
37
|
+
</td>
|
|
38
|
+
</tr>
|
|
39
|
+
{%- endif %}
|
|
40
|
+
{%- if example is not none %}
|
|
41
|
+
<tr>
|
|
42
|
+
<th>Example</th>
|
|
43
|
+
<td>
|
|
44
|
+
<pre>
|
|
45
|
+
{{ example }}
|
|
46
|
+
</pre>
|
|
47
|
+
</td>
|
|
48
|
+
</tr>
|
|
49
|
+
{%- endif %}
|
|
50
|
+
{%- if supers|length > 0 %}
|
|
51
|
+
<tr>
|
|
52
|
+
<th>Super-classes</th>
|
|
53
|
+
<td>
|
|
54
|
+
{%- for super in supers %}
|
|
55
|
+
{{ super }}<br/>
|
|
56
|
+
{%- endfor %}
|
|
57
|
+
</td>
|
|
58
|
+
</tr>
|
|
59
|
+
{%- endif %}
|
|
60
|
+
{%- if restrictions|length > 0 %}
|
|
61
|
+
<tr>
|
|
62
|
+
<th>Restrictions</th>
|
|
63
|
+
<td>
|
|
64
|
+
{%- for r in restrictions %}
|
|
65
|
+
{{ r }}<br/>
|
|
66
|
+
{%- endfor %}
|
|
67
|
+
</td>
|
|
68
|
+
</tr>
|
|
69
|
+
{%- endif %}
|
|
70
|
+
{%- if subs|length > 0 %}
|
|
71
|
+
<tr>
|
|
72
|
+
<th>Sub-classes</th>
|
|
73
|
+
<td>
|
|
74
|
+
{%- for sub in subs %}
|
|
75
|
+
{{ sub }}<br/>
|
|
76
|
+
{%- endfor %}
|
|
77
|
+
</td>
|
|
78
|
+
</tr>
|
|
79
|
+
{%- endif %}
|
|
80
|
+
{%- if in_domain_of|length > 0 %}
|
|
81
|
+
<tr>
|
|
82
|
+
<th>In domain of</th>
|
|
83
|
+
<td>
|
|
84
|
+
{%- for d in in_domain_of %}
|
|
85
|
+
{{ d }}<br/>
|
|
86
|
+
{%- endfor %}
|
|
87
|
+
</td>
|
|
88
|
+
</tr>
|
|
89
|
+
{%- endif %}
|
|
90
|
+
{%- if in_domain_includes_of|length > 0 %}
|
|
91
|
+
<tr>
|
|
92
|
+
<th>In domainIncludes of</th>
|
|
93
|
+
<td>
|
|
94
|
+
{%- for d in in_domain_includes_of %}
|
|
95
|
+
{{ d }}<br/>
|
|
96
|
+
{%- endfor %}
|
|
97
|
+
</td>
|
|
98
|
+
</tr>
|
|
99
|
+
{%- endif %}
|
|
100
|
+
{%- if in_range_of|length > 0 %}
|
|
101
|
+
<tr>
|
|
102
|
+
<th>In range of</th>
|
|
103
|
+
<td>
|
|
104
|
+
{%- for r in in_range_of %}
|
|
105
|
+
{{ r }}<br/>
|
|
106
|
+
{%- endfor %}
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
{%- endif %}
|
|
110
|
+
{%- if in_range_includes_of|length > 0 %}
|
|
111
|
+
<tr>
|
|
112
|
+
<th>In rangeIncludes of</th>
|
|
113
|
+
<td>
|
|
114
|
+
{%- for r in in_range_includes_of %}
|
|
115
|
+
{{ r }}<br/>
|
|
116
|
+
{%- endfor %}
|
|
117
|
+
</td>
|
|
118
|
+
</tr>
|
|
119
|
+
{%- endif %}
|
|
120
|
+
</table>
|
|
121
|
+
</div>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
### {{ title }}
|
|
2
|
+
Property | Value
|
|
3
|
+
--- | ---
|
|
4
|
+
URI | `{{ uri }}`
|
|
5
|
+
{%- if is_defined_by is not none %}
|
|
6
|
+
Is Defined By | {{ is_defined_by }}
|
|
7
|
+
{%- endif %}
|
|
8
|
+
{%- if source is not none %}
|
|
9
|
+
Source | {{ source }}
|
|
10
|
+
{%- endif %}
|
|
11
|
+
{%- if description is not none %}
|
|
12
|
+
Description | {{ description }}
|
|
13
|
+
{%- endif %}
|
|
14
|
+
{%- if scopeNote is not none %}
|
|
15
|
+
Usage Note | {{ scopeNote }}
|
|
16
|
+
{%- endif %}
|
|
17
|
+
{%- if example is not none %}
|
|
18
|
+
Example | {{ example|safe }}
|
|
19
|
+
{%- endif %}
|
|
20
|
+
{%- if supers|length > 0 %}
|
|
21
|
+
Super-classes | {%- for super in supers %}{{ super }}<br />{%- endfor %}
|
|
22
|
+
{%- endif %}
|
|
23
|
+
{%- if restrictions|length > 0 %}
|
|
24
|
+
Restrictions | {%- for restriction in restrictions %}{{ restriction }}<br />{%- endfor %}
|
|
25
|
+
{%- endif %}
|
|
26
|
+
{%- if subs|length > 0 %}
|
|
27
|
+
Sub-classes | {%- for sub in subs %}{{ sub }}<br />{%- endfor %}
|
|
28
|
+
{%- endif %}
|
|
29
|
+
{%- if in_domain_of|length > 0 %}
|
|
30
|
+
In domain of | {%- for i in in_domain_of %}{{ i }}<br />{%- endfor %}
|
|
31
|
+
{%- endif %}
|
|
32
|
+
{%- if in_domainIncludes_of|length > 0 %}
|
|
33
|
+
In domain of | {%- for i in in_domainIncludes_of %}{{ i }}<br />{%- endfor %}
|
|
34
|
+
{%- endif %}
|
|
35
|
+
{%- if in_range_of|length > 0 %}
|
|
36
|
+
In range of | {%- for i in in_range_of %}{{ i }}<br />{%- endfor %}
|
|
37
|
+
{%- endif %}
|
|
38
|
+
{%- if in_rangeIncludes_of|length > 0 %}
|
|
39
|
+
In range of | {%- for i in in_rangeIncludes_of %}{{ i }}<br />{%- endfor %}
|
|
40
|
+
{%- endif %}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<section id="classes">
|
|
2
|
+
<h2>Classes <span style="float:right; font-size:smaller;"><a href="">↑</a></span></h2>
|
|
3
|
+
<ul class="hlist">
|
|
4
|
+
{%- for fid in fids %}
|
|
5
|
+
<li><a href="#{{ fid[0] }}">{{ fid[1] }}</a></li>
|
|
6
|
+
{%- endfor %}
|
|
7
|
+
</ul>
|
|
8
|
+
{%- for class in classes %}
|
|
9
|
+
{{ class|safe }}
|
|
10
|
+
{%- endfor %}
|
|
11
|
+
</section>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>{{ title }}</title>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
6
|
+
{% if css is not none %}
|
|
7
|
+
<style>
|
|
8
|
+
{{ css }}
|
|
9
|
+
</style>
|
|
10
|
+
{% else %}
|
|
11
|
+
<link rel="stylesheet" type="text/css" href="style.css">
|
|
12
|
+
{% endif %}
|
|
13
|
+
<script type="application/ld+json">
|
|
14
|
+
{{ schemaorg }}
|
|
15
|
+
</script>
|
|
16
|
+
</head>
|
|
17
|
+
<body>
|
|
18
|
+
<div id="pylode">made by <a href="http://github.com/rdflib/pyLODE">
|
|
19
|
+
<span style="color:#329545;">p</span><span style="color:#f9cb33;">y</span>LODE</a>
|
|
20
|
+
<span style="font-size:smaller;">{{ pylode_version }}</span>
|
|
21
|
+
</div>
|
|
22
|
+
{{ metadata|safe }}
|
|
23
|
+
{{ classes|safe }}
|
|
24
|
+
{{- properties|safe }}
|
|
25
|
+
{% if named_individuals|length > 0 %}
|
|
26
|
+
{{ named_individuals|safe }}
|
|
27
|
+
{% endif %}
|
|
28
|
+
{{ namespaces|safe }}
|
|
29
|
+
<section id="legend">
|
|
30
|
+
<h2>Legend</h2>
|
|
31
|
+
<table class="entity">
|
|
32
|
+
<tr><td><sup class="sup-c" title="Classes">c</sup></td><td>Classes</td></tr>
|
|
33
|
+
<tr><td><sup class="sup-op" title="Object Properties">op</sup></td><td>Object Properties</td></tr>
|
|
34
|
+
<tr><td><sup class="sup-fp" title="Functional Properties">fp</sup></td><td>Functional Properties</td></tr>
|
|
35
|
+
<tr><td><sup class="sup-dp" title="Data Properties">dp</sup></td><td>Data Properties</td></tr>
|
|
36
|
+
<tr><td><sup class="sup-ap" title="Annotation Properties">dp</sup></td><td>Annotation Properties</td></tr>
|
|
37
|
+
<tr><td><sup class="sup-p" title="Properties">p</sup></td><td>Properties</td></tr>
|
|
38
|
+
<tr><td><sup class="sup-ni" title="Named Individuals">ni</sup></td><td>Named Individuals</td></tr>
|
|
39
|
+
</table>
|
|
40
|
+
</section>
|
|
41
|
+
</body>
|
|
42
|
+
</html>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Markdown documentation created by [pyLODE](http://github.com/rdflib/pyLODE) {{ pylode_version }}
|
|
2
|
+
|
|
3
|
+
{{ metadata|safe }}
|
|
4
|
+
{{ classes|safe }}
|
|
5
|
+
{{ properties|safe }}
|
|
6
|
+
{{ named_individuals|safe }}
|
|
7
|
+
{{ namespaces|safe }}
|
|
8
|
+
|
|
9
|
+
## Legend
|
|
10
|
+
* Classes: c
|
|
11
|
+
* Object Properties: op
|
|
12
|
+
* Functional Properties: fp
|
|
13
|
+
* Data Properties: dp
|
|
14
|
+
* Annotation Properties: dp
|
|
15
|
+
* Properties: p
|
|
16
|
+
* Named Individuals: ni
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
<h1>{{ title }}</h1>
|
|
2
|
+
<section id="metadata">
|
|
3
|
+
<h2 style="display:none;">Metadata</h2>
|
|
4
|
+
<dl>
|
|
5
|
+
<dt>URI</dt>
|
|
6
|
+
<dd><code>{{ uri }}</code></dd>
|
|
7
|
+
{%- if publishers|length > 0 %}
|
|
8
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/publisher">Publisher</a>(s)</dt>
|
|
9
|
+
<dd>
|
|
10
|
+
{%- for publisher in publishers %}
|
|
11
|
+
{{ publisher }}<br/>
|
|
12
|
+
{%- endfor %}
|
|
13
|
+
</dd>
|
|
14
|
+
{%- endif %}
|
|
15
|
+
{%- if creators|length > 0 %}
|
|
16
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/creator">Creator</a>(s)</dt>
|
|
17
|
+
<dd>
|
|
18
|
+
{%- for creator in creators %}
|
|
19
|
+
{{ creator }}<br/>
|
|
20
|
+
{%- endfor %}
|
|
21
|
+
</dd>
|
|
22
|
+
{%- endif %}
|
|
23
|
+
{%- if contributors|length > 0 %}
|
|
24
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/contributor">Contributor</a>(s)</dt>
|
|
25
|
+
<dd>
|
|
26
|
+
{%- for contributor in contributors %}
|
|
27
|
+
{{ contributor }}<br/>
|
|
28
|
+
{%- endfor %}
|
|
29
|
+
</dd>
|
|
30
|
+
{%- endif %}
|
|
31
|
+
{%- if created is not none %}
|
|
32
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/created">Created</a></dt>
|
|
33
|
+
<dd>{{ created }}</dd>
|
|
34
|
+
{%- endif %}
|
|
35
|
+
{%- if modified is not none %}
|
|
36
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/modified">Modified</a></dt>
|
|
37
|
+
<dd>{{ modified }}</dd>
|
|
38
|
+
{%- endif %}
|
|
39
|
+
{%- if issued is not none %}
|
|
40
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/issued">Issued</a></dt>
|
|
41
|
+
<dd>{{ issued }}</dd>
|
|
42
|
+
{%- endif %}
|
|
43
|
+
{%- if version_info is not none %}
|
|
44
|
+
<dt>Version Information</dt>
|
|
45
|
+
<dd>{{ version_info }}</dd>
|
|
46
|
+
{%- endif %}
|
|
47
|
+
{%- if version_uri is not none %}
|
|
48
|
+
<dt>Version URI</dt>
|
|
49
|
+
<dd>{{ version_uri }}</dd>
|
|
50
|
+
{%- endif %}
|
|
51
|
+
{%- if imports|length > 0 %}
|
|
52
|
+
<dt>Imports</dt>
|
|
53
|
+
<dd>
|
|
54
|
+
{%- for import in imports %}
|
|
55
|
+
{{ import }}<br/>
|
|
56
|
+
{%- endfor %}
|
|
57
|
+
</dd>
|
|
58
|
+
{%- endif %}
|
|
59
|
+
{%- if rights is not none and license is not none %}
|
|
60
|
+
<dt>License & Rights</dt>
|
|
61
|
+
<dd>
|
|
62
|
+
{{ license }}<br />
|
|
63
|
+
{{ rights }}
|
|
64
|
+
</dd>
|
|
65
|
+
{%- elif rights is not none and license is none %}
|
|
66
|
+
<dt>Rights</dt>
|
|
67
|
+
<dd>{{ rights }}</dd>
|
|
68
|
+
{%- elif rights is none and license is not none %}
|
|
69
|
+
<dt>License</dt>
|
|
70
|
+
<dd>{{ license }}</dd>
|
|
71
|
+
{%- endif %}
|
|
72
|
+
{%- if source is not none %}
|
|
73
|
+
<dt>Source</dt>
|
|
74
|
+
<dd>{{ source }}</dd>
|
|
75
|
+
{%- endif %}
|
|
76
|
+
<dt>Ontology RDF</dt>
|
|
77
|
+
<dd>{{ ont_rdf }}</dd>
|
|
78
|
+
{%- if repository is not none %}
|
|
79
|
+
<dt>Code Repository</dt>
|
|
80
|
+
<dd>{{ repository }}</dd>
|
|
81
|
+
{%- endif %}
|
|
82
|
+
</dl>
|
|
83
|
+
{%- if description is not none %}
|
|
84
|
+
<h2>Description</h2>
|
|
85
|
+
<div id="description">
|
|
86
|
+
{{ description }}
|
|
87
|
+
</div>
|
|
88
|
+
{%- endif %}
|
|
89
|
+
{%- if historyNote is not none %}
|
|
90
|
+
<p><strong>History Note:</strong> {{ historyNote }}</p>
|
|
91
|
+
{%- endif %}
|
|
92
|
+
</section>
|
|
93
|
+
<section id="toc">
|
|
94
|
+
<h2>Table of Contents</h2>
|
|
95
|
+
<ol>
|
|
96
|
+
{%- if has_classes %}
|
|
97
|
+
<li><a href="#classes">Classes</a></li>
|
|
98
|
+
{%- endif %}
|
|
99
|
+
{%- if has_ops %}
|
|
100
|
+
<li><a href="#objectproperties">Object Properties</a></li>
|
|
101
|
+
{%- endif %}
|
|
102
|
+
{%- if has_fps %}
|
|
103
|
+
<li><a href="#functionalproperties">Functional Properties</a></li>
|
|
104
|
+
{%- endif %}
|
|
105
|
+
{%- if has_dps %}
|
|
106
|
+
<li><a href="#datatypeproperties">Datatype Properties</a></li>
|
|
107
|
+
{%- endif %}
|
|
108
|
+
{%- if has_aps %}
|
|
109
|
+
<li><a href="#annotationproperties">Annotation Properties</a></li>
|
|
110
|
+
{%- endif %}
|
|
111
|
+
{%- if has_ps %}
|
|
112
|
+
<li><a href="#properties">Properties</a></li>
|
|
113
|
+
{%- endif %}
|
|
114
|
+
{%- if has_nis %}
|
|
115
|
+
<li><a href="#namedindividuals">Named Individuals</a></li>
|
|
116
|
+
{%- endif %}
|
|
117
|
+
<li><a href="#namespaces">Namespaces</a></li>
|
|
118
|
+
<li><a href="#legend">Legend</a></li>
|
|
119
|
+
</ol>
|
|
120
|
+
</section>
|
|
121
|
+
<section id="overview">
|
|
122
|
+
<h2>Overview</h2>
|
|
123
|
+
<div class="figure">
|
|
124
|
+
<div style="width:500px; height:50px; background-color: lightgrey; border:solid 2px grey; padding:10px;margin-bottom:5px; text-align:center;">Pictures say 1,000 words</div>
|
|
125
|
+
<div class="caption"><strong>Figure 1:</strong> Ontology overview</div>
|
|
126
|
+
</div>
|
|
127
|
+
</section>
|