412 lines
17 KiB
HTML
412 lines
17 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<title>Data modeling, annotation, and discovery</title>
|
||
<meta name="description" content="Data modeling, annotation, and discovery">
|
||
<meta name="author" content="The DataLad Team">
|
||
|
||
<meta charset="utf-8">
|
||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
|
||
<!-- Original reveal JS stylesheets-->
|
||
<link rel="stylesheet" href="../reveal.js/dist/reset.css">
|
||
<link rel="stylesheet" href="../reveal.js/dist/reveal.css">
|
||
<link rel="stylesheet" href="../reveal.js/dist/theme/beige.css">
|
||
<!-- custom styles, e.g., imgcredit -->
|
||
<link rel="stylesheet" href="../custom/css/main.css" id="theme">
|
||
<script src="../custom/js/printpdf.js"></script>
|
||
</head>
|
||
<body>
|
||
|
||
<div class="reveal">
|
||
<div class="slides">
|
||
|
||
<section>
|
||
<section>
|
||
<h1>Data modeling, annotation, and discovery</h1>
|
||
</section>
|
||
|
||
<section data-transition="None-out">
|
||
<h3><code>We want FAIRly managed data:</code></h3>
|
||
<img src="../img/metadata/fairdata.png" alt="fairdata" width="68%" style="margin-top: 2em;">
|
||
<small>
|
||
<small><em>Wilkinson, et al. 2016. The FAIR Guiding Principles for scientific data management and stewardship. <a href="https://doi.org/10.1038/sdata.2016.18">https://doi.org/10.1038/sdata.2016.18</a></em></small>
|
||
</small>
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>We want FAIRly managed data:</code></h3>
|
||
<img src="../img/metadata/fairdata_findable.png" alt="fairdata" width="68%" style="margin-top: 2em;">
|
||
<small>
|
||
<small><em>Wilkinson, et al. 2016. The FAIR Guiding Principles for scientific data management and stewardship. <a href="https://doi.org/10.1038/sdata.2016.18">https://doi.org/10.1038/sdata.2016.18</a></em></small>
|
||
</small>
|
||
</section>
|
||
|
||
<section>
|
||
<h3><code>If everything has an identifier...</code></h3>
|
||
<pre><code data-trim class="language-bash" onmousemove="showHover(event)" onmousedown="clickCopy(event)" onmouseleave="leaveElement(event)">❱ cat .datalad/config
|
||
[datalad "dataset"]
|
||
id = fd3b41bb-5d75-4cee-b41c-aac0e0cae7f1</code></pre>
|
||
|
||
<pre><code data-trim class="language-bash" onmousemove="showHover(event)" onmousedown="clickCopy(event)" onmouseleave="leaveElement(event)">❱ git log
|
||
commit 8b778413e195d5b91d7039e8e035fd788b4b25f5 (HEAD -> main, dhub/main)
|
||
Merge: e428b3a e9c8da7
|
||
Author: Stephan Heunis jsheunis@noreply.localhost>
|
||
Date: Tue Jun 24 12:00:44 2025 +0000
|
||
|
||
Merge pull request 'Add readme and license info' (#5) from readme-license into main
|
||
|
||
Reviewed-on: https://hub.datalad.org/edu/penguins/pulls/5
|
||
</code></pre>
|
||
|
||
<pre><code data-trim class="language-bash" onmousemove="showHover(event)" onmousedown="clickCopy(event)" onmouseleave="leaveElement(event)">❱ git annex info adelie.jpg
|
||
file: adelie.jpg
|
||
size: 1.51 megabytes
|
||
key: MD5E-s1510096--96d64a3ce9491ec4a8e277bcb31bb016.jpg
|
||
present: false
|
||
</code></pre>
|
||
<h3><code>...does that make it findable?</code></h3>
|
||
|
||
<ul class="fragment fade-in">
|
||
<li>DataLad does not include the world</li>
|
||
<li>The world should not have to care about DataLad</li>
|
||
</ul>
|
||
</section>
|
||
|
||
<section>
|
||
|
||
<h3><code>Human-level discoverability</code></h3>
|
||
|
||
<br>
|
||
|
||
A generic person will not ask:
|
||
<br>
|
||
<div style="text-align: left;">
|
||
<em>
|
||
Inside the DataLad dataset with identifier <strong>fd3b41bb-5d75-4cee-b41c-aac0e0cae7f1</strong>,
|
||
find the file with key <strong>MD5E-s18872--e4b0710c69297031d63866ce8b888f25.csv</strong>, because I walk around
|
||
with an index of git annex keys in my head.
|
||
</em>
|
||
</div>
|
||
<br>
|
||
<span class="fragment fade-in">
|
||
They will ask:
|
||
<br>
|
||
<div style="text-align: left;">
|
||
<em>
|
||
In the context of the Penguin Dataset, find the data files containing the beak length of male Gentoo penguins collected on Biscoe Island during the austral summer of 2008.
|
||
</em>
|
||
</div>
|
||
</span>
|
||
<br>
|
||
|
||
<span class="fragment fade-in">
|
||
=> We need to <strong>connect</strong> the <strong>inherent metadata</strong> provided by git+git-annex+DataLad (all about the files)
|
||
to the broader world through <strong>contextual metadata</strong> (all about discoverability).
|
||
</span>
|
||
</section>
|
||
|
||
|
||
<section>
|
||
<h3><code>Connection through annotation</code></h3>
|
||
|
||
<img src="../img/metadata/shacl_vue_annotation.png" alt="" width="55%" style="margin-top: 2em;">
|
||
|
||
<br>
|
||
<br>
|
||
Let's try this out:
|
||
<br>
|
||
|
||
<h3><a target="_blank" href="https://penguins.edu.datalad.org/ui/"><code>penguins.edu.datalad.org/ui/</code></a></h3>
|
||
</section>
|
||
|
||
|
||
<section data-transition="None-out">
|
||
<h3><code>For structure, <br>we have to model our data</code></h3>
|
||
<img src="../img/metadata/model_your_data.png" alt="model_your_data" width="65%" style="margin-top: 3em;">
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>For structure, <br>we have to model our data</code></h3>
|
||
<img src="../img/metadata/schema_actionable.png" alt="schema" width="65%" style="margin-top: 3em;">
|
||
</section>
|
||
|
||
<section>
|
||
<h3><code>With an actionable schema...<br>...comes great opportunities</code></h3>
|
||
<img src="../img/metadata/schema_to_tools2.png" alt="model_your_data" width="60%" style="margin-top: 1em;">
|
||
</section>
|
||
|
||
<section>
|
||
<h3><code>The annotation stack</code></h3>
|
||
<img src="../img/metadata/schema_shaclvue_dumpthings.png" alt="model_your_data" width="90%" style="margin-top: 1em;">
|
||
<br><br>
|
||
<small>
|
||
<ul>
|
||
<li><a target="_blank" href="https://hub.psychoinformatics.de/inm7/inm7-concepts/src/branch/main/src/flat-data/unreleased.yaml"><code>flat-data</code> schema on forgejo</a></li>
|
||
<li><a target="_blank" href="https://github.com/psychoinformatics-de/shacl-vue"><code>shacl-vue</code> on GitHub</a></li>
|
||
<li><a target="_blank" href="https://github.com/christian-monch/dump-things-server"><code>dump-things</code> on GitHub</a></li>
|
||
</ul>
|
||
</small>
|
||
</section>
|
||
|
||
|
||
<section >
|
||
<h3><code>Data modeling</code></h3>
|
||
<img src="../img/metadata/flat_data_linkml_mermaid.png" alt="schema" width="100%" style="margin-top: 2em;">
|
||
<h4><a target="_blank" href="https://linkml.io/"><code>linkml.io</code></a></h4>
|
||
<div style="text-align: left;">
|
||
LinkML bridges between the worlds of structured data in plain text files, relational databases and knowledge graphs if and when needed, so metadata workflows can stay as simple as possible
|
||
</div>
|
||
</section>
|
||
|
||
<section>
|
||
|
||
<h3><code>Extending semantic standards</code></h3>
|
||
<br>
|
||
<table>
|
||
<tr>
|
||
<td style="vertical-align: top;">
|
||
<img src="../img/metadata/datalad_concepts2.png" alt="datalad_conncepts" style="margin-top: 1em; margin-bottom: 1em">
|
||
</td>
|
||
<td width="30%" style="vertical-align: top;">
|
||
<small>
|
||
<ul>
|
||
<li><a href="https://concepts.datalad.org/s/things/unreleased/">Things schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/types/unreleased/">Types schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/properties/unreleased/">Properties schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/identifiers/unreleased/">Identifiers schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/roles/unreleased/">Roles schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/spatial/unreleased/">Spatial schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/itemporal/unreleased/index.md">Temporal schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/prov/unreleased/">Provenance schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/resources/unreleased/">Resources schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/publications/unreleased/">Publications schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/social/unreleased/">Social schema</a></li>
|
||
<li><a href="https://concepts.datalad.org/s/edistributions/unreleased/">Electronic distributions schema</a></li>
|
||
</ul>
|
||
</small>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
<a href="https://concepts.datalad.org/">datalad-concepts</a>
|
||
<br><br>
|
||
|
||
<ul class="fragment fade-in">
|
||
<li>DataLad does not include the world</li>
|
||
<li>The world should not have to care about DataLad</li>
|
||
<li class="fragment fade-in">But: DataLad is interoperable with the world!</li>
|
||
</ul>
|
||
|
||
|
||
|
||
<!-- <small>
|
||
<ul>
|
||
<li><a href="https://concepts.datalad.org/">datalad-concepts</a></li>
|
||
<li><a href="https://schema.org/">schema.org</a></li>
|
||
<li><a href="https://www.w3.org/TR/vocab-dcat-3/">DCAT-3</a></li>
|
||
<li><a href="https://www.w3.org/TR/prov-o/">PROV-O</a></li>
|
||
<li><a href="https://www.w3.org/TR/odrl-model/">ODRL</a></li>
|
||
<li><a href="https://w3c.github.io/dpv/2.0/dpv/">DPV</a></li>
|
||
<li><a href="https://spdx.org/rdf/terms/">SPDX</a></li>
|
||
<li><a href="https://www.w3.org/TR/2009/REC-skos-reference-20090818/">SKOS</a></li>
|
||
<li><a href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/">DCTERMS</a></li>
|
||
</ul>
|
||
</small> -->
|
||
|
||
</section>
|
||
|
||
<section >
|
||
<h3><code>Flattening generic to purpose-built schemas</code></h3>
|
||
<img src="../img/metadata/schema_generic_vs_purposebuilt.png" alt="" style="margin-top: 1em;">
|
||
</section>
|
||
|
||
<section >
|
||
<h3><code>Curation and multi-schema systems</code></h3>
|
||
<img src="../img/metadata/multi_meta_systems.png" width="100%" alt="" style="margin-top: 1em;">
|
||
<ul>
|
||
<li class="fragment fade-in">Separate interfaces for separate purposes - all lower-level interoperable</li>
|
||
<li class="fragment fade-in">Staging area for curation/validation step</li>
|
||
<li class="fragment fade-in">Expose, share, or transform collections as needed for shared purposes: e.g. <code>Person</code> for internal personnel management AND research publications</li>
|
||
</ul>
|
||
|
||
</section>
|
||
</section>
|
||
|
||
<section>
|
||
<section>
|
||
<h2>Extra</h2>
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>Manual, decentralized metadata authoring</code></h3>
|
||
<img src="../img/metadata/dumpthings_read.png" alt="" style="margin-top: 1em;">
|
||
<ul>
|
||
<li class="fragment fade-in">"dumpthings"-service stores metadata in collections ...</li>
|
||
<li class="fragment fade-in">... each collection has an assigned schema</li>
|
||
<li class="fragment fade-in">... metadata can be read via Web-API, e.g., by SHACL-VUE</li>
|
||
</ul>
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>Manual, decentralized metadata authoring</code></h3>
|
||
<img src="../img/metadata/dumpthings_write.png" alt="" style="margin-top: 1em;">
|
||
<ul>
|
||
<li class="fragment fade-in">"Users can add metadata to a collection ...</li>
|
||
<li class="fragment fade-in">... to incoming space of the collection</li>
|
||
<li class="fragment fade-in">... curation process moves incoming metadata to collection</li>
|
||
</ul>
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>Manual, decentralized metadata authoring</code></h3>
|
||
<img src="../img/metadata/dumpthings_multi_write.png" alt="" style="margin-top: 1em;">
|
||
<ul>
|
||
<li class="fragment fade-in">"Multiple users can write metadata ...</li>
|
||
<li class="fragment fade-in">... to individual incoming spaces</li>
|
||
<li class="fragment fade-in">... shared, decentralized metadata creation</li>
|
||
</ul>
|
||
</section>
|
||
|
||
|
||
<section data-transition="None-out">
|
||
<h3><code>AN OPPORTUNITY: <br>can metadata solve this?</code></h3>
|
||
<img src="../img/metadata/content_vs_metadata.png" alt="" width="55%" style="margin-top: 2em;">
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>AN OPPORTUNITY: <br>can metadata solve this?</code></h3>
|
||
<img src="../img/metadata/data_to_metadata_question.png" alt="" style="margin-top: 4em;">
|
||
</section>
|
||
|
||
<section>
|
||
<h3><code>So what is metadata actually?</code></h3>
|
||
<img src="../img/metadata/inherent_vs_additional_metadata.png" alt="" width="49%" >
|
||
<br>
|
||
<p class="fragment">=> <em>Inherent</em> and <em>contextual</em> metadata</p>
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>Where do we source <em>inherent metadata</em>?</code></h3>
|
||
<img src="../img/metadata/datalad_dataset_git_vs_git_annex.png" alt="datalad_dataset_git_vs_git_annex" width="52%" style="margin-top: 1em;">
|
||
</section>
|
||
|
||
<section>
|
||
<h3><code>Where do we source <em>contextual metadata</em>?</code></h3>
|
||
<img src="../img/metadata/contextual_metadata.png" alt="contextual_metadata" width="36%" style="margin-top: 1em;">
|
||
<ul>
|
||
<li>Metadata adhering to existing standards</li>
|
||
<li>Metadata entered when uploading data to a repository</li>
|
||
<li>Everywhere, basically...</li>
|
||
</ul>
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>To be FAIR,<br> metadata need to be <em>actionable</em></code></h3>
|
||
<img src="../img/metadata/actionable_metadata_extra.png" alt="actionable_metadata" style="margin-top: 1em;">
|
||
</section>
|
||
|
||
|
||
<section>
|
||
<h3><code>Practically, how do we get actionable metadata?</code></h3>
|
||
<img src="../img/metadata/data_to_metadata_question_answer_action.png" alt="data_to_metadata_question_answer_action" style="margin-top:1em; margin-bottom: 1em;">
|
||
|
||
<ul>
|
||
<li class="fragment fade-in">It comes down to serialization, via...</li>
|
||
<li class="fragment fade-in"><strong>Researchers</strong> and software pipelines</li>
|
||
<li class="fragment fade-in">But first: we have to provide structure to metadata
|
||
<ul>
|
||
<li class="fragment fade-in">allows <em>intuitive manual forms</em> that <em>validate on entry</em> and that <em>minimize effort and generality</em></li>
|
||
<li class="fragment fade-in">allows <em>automated metadata extraction</em></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
</section>
|
||
|
||
<section data-transition="None-out">
|
||
<h3><code>LinkML Modeling</code></h3>
|
||
<img src="../img/metadata/linkml_to_shacl_to_validation.png" alt="" style="margin-top: 1em;">
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>RDF, SHACL, and automation</code></h3>
|
||
<img src="../img/metadata/shacl_vue_forms.png" alt="" style="margin-top: 1em;">
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>RDF, SHACL, and automation</code></h3>
|
||
<img src="../img/metadata/shacl_vue_viewers.png" alt="" style="margin-top: 1em;">
|
||
</section>
|
||
|
||
<section data-transition="None">
|
||
<h3><code>RDF, SHACL, and automation</code></h3>
|
||
<img src="../img/metadata/shacl_vue_query_dataset_alpha.png" alt="" style="margin-top: 1em;">
|
||
<ul>
|
||
<li class="fragment fade-in">i.e. cohort searches/queries. And then...</li>
|
||
<li class="fragment fade-in">...metadata-based dataset generation, which gives us...</li>
|
||
<li class="fragment fade-in">...on-demand access!</li>
|
||
</ul>
|
||
</section>
|
||
|
||
|
||
<section data-transition="None">
|
||
<h3><code>Getting back to FAIR data...</code></h3>
|
||
<img src="../img/metadata/datalad_code_to_clinical_data.png" alt="datalad_code_to_clinical_data" width="76%" style="margin-top: 1em;">
|
||
</section>
|
||
</section>
|
||
|
||
|
||
|
||
</div> <!-- /.slides -->
|
||
</div> <!-- /.reveal -->
|
||
|
||
<script src="../reveal.js/dist/reveal.js"></script>
|
||
<script src="../reveal.js/plugin/notes/notes.js"></script>
|
||
<script src="../reveal.js/plugin/markdown/markdown.js"></script>
|
||
<script src="../reveal.js/plugin/highlight/highlight.js"></script>
|
||
<script src="../custom/js/copy-code.js"></script>
|
||
<script>
|
||
// Full list of configuration options available at:
|
||
// https://github.com/hakimel/reveal.js#configuration
|
||
Reveal.initialize({
|
||
// The "normal" size of the presentation, aspect ratio will be preserved
|
||
// when the presentation is scaled to fit different resolutions. Can be
|
||
// specified using percentage units.
|
||
width: 1280,
|
||
height: 960,
|
||
|
||
// Factor of the display size that should remain empty around the content
|
||
margin: 0.1,
|
||
|
||
// Bounds for smallest/largest possible scale to apply to content
|
||
minScale: 0.2,
|
||
maxScale: 1.0,
|
||
|
||
controls: true,
|
||
progress: true,
|
||
history: true,
|
||
center: true,
|
||
|
||
transition: 'slide', // none/fade/slide/convex/concave/zoom
|
||
|
||
// Optional reveal.js plugins
|
||
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
|
||
|
||
});
|
||
</script>
|
||
|
||
<!-- A footer with a "1" and "home" button to get back to the first slide and the index page
|
||
<div id="hidden" style="display:none;">
|
||
<div id="header">
|
||
<div id="footer-left"><a href="#0">1️⃣</a></div>
|
||
<div id="footer-right"><a href="../workshops/2025-DKZ.2R.html">🏠</a></div> -->
|
||
<!-- <div id="footer-right"><a href="../index.html">🏠</a></div>-->
|
||
</div>
|
||
</div>
|
||
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
|
||
<script src="../custom/js/headerandfooter.js"></script>
|
||
|
||
</body>
|
||
</html>
|