Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
373 lines (346 loc) · 18.4 KB
/
Copy pathindex.html
File metadata and controls
373 lines (346 loc) · 18.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>StaticFDP — FAIR Data Points on GitHub</title>
<meta name="description" content="StaticFDP turns GitHub repositories into FAIR Data Points: machine-readable, linked-data metadata endpoints for any dataset." />
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--green: #2ea44f;
--green-d: #22863a;
--blue: #0969da;
--gray-1: #f6f8fa;
--gray-2: #eaeef2;
--gray-3: #d0d7de;
--gray-7: #57606a;
--gray-9: #1f2328;
--purple: #8250df;
--radius: 8px;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: var(--gray-9); background: #fff; line-height: 1.6; }
/* ── Nav ── */
nav { background: #1a4a8a; color: #fff; padding: 0 2rem;
display: flex; align-items: center; gap: 1.5rem; height: 56px; }
nav .brand { font-weight: 700; font-size: 1.05rem; color: #fff; text-decoration: none;
display: flex; align-items: center; gap: .5rem; }
nav .brand img { height: 30px; border-radius: 4px; }
nav .brand span { color: rgba(255,255,255,.65); font-weight: 400; font-size: .88em; }
nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; }
nav a:hover { color: #fff; }
nav .spacer { flex: 1; }
/* ── Hero ── */
.hero { background: linear-gradient(135deg, #0d1117 0%, #161b22 60%, #0d1117 100%);
color: #fff; text-align: center; padding: 5rem 2rem 4rem; }
.hero .badge { display: inline-block; background: rgba(46,164,79,.15); border: 1px solid rgba(46,164,79,.4);
color: var(--green); border-radius: 20px; font-size: .8rem; padding: .25rem .75rem;
margin-bottom: 1.5rem; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero p { font-size: 1.15rem; color: #8b949e; max-width: 600px; margin: 0 auto 2.5rem; }
.btn { display: inline-block; padding: .65rem 1.4rem; border-radius: var(--radius);
font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; }
.btn-green { background: var(--green); color: #fff; border: none; }
.btn-green:hover { background: var(--green-d); }
.btn-outline { background: transparent; color: #fff; border: 1px solid #444; }
.btn-outline:hover { border-color: #fff; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* ── Section shell ── */
section { padding: 4rem 2rem; }
.inner { max-width: 960px; margin: 0 auto; }
h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: .5rem; }
.sub { color: var(--gray-7); margin-bottom: 2.5rem; font-size: 1rem; }
.alt { background: var(--gray-1); }
/* ── 4-card grid ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--gray-3); border-radius: var(--radius); padding: 1.4rem; }
.card-icon { font-size: 1.8rem; margin-bottom: .75rem; }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.card p { font-size: .88rem; color: var(--gray-7); }
/* ── Step list ── */
.steps { display: flex; flex-direction: column; gap: 1.25rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%;
background: var(--green); color: #fff; display: grid; place-items: center;
font-weight: 700; font-size: .9rem; }
.step-body h3 { font-weight: 600; margin-bottom: .2rem; }
.step-body p { font-size: .9rem; color: var(--gray-7); }
.step-body code { background: var(--gray-2); padding: .1rem .35rem; border-radius: 4px;
font-size: .82rem; }
/* ── FDP index panel ── */
.fdpi-panel { background: var(--gray-9); color: #fff; border-radius: var(--radius);
padding: 2rem; margin-bottom: 2.5rem; }
.fdpi-panel h3 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.fdpi-panel p { color: #8b949e; font-size: .92rem; margin-bottom: 1.2rem; }
.fdpi-panel a.btn { margin-right: .5rem; }
/* ── Registered FDPs grid ── */
.fdp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.fdp-card { border: 1px solid var(--gray-3); border-radius: var(--radius); padding: 1.2rem;
background: #fff; }
.fdp-card .fdp-title { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.fdp-card .fdp-desc { font-size: .83rem; color: var(--gray-7); margin-bottom: .8rem; }
.fdp-card a { font-size: .83rem; color: var(--blue); text-decoration: none; }
.fdp-card a:hover { text-decoration: underline; }
.chip { display: inline-block; font-size: .72rem; font-weight: 600; border-radius: 12px;
padding: .15rem .5rem; margin-right: .3rem; margin-bottom: .4rem; }
.chip-green { background: #d1f7dc; color: #116329; }
.chip-blue { background: #ddf4ff; color: #0550ae; }
.chip-purple { background: #fbefff; color: #6639ba; }
/* ── Spec table ── */
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--gray-3); }
th { background: var(--gray-1); font-weight: 600; }
td code { font-size: .82rem; }
/* ── Demo section ── */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.demo-card { border: 1px solid var(--gray-3); border-radius: var(--radius); overflow: hidden; }
.demo-header { background: var(--gray-9); color: #fff; padding: 1rem 1.25rem; }
.demo-header h3 { font-size: 1rem; margin-bottom: .2rem; }
.demo-header p { font-size: .8rem; color: #8b949e; }
.demo-body { padding: 1.25rem; }
.demo-body p { font-size: .88rem; color: var(--gray-7); margin-bottom: 1rem; }
.demo-body ul { padding-left: 1.2rem; font-size: .87rem; color: var(--gray-7); }
.demo-body li { margin-bottom: .3rem; }
/* ── Footer ── */
footer { background: var(--gray-1); border-top: 1px solid var(--gray-3);
text-align: center; padding: 2rem; font-size: .85rem; color: var(--gray-7); }
footer a { color: var(--blue); text-decoration: none; }
footer a:hover { text-decoration: underline; }
/* Phones: the nav scrolls inside its own bar instead of widening the page. */
@media (max-width: 760px) {
nav { overflow-x: auto; padding: 0 1rem; gap: 1rem; }
nav a, nav .brand { white-space: nowrap; flex-shrink: 0; }
table { display: block; overflow-x: auto; }
}
</style>
</head>
<body>
<!-- ── Nav ── -->
<nav>
<a class="brand" href="/"><img src="https://koetai.semscape.org/static/anableps.jpg" alt="Koetai">Koetai <span>FAIR Data Points</span></a>
<a href="#how-it-works">How it works</a>
<a href="#registered-fdps">Registered FDPs</a>
<a href="#demos">Demos</a>
<a href="#get-started">Get started</a>
<a href="/ecosystems/">Ecosystems</a>
<div class="spacer"></div>
<a href="https://github.com/StaticFDP" target="_blank">GitHub ↗</a>
</nav>
<!-- ── Hero ── -->
<div class="hero">
<div class="badge">Open · FAIR · Linked Data</div>
<h1>FAIR Data Points<br/><em>on GitHub</em></h1>
<p>Turn any GitHub repository into a machine-readable metadata endpoint — no server, no database, no infrastructure cost.</p>
<div class="hero-btns">
<a class="btn btn-green" href="#get-started">Get started →</a>
<a class="btn btn-outline" href="#registered-fdps">Browse the FDP Index</a>
<a class="btn btn-outline" href="/ecosystems/">Start an FDP ecosystem</a>
</div>
</div>
<!-- ── What is a FAIR Data Point ── -->
<section id="what-is-fdp">
<div class="inner">
<h2>What is a FAIR Data Point?</h2>
<p class="sub">A standardised, machine-readable metadata endpoint — based on the W3C DCAT vocabulary — that makes datasets <strong>F</strong>indable, <strong>A</strong>ccessible, <strong>I</strong>nteroperable, and <strong>R</strong>eusable.</p>
<div class="cards">
<div class="card">
<div class="card-icon">🔍</div>
<h3>Findable</h3>
<p>Persistent identifiers and rich metadata let search engines, data portals, and other FDPs discover your data automatically.</p>
</div>
<div class="card">
<div class="card-icon">🔓</div>
<h3>Accessible</h3>
<p>Open HTTP(S) endpoints anyone can query — no proprietary API keys, no sign-up, no institutional subscription.</p>
</div>
<div class="card">
<div class="card-icon">🔗</div>
<h3>Interoperable</h3>
<p>RDF Turtle + JSON-LD. Link directly to ontology terms (ORDO, OMIM, HPO, ICD…) using shared, open vocabularies.</p>
</div>
<div class="card">
<div class="card-icon">♻️</div>
<h3>Reusable</h3>
<p>DCAT-3 structured metadata, clear provenance, and explicit licences let others build on your work with confidence.</p>
</div>
</div>
</div>
</section>
<!-- ── How StaticFDP works ── -->
<section id="how-it-works" class="alt">
<div class="inner">
<h2>How StaticFDP works</h2>
<p class="sub">GitHub as the canonical store — pull requests for peer review, Actions for validation, Pages for serving.</p>
<div class="cards">
<div class="card">
<div class="card-icon">📝</div>
<h3>1 — Write Turtle</h3>
<p>Metadata lives as RDF Turtle files in a GitHub repository. Human-readable, version-controlled, diffable.</p>
</div>
<div class="card">
<div class="card-icon">✅</div>
<h3>2 — Validate automatically</h3>
<p>GitHub Actions runs ShEx validation on every pull request. Invalid metadata is blocked before it merges.</p>
</div>
<div class="card">
<div class="card-icon">🌐</div>
<h3>3 — Serve via Pages</h3>
<p>GitHub Pages serves the files at a stable URL with correct content-type headers — no backend needed.</p>
</div>
<div class="card">
<div class="card-icon">🗂️</div>
<h3>4 — Index discovers you</h3>
<p>Register your FDP root URL and the FDP Index crawls it daily, making your datasets visible to the community.</p>
</div>
</div>
</div>
</section>
<!-- ── FDP Index ── -->
<section id="registered-fdps">
<div class="inner">
<div class="fdpi-panel">
<h3>🗂️ The FDP Index</h3>
<p>A daily-crawled registry of all registered StaticFDPs. Each entry shows datasets, catalogues, and metadata freshness. The index itself is a FAIR Data Point.</p>
<a class="btn btn-green" href="https://fdp.semscape.org/fdp-index/" target="_blank">Open the FDP Index →</a>
<a class="btn btn-outline" href="https://github.com/StaticFDP/fdp-index" target="_blank">View on GitHub</a>
</div>
<h2>Registered FDPs</h2>
<p class="sub">FAIR Data Points indexed by this platform — a mix of StaticFDP-hosted and external servers.</p>
<div class="fdp-grid">
<div class="fdp-card">
<div class="fdp-title">SPHN FDP (SIB Swiss)</div>
<div class="fdp-desc">15 research data catalogs from the Swiss Personalized Health Network, hosted by the Swiss Institute of Bioinformatics.</div>
<span class="chip chip-green">Bioinformatics</span>
<span class="chip chip-blue">External</span><br/>
<a href="https://fdp.dcc.sib.swiss" target="_blank">Open FDP →</a>
</div>
<div class="fdp-card">
<div class="fdp-title">Biodiversity FDP</div>
<div class="fdp-desc">Every way to get biodiversity data: iNaturalist, GBIF, BHL, Plazi, UniProt, OpenStreetMap, GeoNames and the FLAIR-GG germplasm banks. Built with the <a href="/ecosystems/">FDP ecosystem template</a>.</div>
<span class="chip chip-green">Biodiversity</span>
<span class="chip chip-purple">StaticFDP</span><br/>
<a href="https://koetai.github.io/biodiversity-fdp/" target="_blank">Open FDP →</a>
·
<a href="https://koetai.github.io/biodiversity-fdp/fdp/biodiversity-index/catalog.ttl" target="_blank">catalog.ttl</a>
</div>
</div>
</div>
</section>
<!-- ── Live Demos ── -->
<section id="demos" class="alt">
<div class="inner">
<h2>Live demonstrations</h2>
<p class="sub">See StaticFDP in action — two concrete examples of what you can query and build once your metadata is FAIR.</p>
<div class="demo-grid">
<div class="demo-card">
<div class="demo-header">
<h3>🔎 SPARQL over the FDP Index</h3>
<p>Query all registered FDPs at once</p>
</div>
<div class="demo-body">
<p>Because every FDP publishes RDF, you can federate a SPARQL query across the entire index to find, for example, all datasets related to a given ORDO disease term.</p>
<ul>
<li>Find datasets by disease (ORDO / OMIM / ICD)</li>
<li>List all catalogues updated in the last 30 days</li>
<li>Discover cross-FDP licence compatibility</li>
</ul>
<br/>
<a class="btn btn-green" href="https://fdp.semscape.org/sparql-demo/" target="_blank">Try the demo →</a>
</div>
</div>
<div class="demo-card">
<div class="demo-header">
<h3>🧬 Disease Trajectory Explorer</h3>
<p>Visualise community-contributed data</p>
</div>
<div class="demo-body">
<p>Community members submitted disease case data through the GA4GH BYOD forms. This demo reads those GitHub Issues as structured data and renders a comparative timeline of symptom onset across rare diseases.</p>
<ul>
<li>Submitted via ORCID-authenticated web forms</li>
<li>Stored as GitHub Issues — fully auditable</li>
<li>Automatically mirrored into the FDP metadata graph</li>
</ul>
<br/>
<a class="btn btn-green" href="/ga4gh-rare-disease-trajectories/" target="_blank">View the event page →</a>
</div>
</div>
</div>
</div>
</section>
<!-- ── Get started ── -->
<section id="get-started">
<div class="inner">
<h2>Register your own FDP</h2>
<p class="sub">Four steps from zero to a fully indexed, validated FAIR Data Point.</p>
<div class="steps">
<div class="step">
<div class="step-num">1</div>
<div class="step-body">
<h3>Use the FDP ecosystem template</h3>
<p>Click <strong>Use this template</strong> on <a href="https://github.com/StaticFDP/fdp-ecosystem-template">github.com/StaticFDP/fdp-ecosystem-template</a>, or follow the <a href="/ecosystems/">three-step guide</a>. You get the folder structure, validation, a website, self-service contributions and FAIR assessment, all pre-configured.</p>
</div>
</div>
<div class="step">
<div class="step-num">2</div>
<div class="step-body">
<h3>Edit your metadata</h3>
<p>Open <code>fdp/catalog.ttl</code> and fill in your dataset details. Use standard prefixes: <code>dcat:</code>, <code>dcterms:</code>, <code>ordo:</code>, <code>hpo:</code>. Every save triggers ShEx validation.</p>
</div>
</div>
<div class="step">
<div class="step-num">3</div>
<div class="step-body">
<h3>Enable GitHub Pages</h3>
<p>Go to Settings → Pages → Source: <em>main branch / docs folder</em>. Your FDP will be live at <code>https://<org>.github.io/<repo>/</code> within minutes.</p>
</div>
</div>
<div class="step">
<div class="step-num">4</div>
<div class="step-body">
<h3>Register in the FDP Index</h3>
<p>Open a pull request adding your URL to <a href="https://github.com/StaticFDP/fdp-index/blob/main/registry.yaml">registry.yaml</a>. Once merged, the daily crawl picks you up automatically — or ping the index immediately with a <code>repository_dispatch</code> event.</p>
</div>
</div>
</div>
</div>
</section>
<!-- ── Specs & tools ── -->
<section class="alt">
<div class="inner">
<h2>Specifications & tools</h2>
<p class="sub">Standards StaticFDP builds on.</p>
<table>
<thead>
<tr><th>Standard / tool</th><th>Role</th><th>Link</th></tr>
</thead>
<tbody>
<tr><td>FAIR Data Point specification</td><td>Defines the HTTP API and metadata model</td><td><a href="https://specs.fairdatapoint.org" target="_blank">specs.fairdatapoint.org</a></td></tr>
<tr><td>DCAT-3</td><td>Core vocabulary for datasets, catalogues, distributions</td><td><a href="https://www.w3.org/TR/vocab-dcat-3/" target="_blank">w3.org</a></td></tr>
<tr><td>RDF Turtle</td><td>Human-friendly RDF serialisation</td><td><a href="https://www.w3.org/TR/turtle/" target="_blank">w3.org</a></td></tr>
<tr><td>ShEx</td><td>Primary schema validation language</td><td><a href="https://shex.io" target="_blank">shex.io</a></td></tr>
<tr><td>Cloudflare Workers</td><td>OAuth-authenticated form submission without GitHub accounts</td><td><a href="https://workers.cloudflare.com" target="_blank">workers.cloudflare.com</a></td></tr>
</tbody>
</table>
</div>
</section>
<!-- ── Footer ── -->
<footer>
<p>
<strong>StaticFDP</strong> · <a href="https://github.com/StaticFDP" target="_blank">FAIR Data Points on GitHub</a> ·
<a href="https://github.com/StaticFDP" target="_blank">GitHub organisation</a> ·
<a href="https://fdp.semscape.org/fdp-index/" target="_blank">FDP Index</a> ·
<a href="/ecosystems/">FDP ecosystems</a> ·
<a href="https://specs.fairdatapoint.org" target="_blank">FDP Specification</a>
</p>
<p style="margin-top:.5rem; color: #999;">
The platform code is available under the
<a href="https://opensource.org/licenses/MIT" target="_blank">MIT License</a>.
Structured data aggregated from registered FAIR Data Points is available under the
license declared by each source dataset — terms may vary.
Where no license is stated, please contact the data provider directly.
</p>
</footer>
</body>
</html>