229 lines
8.1 KiB
HTML
229 lines
8.1 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<title>Identifiers</title>
|
||
<meta name="description" content="On Metadata in the DataLad ecosystem">
|
||
<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 about data<br><small>Let's get meta on data</small></h1>
|
||
</section>
|
||
|
||
|
||
<section data-markdown data-transition="none"><script type="text/template">
|
||
## What do you know about this person?
|
||
|
||

|
||
|
||
Notes:
|
||
~20min
|
||
</script></section>
|
||
|
||
<section data-markdown data-transition="none"><script type="text/template">
|
||
## What do you know about this person?
|
||
|
||

|
||
</script></section>
|
||
|
||
<section data-markdown data-transition="none"><script type="text/template">
|
||
## Persistent identifiers
|
||
|
||
- We all "know" James Bond
|
||
- But neither the name, nor any one picture is a good identifier
|
||
|
||
- What do we need? An identifier!
|
||
- unique
|
||
- gives context
|
||
- resolves to more information
|
||
- never changes
|
||
|
||
For example: [trr379.de/contributors/michael-hanke](https://trr379.de/contributors/michael-hanke/) - Many parties can independently collect and associate information that is afterwards easy to identify and aggregate.
|
||
</script></section>
|
||
|
||
<section data-markdown data-transition="none"><script type="text/template">
|
||
# What is your identifier?
|
||
</script></section>
|
||
|
||
<section data-markdown data-transition="none"><script type="text/template">
|
||
## What about something like ORCID?
|
||
|
||
https://orcid.org
|
||
|
||
- Everybody *could* have one
|
||
- Everybody *should* have one
|
||
- **Not everybody has one!**
|
||
|
||
- We cannot wait for everything to make *itself* identifiable
|
||
- We cannot require a particular global identification system for everything, because there isn't one for everything.
|
||
|
||
</script></section>
|
||
</section>
|
||
|
||
|
||
<section>
|
||
<section data-markdown data-transition="none"><script type="text/template">
|
||
## Provider of identifiers
|
||
|
||
- DataLad provides globally unique, persistent identifiers (without a central issuing service (offline and portable)
|
||
|
||
- Concept identifiers
|
||
- for datasets: DataLad dataset ID
|
||
- for files in a dataset: DataLad dataset ID + path within a dataset
|
||
- Content/version identifiers
|
||
- for datasets: Git commit SHA ID
|
||
- for files: Git blob SHA / Git-annex key
|
||
|
||
Any dataset managed by DataLad and any part thereof always has a unique
|
||
"concept" and a "version" identifier. Those are readily available to
|
||
associate metadata with DataLad-tracked information.
|
||
</script></section>
|
||
|
||
<section data-markdown><script type="text/template">
|
||
## What is a DataLad dataset?
|
||
|
||
- **metadata** on the evolution of a collection of files
|
||
- content identity <br>
|
||
<small>think: checksums</small>
|
||
- content availability <br>
|
||
<small>think: URLs</small>
|
||
- provenance of change <br>
|
||
<small>think: who did what when?</small>
|
||
- a regular, but *managed* directory on computer file system
|
||
<small>think: provides the familiar look and feel of files and folders</small>
|
||
- a **Git** repository <br>
|
||
<small>think: compatible with anything that can handle Git repositories</small>
|
||
- employs **git-annex** for file content tracking and transport
|
||
<small>think: supports any storage service and transport protocol supported by git-annex</small>
|
||
- extends both Git and git-annex with additional features and infrastructure support <br>
|
||
<small>think: deposit and retrieve from non-Git-aware sites</small>
|
||
</script></section>
|
||
|
||
|
||
</section>
|
||
|
||
<section>
|
||
<h3>Dataset and version identifiers</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>
|
||
|
||
|
||
</section>
|
||
|
||
<section>
|
||
<h3>File identifiers</h3>
|
||
<pre><code data-trim class="language-bash" onmousemove="showHover(event)" onmousedown="clickCopy(event)" onmouseleave="leaveElement(event)">❱ ls -l examples
|
||
total 12
|
||
lrwxrwxrwx 1 adina adina 131 Jun 24 12:26 adelie.jpg ->
|
||
../.git/annex/objects/wV/xx/MD5E-s1510096--96d64a3ce9491ec4a8e277bcb31bb016.jpg/
|
||
MD5E-s1510096--96d64a3ce9491ec4a8e277bcb31bb016.jpg
|
||
lrwxrwxrwx 1 adina adina 131 Jun 24 12:26 chinstrap.jpg ->
|
||
../.git/annex/objects/G1/1w/MD5E-s4458962--9147d29483aa865b208dd0693a59e0d8.jpg/
|
||
MD5E-s4458962--9147d29483aa865b208dd0693a59e0d8.jpg
|
||
lrwxrwxrwx 1 adina adina 131 Jun 24 12:26 gentoo.jpg ->
|
||
../.git/annex/objects/ZF/Mz/MD5E-s4812332--3ee0c65f57a008ffa2a55b3d59d8c203.jpg/
|
||
MD5E-s4812332--3ee0c65f57a008ffa2a55b3d59d8c203.jpg
|
||
</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>
|
||
</section>
|
||
|
||
|
||
<section data-markdown data-transition="none"><script type="text/template">
|
||
# Data metadata
|
||
|
||
- This system associates data availability metadata with a<br>
|
||
*content identifier*
|
||
|
||
- This content identifier allow anyone to report information on any file content in the same way we can gather information on people
|
||
|
||
- Such *metadata datasets* allow sharing structural information on a dataset, without necessarily having to share the actual content
|
||
|
||
- These DataLad datasets are a portable datastructure that can even record data provenance metadata
|
||
</script></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="../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>
|