Skip to content

Commit 3b63761

Browse files
authored
Merge pull request #26 from ontoportal/portals-json-ld
Add JSON-LD portal registry and unify portal data source
2 parents a5ec97b + 3fe48c6 commit 3b63761

4 files changed

Lines changed: 169 additions & 74 deletions

File tree

_config.yml

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -28,77 +28,6 @@ social:
2828

2929
quotes:
3030

31-
alliance_members:
32-
- name: 'BioPortal'
33-
link: https://bioportal.bioontology.org/
34-
description: "The world's most comprehensive repository of biomedical ontologies"
35-
logo: '/images/alliance_member_logos/bioportal.png'
36-
color: '#234979'
37-
- name: 'SIFR BioPortal'
38-
link: https://bioportal.lirmm.fr/
39-
description: "A repository for French biomedical terminologies and ontologies"
40-
logo: '/images/alliance_member_logos/sifr_bioportal.png'
41-
color: '#74a9cb'
42-
retired: true
43-
- name: 'AgroPortal'
44-
link: https://agroportal.lirmm.fr/
45-
description: "A vocabulary and ontology repository for agronomy and related domains"
46-
logo: '/images/alliance_member_logos/agroportal.png'
47-
color: '#31b403'
48-
- name: 'EcoPortal'
49-
link: https://ecoportal.lifewatch.eu/
50-
description: "The LifeWatch ERIC repository of semantic resources for ecology and related domains"
51-
logo: '/images/alliance_member_logos/ecoportal.png'
52-
color: '#0d508a'
53-
- name: 'MedPortal'
54-
link: http://medportal.bmicc.cn/
55-
description: "A repository for Chinese biomedical terminologies and ontologies"
56-
logo: '/images/alliance_member_logos/medportal.png'
57-
color: '#234979'
58-
- name: 'MatPortal'
59-
link: https://matportal.org/
60-
description: "The ontology repository for materials science"
61-
logo: '/images/alliance_member_logos/matportal.png'
62-
color: '#009574'
63-
- name: 'IndustryPortal'
64-
link: http://industryportal.enit.fr
65-
description: "A common ontology portal for industry and related domains"
66-
logo: '/images/alliance_member_logos/industryportal.png'
67-
color: '#1c0f5d'
68-
retired: true
69-
- name: 'EarthPortal'
70-
link: https://earthportal.eu/
71-
description: "A semantic artefact repository dedicated to Earth sciences"
72-
logo: '/images/alliance_member_logos/earthportal.png'
73-
color: '#1e2251'
74-
- name: 'BiodivPortal'
75-
link: https://biodivportal.gfbio.org/
76-
description: "A semantic artefact repository for biodiversity"
77-
logo: '/images/alliance_member_logos/biodivportal.png'
78-
color: '#33691B'
79-
- name: 'TechnoPortal'
80-
link: https://technoportal.hevs.ch/
81-
description: "A repository for the technology sciences domain"
82-
logo: '/images/alliance_member_logos/technoportal.png'
83-
color: '#9C4E81'
84-
- name: 'Ontoportal-Astro'
85-
link: https://ontoportal-astro.eu/
86-
description: "A vocabulary and ontology repository for astronomy and related domains"
87-
logo: '/images/alliance_member_logos/ontoportal-astro.png'
88-
color: '#624ECF'
89-
- name: 'LovPortal'
90-
description: "A gateway to reusable semantic vocabularies on the Web"
91-
coming: true
92-
- name: 'HSPortal'
93-
description: "The home of ontologies and semantic artefacts in Heritage Science."
94-
coming: true
95-
- name: 'CHPortal'
96-
description: "ECHOES repository of Cultural Heritage ontologies"
97-
coming: true
98-
- name: 'SocioPortal'
99-
description: "CESSDA repository of social sciences ontologies and semantic artefacts"
100-
coming: true
101-
10231
sponsors:
10332
- acronym: 'D2KAB'
10433
logo: https://agroportal.lirmm.fr/assets/logos/collaboration/d2kab_logo-5155645cfcfe00890f3cad2307ca7975a1ff43b841755002830c99aba060a9e5.png

_data/portals.json

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
[
2+
{
3+
"acronym": "BioPortal",
4+
"name": "BioPortal",
5+
"link": "https://bioportal.bioontology.org/",
6+
"logo": "/images/alliance_member_logos/bioportal.png",
7+
"color": "#234979",
8+
"description": "The world's most comprehensive repository of biomedical ontologies",
9+
"status": "production",
10+
"federation": false
11+
},
12+
{
13+
"acronym": "SIFRBioPortal",
14+
"name": "SIFR BioPortal",
15+
"link": "https://bioportal.lirmm.fr/",
16+
"logo": "/images/alliance_member_logos/sifr_bioportal.png",
17+
"color": "#74a9cb",
18+
"description": "A repository for French biomedical terminologies and ontologies",
19+
"status": "retired",
20+
"federation": false
21+
},
22+
{
23+
"acronym": "AgroPortal",
24+
"name": "AgroPortal",
25+
"link": "https://agroportal.lirmm.fr/",
26+
"logo": "/images/alliance_member_logos/agroportal.png",
27+
"color": "#31b403",
28+
"description": "A vocabulary and ontology repository for agronomy and related domains",
29+
"status": "production",
30+
"federation": true
31+
},
32+
{
33+
"acronym": "EcoPortal",
34+
"name": "EcoPortal",
35+
"link": "https://ecoportal.lifewatch.eu/",
36+
"logo": "/images/alliance_member_logos/ecoportal.png",
37+
"color": "#0d508a",
38+
"description": "The LifeWatch ERIC repository of semantic resources for ecology and related domains",
39+
"status": "production",
40+
"federation": true
41+
},
42+
{
43+
"acronym": "MedPortal",
44+
"name": "MedPortal",
45+
"link": "http://medportal.bmicc.cn/",
46+
"logo": "/images/alliance_member_logos/medportal.png",
47+
"color": "#234979",
48+
"description": "A repository for Chinese biomedical terminologies and ontologies",
49+
"status": "production",
50+
"federation": false
51+
},
52+
{
53+
"acronym": "MatPortal",
54+
"name": "MatPortal",
55+
"link": "https://matportal.org/",
56+
"logo": "/images/alliance_member_logos/matportal.png",
57+
"color": "#009574",
58+
"description": "The ontology repository for materials science",
59+
"status": "production",
60+
"federation": false
61+
},
62+
{
63+
"acronym": "IndustryPortal",
64+
"name": "IndustryPortal",
65+
"link": "http://industryportal.enit.fr/",
66+
"logo": "/images/alliance_member_logos/industryportal.png",
67+
"color": "#1c0f5d",
68+
"description": "A common ontology portal for industry and related domains",
69+
"status": "retired",
70+
"federation": false
71+
},
72+
{
73+
"acronym": "EarthPortal",
74+
"name": "EarthPortal",
75+
"link": "https://earthportal.eu/",
76+
"logo": "/images/alliance_member_logos/earthportal.png",
77+
"color": "#1e2251",
78+
"description": "A semantic artefact repository dedicated to Earth sciences",
79+
"status": "production",
80+
"federation": true
81+
},
82+
{
83+
"acronym": "BiodivPortal",
84+
"name": "BiodivPortal",
85+
"link": "https://biodivportal.gfbio.org/",
86+
"logo": "/images/alliance_member_logos/biodivportal.png",
87+
"color": "#33691B",
88+
"description": "A semantic artefact repository for biodiversity",
89+
"status": "production",
90+
"federation": true
91+
},
92+
{
93+
"acronym": "TechnoPortal",
94+
"name": "TechnoPortal",
95+
"link": "https://technoportal.hevs.ch/",
96+
"logo": "/images/alliance_member_logos/technoportal.png",
97+
"color": "#9C4E81",
98+
"description": "A repository for the technology sciences domain",
99+
"status": "production",
100+
"federation": false
101+
},
102+
{
103+
"acronym": "OntoPortal-Astro",
104+
"name": "Ontoportal-Astro",
105+
"link": "https://ontoportal-astro.eu/",
106+
"logo": "/images/alliance_member_logos/ontoportal-astro.png",
107+
"color": "#624ECF",
108+
"description": "A vocabulary and ontology repository for astronomy and related domains",
109+
"status": "production",
110+
"federation": false
111+
},
112+
{
113+
"acronym": "LovPortal",
114+
"name": "LovPortal",
115+
"description": "A gateway to reusable semantic vocabularies on the Web",
116+
"status": "coming",
117+
"federation": false
118+
},
119+
{
120+
"acronym": "HSPortal",
121+
"name": "HSPortal",
122+
"description": "The home of ontologies and semantic artefacts in Heritage Science.",
123+
"status": "coming",
124+
"federation": false
125+
},
126+
{
127+
"acronym": "CHPortal",
128+
"name": "CHPortal",
129+
"description": "ECHOES repository of Cultural Heritage ontologies",
130+
"status": "coming",
131+
"federation": false
132+
},
133+
{
134+
"acronym": "SocioPortal",
135+
"name": "SocioPortal",
136+
"description": "CESSDA repository of social sciences ontologies and semantic artefacts",
137+
"status": "coming",
138+
"federation": false
139+
}
140+
]

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,12 @@ <h2>Be part of a <strong>community</strong></h2>
304304
}
305305
</style>
306306
<ul class="staff">
307-
{% for portal in site.alliance_members %}
307+
{% for portal in site.data.portals %}
308308
<li>
309-
{% if portal.coming %}
309+
{% if portal.status == "coming" %}
310310
<div class="portal-coming-box"><span>coming soon</span></div>
311311
<div class="name">{{ portal.name }} <span class="portal-badge portal-badge-coming">coming</span></div>
312-
{% elsif portal.retired %}
312+
{% elsif portal.status == "retired" %}
313313
<div style="height: 100px;background-color:{{portal.color}}" class="square-image"><img src="{% include relative-src.html src=portal.logo %}" alt="{{ portal.name }}" style="object-fit: contain;width: 200px; height: 100px; opacity: 0.7;"/></div>
314314
<div class="name"><a target="_blank" href="{{ portal.link }}" style="color: black">{{ portal.name }}</a> <span class="portal-badge portal-badge-retired">retired</span></div>
315315
{% else %}

portals.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: null
3+
---
4+
{
5+
"@context": {
6+
"acronym": "https://w3id.org/mod#acronym",
7+
"color": "https://schema.org/color",
8+
"description": "http://purl.org/dc/terms/description",
9+
"status": "https://w3id.org/mod#status",
10+
"federation": "http://data.bioontology.org/metadata/federation"
11+
},
12+
"@graph": [
13+
{% for portal in site.data.portals %}
14+
{
15+
{% if portal.link %}"@id": "{{ portal.link }}",
16+
{% endif %}"@type": "https://w3id.org/mod#SemanticArtefactCatalog",
17+
"acronym": "{{ portal.acronym }}",
18+
{% if portal.color %}"color": "{{ portal.color }}",
19+
{% endif %}"description": "{{ portal.description }}",
20+
"status": "{{ portal.status }}",
21+
"federation": {{ portal.federation }}
22+
}{% unless forloop.last %},{% endunless %}
23+
24+
{% endfor %}
25+
]
26+
}

0 commit comments

Comments
 (0)