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
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# {{ title }}
|
|
2
|
+
|
|
3
|
+
## Metadata
|
|
4
|
+
* **URI**
|
|
5
|
+
* `{{ uri }}`
|
|
6
|
+
{%- if publishers|length > 0 %}
|
|
7
|
+
* **Publisher(s)**
|
|
8
|
+
{%- for publisher in publishers %}
|
|
9
|
+
* {{ publisher }}
|
|
10
|
+
{%- endfor %}
|
|
11
|
+
{%- endif %}
|
|
12
|
+
|
|
13
|
+
{%- if creators|length > 0 %}
|
|
14
|
+
* **Creators(s)**
|
|
15
|
+
{%- for creator in creators %}
|
|
16
|
+
* {{ creator }}
|
|
17
|
+
{%- endfor %}
|
|
18
|
+
{%- endif %}
|
|
19
|
+
|
|
20
|
+
{%- if contributors|length > 0 %}
|
|
21
|
+
* **Contributor(s)**
|
|
22
|
+
{%- for contributor in contributors %}
|
|
23
|
+
* {{ contributor }}
|
|
24
|
+
{%- endfor %}
|
|
25
|
+
{%- endif %}
|
|
26
|
+
|
|
27
|
+
{%- if created is not none %}
|
|
28
|
+
* **Created**
|
|
29
|
+
* {{ created }}
|
|
30
|
+
{%- endif %}
|
|
31
|
+
{%- if modified is not none %}
|
|
32
|
+
* **Modified**
|
|
33
|
+
* {{ modified }}
|
|
34
|
+
{%- endif %}
|
|
35
|
+
{%- if issued is not none %}
|
|
36
|
+
* **Issued**
|
|
37
|
+
* {{ issued }}
|
|
38
|
+
{%- endif %}
|
|
39
|
+
{%- if version_info is not none %}
|
|
40
|
+
* **Version Information**
|
|
41
|
+
* {{ version_info }}
|
|
42
|
+
{%- endif %}
|
|
43
|
+
{%- if imports|length > 0 %}
|
|
44
|
+
{%- if version_uri is not none %}
|
|
45
|
+
* **Version URI**
|
|
46
|
+
* {{ version_uri }}
|
|
47
|
+
{%- endif %}
|
|
48
|
+
* **Imports**
|
|
49
|
+
{%- for import in imports %}
|
|
50
|
+
* {{ import }}
|
|
51
|
+
{%- endfor %}
|
|
52
|
+
{%- endif %}
|
|
53
|
+
{%- if rights is not none and license is not none %}
|
|
54
|
+
* **License & Rights**
|
|
55
|
+
* {{ license }}
|
|
56
|
+
* {{ rights }}
|
|
57
|
+
{%- elif rights is not none and license is none %}
|
|
58
|
+
* **Rights**
|
|
59
|
+
* {{ rights }}
|
|
60
|
+
{%- elif rights is none and license is not none %}
|
|
61
|
+
* **License**
|
|
62
|
+
* {{ license }}
|
|
63
|
+
{%- endif %}
|
|
64
|
+
{%- if source is not none %}
|
|
65
|
+
* **Source**
|
|
66
|
+
* {{ source }}
|
|
67
|
+
{%- endif %}
|
|
68
|
+
* **Ontology RDF**
|
|
69
|
+
* {{ ont_rdf }}
|
|
70
|
+
{%- if repository is not none %}
|
|
71
|
+
* **Code Repository**
|
|
72
|
+
* {{ repository }}
|
|
73
|
+
{%- endif %}
|
|
74
|
+
|
|
75
|
+
{%- if description is not none %}
|
|
76
|
+
### Description
|
|
77
|
+
{{ description }}
|
|
78
|
+
{%- endif %}
|
|
79
|
+
{%- if historyNote is not none %}
|
|
80
|
+
* **History Note:** {{ historyNote }}
|
|
81
|
+
{%- endif %}
|
|
82
|
+
|
|
83
|
+
## Table of Contents
|
|
84
|
+
{%- if has_classes %}
|
|
85
|
+
1. [Classes](#classes)
|
|
86
|
+
{%- endif %}
|
|
87
|
+
{%- if has_ops %}
|
|
88
|
+
1. [Object Properties](#objectproperties)
|
|
89
|
+
{%- endif %}
|
|
90
|
+
{%- if has_fps %}
|
|
91
|
+
1. [Functional Properties](#functionalproperties)
|
|
92
|
+
{%- endif %}
|
|
93
|
+
{%- if has_dps %}
|
|
94
|
+
1. [Datatype Properties](#datatypeproperties)
|
|
95
|
+
{%- endif %}
|
|
96
|
+
{%- if has_aps %}
|
|
97
|
+
1. [Annotation Properties](#annotationproperties)
|
|
98
|
+
{%- endif %}
|
|
99
|
+
{%- if has_ps %}
|
|
100
|
+
1. [Properties](#properties)
|
|
101
|
+
{%- endif %}
|
|
102
|
+
{%- if has_nis %}
|
|
103
|
+
1. [Named Individuals](#namedindividuals)
|
|
104
|
+
{%- endif %}
|
|
105
|
+
1. [Namespaces](#namespaces)
|
|
106
|
+
1. [Legend](#legend)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
## Overview
|
|
110
|
+
|
|
111
|
+
**Figure 1:** Ontology overview
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
<div class="entity named_individual" id="{{ fid }}">
|
|
2
|
+
<h3>{{ title }}<sup title="named individual" class="sup-ni">ni</sup></h3>
|
|
3
|
+
<table>
|
|
4
|
+
<tr>
|
|
5
|
+
<th>URI</th>
|
|
6
|
+
<td>
|
|
7
|
+
<code>
|
|
8
|
+
{%- if uri.startswith("http") %}
|
|
9
|
+
{{ uri }}
|
|
10
|
+
{% else %}
|
|
11
|
+
[]
|
|
12
|
+
{%- endif %}
|
|
13
|
+
</code>
|
|
14
|
+
</td>
|
|
15
|
+
</tr>
|
|
16
|
+
{%- if classes|length > 0 %}
|
|
17
|
+
<dt>Classes(s)</dt>
|
|
18
|
+
<dd>
|
|
19
|
+
{%- for class in classes %}
|
|
20
|
+
{{ class }}<br/>
|
|
21
|
+
{%- endfor %}
|
|
22
|
+
</dd>
|
|
23
|
+
{%- endif %}
|
|
24
|
+
{%- if is_defined_by is not none %}
|
|
25
|
+
<tr>
|
|
26
|
+
<th>Is Defined By</th>
|
|
27
|
+
<td>
|
|
28
|
+
{{ is_defined_by }}
|
|
29
|
+
</td>
|
|
30
|
+
</tr>
|
|
31
|
+
{%- endif %}
|
|
32
|
+
{%- if source is not none %}
|
|
33
|
+
<tr>
|
|
34
|
+
<th>Source</th>
|
|
35
|
+
<td>
|
|
36
|
+
{{ source }}
|
|
37
|
+
</td>
|
|
38
|
+
</tr>
|
|
39
|
+
{%- endif %}
|
|
40
|
+
{%- if description is not none %}
|
|
41
|
+
<tr>
|
|
42
|
+
<th>Description</th>
|
|
43
|
+
<td>
|
|
44
|
+
{{ description }}
|
|
45
|
+
</td>
|
|
46
|
+
</tr>
|
|
47
|
+
{%- endif %}
|
|
48
|
+
{%- if see_also is not none %}
|
|
49
|
+
<tr>
|
|
50
|
+
<th>See Also</th>
|
|
51
|
+
<td>
|
|
52
|
+
{{ see_also }}
|
|
53
|
+
</td>
|
|
54
|
+
</tr>
|
|
55
|
+
{%- endif %}
|
|
56
|
+
{%- if same_as is not none %}
|
|
57
|
+
<tr>
|
|
58
|
+
<th>Same As</th>
|
|
59
|
+
<td>
|
|
60
|
+
{{ same_as }}
|
|
61
|
+
</td>
|
|
62
|
+
</tr>
|
|
63
|
+
{%- endif %}
|
|
64
|
+
</table>
|
|
65
|
+
</div>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
### {{ title }} <sup>c</sup>
|
|
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 classes|length > 0 %}
|
|
9
|
+
* **Contributor(s)**
|
|
10
|
+
{%- for class in classes %}
|
|
11
|
+
* {{ class }}
|
|
12
|
+
{%- endfor %}
|
|
13
|
+
{%- endif %}
|
|
14
|
+
{%- if source is not none %}
|
|
15
|
+
Source | {{ source }}
|
|
16
|
+
{%- endif %}
|
|
17
|
+
{%- if description is not none %}
|
|
18
|
+
Description | {{ description }}
|
|
19
|
+
{%- endif %}
|
|
20
|
+
{%- if see_also is not none %}
|
|
21
|
+
See Also | {{ see_also }}
|
|
22
|
+
{%- endif %}
|
|
23
|
+
{%- if same_as is not none %}
|
|
24
|
+
Same As | {{ same_as }}
|
|
25
|
+
{%- endif %}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<section id="namedindividuals">
|
|
2
|
+
<h2>Named Individuals <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 ni in named_individuals %}
|
|
9
|
+
{{ ni|safe }}
|
|
10
|
+
{%- endfor %}
|
|
11
|
+
</section>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{%- if op_instances|length > 0 %}
|
|
2
|
+
<section id="objectproperties">
|
|
3
|
+
<h2>Object Properties <span style="float:right; font-size:smaller;"><a href="">↑</a></span></h2>
|
|
4
|
+
<ul class="hlist">
|
|
5
|
+
{%- for p in op_instances %}
|
|
6
|
+
<li><a href="#{{ p[1] }}">{{ p[0] }}</a></li>
|
|
7
|
+
{%- endfor %}
|
|
8
|
+
</ul>
|
|
9
|
+
{%- for p in op_instances %}
|
|
10
|
+
{{ p[2]|safe }}
|
|
11
|
+
{%- endfor %}
|
|
12
|
+
</section>
|
|
13
|
+
{% endif %}
|
|
14
|
+
{%- if fp_instances|length > 0 %}
|
|
15
|
+
<section id="functionalproperties">
|
|
16
|
+
<h2>Functional Properties <span style="float:right; font-size:smaller;"><a href="">↑</a></span></h2>
|
|
17
|
+
<ul class="hlist">
|
|
18
|
+
{%- for p in fp_instances %}
|
|
19
|
+
<li><a href="#{{ p[1] }}">{{ p[0] }}</a></li>
|
|
20
|
+
{%- endfor %}
|
|
21
|
+
</ul>
|
|
22
|
+
{%- for p in fp_instances %}
|
|
23
|
+
{{ p[2]|safe }}
|
|
24
|
+
{%- endfor %}
|
|
25
|
+
</section>
|
|
26
|
+
{% endif %}
|
|
27
|
+
{%- if dp_instances|length > 0 %}
|
|
28
|
+
<section id="datatypeproperties">
|
|
29
|
+
<h2>Datatype Properties <span style="float:right; font-size:smaller;"><a href="">↑</a></span></h2>
|
|
30
|
+
<ul class="hlist">
|
|
31
|
+
{%- for p in dp_instances %}
|
|
32
|
+
<li><a href="#{{ p[1] }}">{{ p[0] }}</a></li>
|
|
33
|
+
{%- endfor %}
|
|
34
|
+
</ul>
|
|
35
|
+
{%- for p in dp_instances %}
|
|
36
|
+
{{ p[2]|safe }}
|
|
37
|
+
{%- endfor %}
|
|
38
|
+
</section>
|
|
39
|
+
{% endif %}
|
|
40
|
+
{%- if ap_instances|length > 0 %}
|
|
41
|
+
<section id="annotationproperties">
|
|
42
|
+
<h2>Annotation Properties <span style="float:right; font-size:smaller;"><a href="">↑</a></span></h2>
|
|
43
|
+
<ul class="hlist">
|
|
44
|
+
{%- for p in ap_instances %}
|
|
45
|
+
<li><a href="#{{ p[1] }}">{{ p[0] }}</a></li>
|
|
46
|
+
{%- endfor %}
|
|
47
|
+
</ul>
|
|
48
|
+
{%- for p in ap_instances %}
|
|
49
|
+
{{ p[2]|safe }}
|
|
50
|
+
{%- endfor %}
|
|
51
|
+
</section>
|
|
52
|
+
{% endif %}
|
|
53
|
+
{%- if p_instances|length > 0 %}
|
|
54
|
+
<section id="properties">
|
|
55
|
+
<h2>Properties <span style="float:right; font-size:smaller;"><a href="">↑</a></span></h2>
|
|
56
|
+
<ul class="hlist">
|
|
57
|
+
{%- for p in p_instances %}
|
|
58
|
+
<li><a href="#{{ p[1] }}">{{ p[0] }}</a></li>
|
|
59
|
+
{%- endfor %}
|
|
60
|
+
</ul>
|
|
61
|
+
{%- for p in p_instances %}
|
|
62
|
+
{{ p[2]|safe }}
|
|
63
|
+
{%- endfor %}
|
|
64
|
+
</section>
|
|
65
|
+
{% endif %}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{%- if op_instances|length > 0 %}
|
|
2
|
+
## Object Properties
|
|
3
|
+
{%- for p in op_instances %}
|
|
4
|
+
[{{ p[0] }}](#{{ p[1] }}),
|
|
5
|
+
{%- endfor %}
|
|
6
|
+
{%- for p in op_instances %}
|
|
7
|
+
{{ p[2]|safe }}
|
|
8
|
+
{%- endfor %}
|
|
9
|
+
{% endif %}
|
|
10
|
+
{%- if fp_instances|length > 0 %}
|
|
11
|
+
## Functional Properties
|
|
12
|
+
{%- for p in fp_instances %}
|
|
13
|
+
[{{ p[0] }}](#{{ p[1] }}),
|
|
14
|
+
{%- endfor %}
|
|
15
|
+
{%- for p in fp_instances %}
|
|
16
|
+
{{ p[2]|safe }}
|
|
17
|
+
{%- endfor %}
|
|
18
|
+
{% endif %}
|
|
19
|
+
{%- if dp_instances|length > 0 %}
|
|
20
|
+
## Datatype Properties
|
|
21
|
+
{%- for p in dp_instances %}
|
|
22
|
+
[{{ p[0] }}](#{{ p[1] }}),
|
|
23
|
+
{%- endfor %}
|
|
24
|
+
{%- for p in dp_instances %}
|
|
25
|
+
{{ p[2]|safe }}
|
|
26
|
+
{%- endfor %}
|
|
27
|
+
{% endif %}
|
|
28
|
+
{%- if ap_instances|length > 0 %}
|
|
29
|
+
## Annotation Properties
|
|
30
|
+
{%- for p in ap_instances %}
|
|
31
|
+
[{{ p[0] }}](#{{ p[1] }}),
|
|
32
|
+
{%- endfor %}
|
|
33
|
+
{%- for p in ap_instances %}
|
|
34
|
+
{{ p[2]|safe }}
|
|
35
|
+
{%- endfor %}
|
|
36
|
+
{% endif %}
|
|
37
|
+
{%- if p_instances|length > 0 %}
|
|
38
|
+
## Properties
|
|
39
|
+
{%- for p in p_instances %}
|
|
40
|
+
[{{ p[0] }}](#{{ p[1] }}),
|
|
41
|
+
{%- endfor %}
|
|
42
|
+
{%- for p in p_instances %}
|
|
43
|
+
{{ p[2]|safe }}
|
|
44
|
+
{%- endfor %}
|
|
45
|
+
{% endif %}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<div class="entity property" id="{{ fid }}">
|
|
2
|
+
<h3>{{ title }}
|
|
3
|
+
{%- if property_type == 'op' -%}
|
|
4
|
+
<sup title="object property" class="sup-op">op</sup>
|
|
5
|
+
{%- elif property_type == 'fp' -%}
|
|
6
|
+
<sup title="functional property" class="sup-fp">fp</sup>
|
|
7
|
+
{%- elif property_type == 'dp' -%}
|
|
8
|
+
<sup title="datatype property" class="sup-dp">dp</sup>
|
|
9
|
+
{%- elif property_type == 'ap' -%}
|
|
10
|
+
<sup title="annotation property" class="sup-ap">ap</sup>
|
|
11
|
+
{%- else -%}
|
|
12
|
+
<sup title="property" class="sup-p">p</sup>
|
|
13
|
+
{%- endif -%}
|
|
14
|
+
</h3>
|
|
15
|
+
<table>
|
|
16
|
+
<tr>
|
|
17
|
+
<th>URI</th>
|
|
18
|
+
<td><code>{{ uri }}</code></td>
|
|
19
|
+
</tr>
|
|
20
|
+
{%- if is_defined_by is not none %}
|
|
21
|
+
<tr>
|
|
22
|
+
<th>Is Defined By</th>
|
|
23
|
+
<td>
|
|
24
|
+
{{ is_defined_by }}
|
|
25
|
+
</td>
|
|
26
|
+
</tr>
|
|
27
|
+
{%- endif %}
|
|
28
|
+
{%- if source is not none %}
|
|
29
|
+
<tr>
|
|
30
|
+
<th>Source</th>
|
|
31
|
+
<td>
|
|
32
|
+
{{ source }}
|
|
33
|
+
</td>
|
|
34
|
+
</tr>
|
|
35
|
+
{%- endif %}
|
|
36
|
+
{%- if description is not none %}
|
|
37
|
+
<tr>
|
|
38
|
+
<th>Description</th>
|
|
39
|
+
<td>
|
|
40
|
+
{{ description }}
|
|
41
|
+
</td>
|
|
42
|
+
</tr>
|
|
43
|
+
{%- endif %}
|
|
44
|
+
{%- if scopeNote is not none %}
|
|
45
|
+
<tr>
|
|
46
|
+
<th>Usage Note</th>
|
|
47
|
+
<td>
|
|
48
|
+
{{ scopeNote }}
|
|
49
|
+
</td>
|
|
50
|
+
</tr>
|
|
51
|
+
{%- endif %}
|
|
52
|
+
{%- if example is not none %}
|
|
53
|
+
<tr>
|
|
54
|
+
<th>Example</th>
|
|
55
|
+
<td>
|
|
56
|
+
<pre>
|
|
57
|
+
{{ example }}
|
|
58
|
+
</pre>
|
|
59
|
+
</td>
|
|
60
|
+
</tr>
|
|
61
|
+
{%- endif %}
|
|
62
|
+
{%- if supers|length > 0 %}
|
|
63
|
+
<tr>
|
|
64
|
+
<th>Super-properties</th>
|
|
65
|
+
<td>
|
|
66
|
+
{%- for super in supers %}
|
|
67
|
+
{{ super }}
|
|
68
|
+
{%- endfor %}
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
{%- endif %}
|
|
72
|
+
{%- if equivs|length > 0 %}
|
|
73
|
+
<tr>
|
|
74
|
+
<th>Equivalent properties</th>
|
|
75
|
+
<td>
|
|
76
|
+
{%- for equiv in equivs %}
|
|
77
|
+
{{ equiv }}
|
|
78
|
+
{%- endfor %}
|
|
79
|
+
</td>
|
|
80
|
+
</tr>
|
|
81
|
+
{%- endif %}
|
|
82
|
+
{%- if invs|length > 0 %}
|
|
83
|
+
<tr>
|
|
84
|
+
<th>Inverse properties</th>
|
|
85
|
+
<td>
|
|
86
|
+
{%- for inv in invs %}
|
|
87
|
+
{{ inv }}
|
|
88
|
+
{%- endfor %}
|
|
89
|
+
</td>
|
|
90
|
+
</tr>
|
|
91
|
+
{%- endif %}
|
|
92
|
+
{%- if domains|length > 0 or domainIncludes|length > 0 %}
|
|
93
|
+
<tr>
|
|
94
|
+
<th>Domain(s)</th>
|
|
95
|
+
<td>
|
|
96
|
+
{%- if domains|length > 0 %}
|
|
97
|
+
{%- for domain in domains %}
|
|
98
|
+
{{ domain }}
|
|
99
|
+
{%- endfor %}
|
|
100
|
+
{%- endif %}
|
|
101
|
+
{%- if domainIncludes|length > 0 %}
|
|
102
|
+
(<a href="https://schema.org/domainIncludes">sdo:domainIncludes</a>)
|
|
103
|
+
{%- for domainInclude in domainIncludes %}
|
|
104
|
+
{{ domainInclude }}
|
|
105
|
+
{%- endfor %}
|
|
106
|
+
{%- endif %}
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
{%- endif %}
|
|
110
|
+
{%- if ranges|length > 0 or rangeIncludes|length > 0 %}
|
|
111
|
+
<tr>
|
|
112
|
+
<th>Range(s)</th>
|
|
113
|
+
<td>
|
|
114
|
+
{%- if ranges|length > 0 %}
|
|
115
|
+
{%- for range in ranges %}
|
|
116
|
+
{{ range }}
|
|
117
|
+
{%- endfor %}
|
|
118
|
+
{%- endif %}
|
|
119
|
+
{%- if rangeIncludes|length > 0 %}
|
|
120
|
+
(<a href="https://schema.org/domainIncludes">sdo:rangeIncludes</a>)
|
|
121
|
+
{%- for rangeInclude in rangeIncludes %}
|
|
122
|
+
{{ rangeInclude }}
|
|
123
|
+
{%- endfor %}
|
|
124
|
+
{%- endif %}
|
|
125
|
+
</td>
|
|
126
|
+
</tr>
|
|
127
|
+
{%- endif %}
|
|
128
|
+
</table>
|
|
129
|
+
</div>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[]({{ fid }})
|
|
2
|
+
### {{ title }}
|
|
3
|
+
Property | Value
|
|
4
|
+
--- | ---
|
|
5
|
+
URI | `{{ uri }}`
|
|
6
|
+
{%- if is_defined_by is not none %}
|
|
7
|
+
Is Defined By | {{ is_defined_by }}
|
|
8
|
+
{%- endif %}
|
|
9
|
+
{%- if source is not none %}
|
|
10
|
+
Source | {{ source }}
|
|
11
|
+
{%- endif %}
|
|
12
|
+
{%- if description is not none %}
|
|
13
|
+
Description | {{ description }}
|
|
14
|
+
{%- endif %}
|
|
15
|
+
{%- if scopeNote is not none %}
|
|
16
|
+
Usage Note | {{ scopeNote }}
|
|
17
|
+
{%- endif %}
|
|
18
|
+
{%- if example is not none %}
|
|
19
|
+
Example | ```{{ example|safe }}```
|
|
20
|
+
{%- endif %}
|
|
21
|
+
{%- if supers|length > 0 %}
|
|
22
|
+
Super-properties | {%- for super in supers %}{{ super }}<br />{%- endfor %}
|
|
23
|
+
{%- endif %}
|
|
24
|
+
{%- if domains|length > 0 or domainIncludes|length > 0 %}
|
|
25
|
+
Domain(s) | {%- if domains|length > 0 %}{%- for domain in domains %}{{ domain }}<br />{%- endfor %}
|
|
26
|
+
{%- endif %}
|
|
27
|
+
{%- if domainIncludes|length > 0 %}
|
|
28
|
+
([sdo:domainIncludes](https://schema.org/domainIncludes))<br />{%- for domainInclude in domainIncludes %}{{ domainInclude }}<br />{%- endfor %}
|
|
29
|
+
{%- endif %}
|
|
30
|
+
{%- endif %}
|
|
31
|
+
{%- if ranges|length > 0 or rangeIncludes|length > 0 %}
|
|
32
|
+
Range(s) | {%- if ranges|length > 0 %}{%- for range in ranges %}{{ range }}<br />{%- endfor %}
|
|
33
|
+
{%- endif %}
|
|
34
|
+
{%- if rangeIncludes|length > 0 %}
|
|
35
|
+
([sdo:rangeIncludes](https://schema.org/domainIncludes)){%- for rangeInclude in rangeIncludes %}{{ rangeInclude }}{%- endfor %}
|
|
36
|
+
{%- endif %}
|
|
37
|
+
{%- endif %}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg width="15px" height="15px" viewBox="0 0 72 72" version="1.1"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
4
|
+
<title>Orcid logo</title>
|
|
5
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
6
|
+
<g id="hero" transform="translate(-924.000000, -72.000000)" fill-rule="nonzero">
|
|
7
|
+
<g id="Group-4">
|
|
8
|
+
<g id="vector_iD_icon" transform="translate(924.000000, 72.000000)">
|
|
9
|
+
<path d="M72,36 C72,55.884375 55.884375,72 36,72 C16.115625,72 0,55.884375 0,36 C0,16.115625 16.115625,0 36,0 C55.884375,0 72,16.115625 72,36 Z" id="Path" fill="#A6CE39"></path>
|
|
10
|
+
<g id="Group" transform="translate(18.868966, 12.910345)" fill="#FFFFFF">
|
|
11
|
+
<polygon id="Path" points="5.03734929 39.1250878 0.695429861 39.1250878 0.695429861 9.14431787 5.03734929 9.14431787 5.03734929 22.6930505 5.03734929 39.1250878"></polygon>
|
|
12
|
+
<path d="M11.409257,9.14431787 L23.1380784,9.14431787 C34.303014,9.14431787 39.2088191,17.0664074 39.2088191,24.1486995 C39.2088191,31.846843 33.1470485,39.1530811 23.1944669,39.1530811 L11.409257,39.1530811 L11.409257,9.14431787 Z M15.7511765,35.2620194 L22.6587756,35.2620194 C32.49858,35.2620194 34.7541226,27.8438084 34.7541226,24.1486995 C34.7541226,18.1301509 30.8915059,13.0353795 22.4332213,13.0353795 L15.7511765,13.0353795 L15.7511765,35.2620194 Z" id="Shape"></path>
|
|
13
|
+
<path d="M5.71401206,2.90182329 C5.71401206,4.441452 4.44526937,5.72914146 2.86638958,5.72914146 C1.28750978,5.72914146 0.0187670918,4.441452 0.0187670918,2.90182329 C0.0187670918,1.33420133 1.28750978,0.0745051096 2.86638958,0.0745051096 C4.44526937,0.0745051096 5.71401206,1.36219458 5.71401206,2.90182329 Z" id="Path"></path>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</g>
|
|
18
|
+
</g>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[ORCID]
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>{{ label }}</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
|
+
{{ profile|safe }}
|
|
23
|
+
{%- if has_resource_descriptors %}
|
|
24
|
+
<section id="resource_descriptors">
|
|
25
|
+
<h2>Resource Descriptors</h2>
|
|
26
|
+
{# <ul class="hlist">#}
|
|
27
|
+
{# {%- for rdid, rd in resource_descriptors.items() %}#}
|
|
28
|
+
{# <a href="#{{ rdid }}">{{ rd["label"] }}</a><br/>#}
|
|
29
|
+
{# {%- endfor %}#}
|
|
30
|
+
{# </ul>#}
|
|
31
|
+
{%- for rdid, rd in resource_descriptors.items() %}
|
|
32
|
+
{{ rd["html"]|safe }}
|
|
33
|
+
{%- endfor %}
|
|
34
|
+
</section>
|
|
35
|
+
{%- endif %}
|
|
36
|
+
{{ namespaces|safe }}
|
|
37
|
+
</body>
|
|
38
|
+
</html>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Markdown documentation created by [pyLODE](http://github.com/rdflib/pyLODE)
|
|
2
|
+
|
|
3
|
+
{{ profile|safe }}
|
|
4
|
+
|
|
5
|
+
{%- if has_collections %}
|
|
6
|
+
{{ collections|safe }}
|
|
7
|
+
{%- endif %}
|
|
8
|
+
|
|
9
|
+
{% if has_resource_descriptors %}
|
|
10
|
+
## Resource Descriptors
|
|
11
|
+
{% for rdid, rd in resource_descriptors.items() %}
|
|
12
|
+
{{ rd["html"]|safe }}
|
|
13
|
+
{% endfor %}
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
{{ namespaces|safe }}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
<h1>{{ label }}</h1>
|
|
2
|
+
<h3><em>A Profile</em></h3>
|
|
3
|
+
<section id="metadata">
|
|
4
|
+
<h2 style="display:none;">Metadata</h2>
|
|
5
|
+
<dl>
|
|
6
|
+
<dt>URI</dt>
|
|
7
|
+
<dd><code>{{ uri }}</code></dd>
|
|
8
|
+
{% if profiles|length > 0 %}
|
|
9
|
+
<dt><a href="https://www.w3.org/TR/dx-prof/#Property:isProfileOf">Is Profile Of</a></dt>
|
|
10
|
+
<dd>
|
|
11
|
+
{%- for profile in profiles %}
|
|
12
|
+
<a href="{{ profile }}">{{ profile }}</a><br/>
|
|
13
|
+
{%- endfor %}
|
|
14
|
+
</dd>
|
|
15
|
+
{% endif %}
|
|
16
|
+
{%- if publishers|length > 0 %}
|
|
17
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/publisher">Publisher</a>(s)</dt>
|
|
18
|
+
<dd>
|
|
19
|
+
{%- for publisher in publishers %}
|
|
20
|
+
{{ publisher }}<br/>
|
|
21
|
+
{%- endfor %}
|
|
22
|
+
</dd>
|
|
23
|
+
{%- endif %}
|
|
24
|
+
{%- if creators|length > 0 %}
|
|
25
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/creator">Creator</a>(s)</dt>
|
|
26
|
+
<dd>
|
|
27
|
+
{%- for creator in creators %}
|
|
28
|
+
{{ creator }}<br/>
|
|
29
|
+
{%- endfor %}
|
|
30
|
+
</dd>
|
|
31
|
+
{%- endif %}
|
|
32
|
+
{%- if contributors|length > 0 %}
|
|
33
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/contributor">Contributor</a>(s)</dt>
|
|
34
|
+
<dd>
|
|
35
|
+
{%- for contributor in contributors %}
|
|
36
|
+
{{ contributor }}<br/>
|
|
37
|
+
{%- endfor %}
|
|
38
|
+
</dd>
|
|
39
|
+
{%- endif %}
|
|
40
|
+
{%- if created is not none %}
|
|
41
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/created">Created</a></dt>
|
|
42
|
+
<dd>{{ created }}</dd>
|
|
43
|
+
{%- endif %}
|
|
44
|
+
{%- if modified is not none %}
|
|
45
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/modified">Modified</a></dt>
|
|
46
|
+
<dd>{{ modified }}</dd>
|
|
47
|
+
{%- endif %}
|
|
48
|
+
{%- if issued is not none %}
|
|
49
|
+
<dt><a class="proplink" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/issued">Issued</a></dt>
|
|
50
|
+
<dd>{{ issued }}</dd>
|
|
51
|
+
{%- endif %}
|
|
52
|
+
{%- if version_info is not none %}
|
|
53
|
+
<dt>Version Information</dt>
|
|
54
|
+
<dd>{{ version_info }}</dd>
|
|
55
|
+
{%- endif %}
|
|
56
|
+
{%- if version_uri is not none %}
|
|
57
|
+
<dt>Version URI</dt>
|
|
58
|
+
<dd>{{ version_uri }}</dd>
|
|
59
|
+
{%- endif %}
|
|
60
|
+
{%- if rights is not none and license is not none %}
|
|
61
|
+
<dt>License & Rights</dt>
|
|
62
|
+
<dd>
|
|
63
|
+
{{ license }}<br />
|
|
64
|
+
{{ rights }}
|
|
65
|
+
</dd>
|
|
66
|
+
{%- elif rights is not none and license is none %}
|
|
67
|
+
<dt>Rights</dt>
|
|
68
|
+
<dd>{{ rights }}</dd>
|
|
69
|
+
{%- elif rights is none and license is not none %}
|
|
70
|
+
<dt>License</dt>
|
|
71
|
+
<dd>{{ license }}</dd>
|
|
72
|
+
{%- endif %}
|
|
73
|
+
<dt>Profile RDF</dt>
|
|
74
|
+
<dd>{{ prof_rdf }}</dd>
|
|
75
|
+
</dl>
|
|
76
|
+
{%- if resource_descriptors|length > 0 %}
|
|
77
|
+
<dt><a class="proplink" href="https://www.w3.org/TR/dx-prof/#Property:hasResource">Has Resource Descriptor(s)</a></dt>
|
|
78
|
+
<dd>
|
|
79
|
+
{%- for rdid, rd in resource_descriptors.items() %}
|
|
80
|
+
<a href="#{{ rdid }}">{{ rd["label"] }}</a><br/>
|
|
81
|
+
{%- endfor %}
|
|
82
|
+
</dd>
|
|
83
|
+
{%- endif %}
|
|
84
|
+
{%- if comment is not none %}
|
|
85
|
+
<h2>Description</h2>
|
|
86
|
+
<div id="comment">
|
|
87
|
+
{{ comment }}
|
|
88
|
+
</div>
|
|
89
|
+
{%- endif %}
|
|
90
|
+
</section>
|