A biodiversity dataset graph: Biological Associations in TaxonWorks hash://sha256/e4a47c067d6c125da60c9a1b92b5eecdea539cb8666cd3aed99db347ae5b8ed0 hash://md5/686007de79cc2a49ab23fd3debe56e3f
<p>The intended use of this archive is to facilitate (meta-)analysis of Biological Associations captured in TaxonWorks [1]. TaxonWorks is an integrated web-based workbench for taxonomists and biodiversity scientists. It allows you to capture, organize, and enrich your data; share it with collaborators; and package it for analysis and publication. </p> <p>This dataset provides versioned snapshots of the TaxonWorks network as tracked by Preston [2,3,4] during 2024-05-07 using:</p> <pre><code>preston track -u https://sfg.taxonworks.org</code></pre> <p>. In addition, this dataset provides a processed version of the biological associations using the "preston tw-stream" command as generated by the following bash script:</p> <pre><code>#!/bin/bash # # Generates GloBI interaction JSON Lines from provided provenance log as generated by preston tw-stream. # /usr/local/bin/preston cat hash://sha256/c1b081afa6ea0f60570c24cca85c4d9acd91eeefe36b9cacd1fe53b6893ea154\ | /usr/local/bin/preston tw-stream </code></pre> <p><br>The script itself was executed using:</p> <pre><code>cat transform.sh | preston bash </code></pre> <p>The execution of this transform.sh script (with content id hash://sha256/6dfe3c4ebf877bed73aebbe88c7d388bf894c569578ed7b28ca68e57a6afe43b), as well as their results, is captured within this datasets also. A rdf/quads formatted machine readable version of the workflow execution description can be found via:</p> <pre><code>preston cat hash://sha256/e4a47c067d6c125da60c9a1b92b5eecdea539cb8666cd3aed99db347ae5b8ed0 </code></pre> <p>And, the resulting JSON Lines file has content id (or signature) hash://sha256/4c2b8642251ced5985660d63c565efa6e5a9bf3d12b3b0c0d9ac577905f5e897 and is also included as interactions.json to facilitate access. </p> <p>The first json record can be generated using:</p> <pre><code>preston cat hash://sha256/4c2b8642251ced5985660d63c565efa6e5a9bf3d12b3b0c0d9ac577905f5e897\ | head -n1\ | jq . </code></pre> <p>or, provided that the interactions.json has content id starting with hash://sha256/4c2b86...</p> <pre><code>cat interactions.json\ | head -n1\ | jq . </code></pre> <p>This produces the following (formatted) json object:</p> <pre><code>{<br> "http://www.w3.org/ns/prov#wasDerivedFrom": "hash://sha256/fdbf13dc5f3d9c5afbc03db62699e2ce2724c499b7d91d8b0bf31e39409b153a",<br> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "application/vnd.taxonworks+json",<br> "referenceId": "https://sfg.taxonworks.org/api/v1/sources/213218",<br> "interactionId": "https://sfg.taxonworks.org/api/v1/biological_associations/227664",<br> "taxonRootsResolved": 2,<br> "referenceResolved": true,<br> "referenceCitation": "@article{213218,\n author = {Monzen, Kota},\n journal = {Annual Report of the Gakugei Faculty of the Iwate University},\n pages = {24-38},\n title = {Revision of the Japanese gall wasps with the descriptions of new genus, subgenus, species and subspecies (II). Cynipidae (Cynipinae) Hymenoptera.},\n volume = {6},\n year = {1954}\n}\n",<br> "interactionTypeId": "gid://taxon-works/BiologicalRelationship/69",<br> "interactionTypeName": "gall",<br> "sourceTaxonName": "Neuroterus hakonensis",<br> "sourceTaxonId": "gid://taxon-works/TaxonName/1174121",<br> "sourceTaxonRank": "species",<br> "sourceTaxonAuthorship": "Ashmead, 1904",<br> "sourceTaxonPath": "Root | Cynipidae | Neuroterus | Neuroterus hakonensis",<br> "sourceTaxonPathIds": "gid://taxon-works/TaxonName/623170 | gid://taxon-works/TaxonName/1170060 | gid://taxon-works/TaxonName/1170097 | gid://taxon-works/TaxonName/1174121",<br> "sourceTaxonPathNames": "nomenclatural rank | family | genus | species",<br> "targetTaxonName": "Quercus",<br> "targetTaxonId": "gid://taxon-works/TaxonName/1173543",<br> "targetTaxonRank": "genus",<br> "targetTaxonAuthorship": "",<br> "targetTaxonPath": "Root | Fagaceae | Quercus",<br> "targetTaxonPathIds": "gid://taxon-works/TaxonName/623170 | gid://taxon-works/TaxonName/1173542 | gid://taxon-works/TaxonName/1173543",<br> "targetTaxonPathNames": "nomenclatural rank | family | genus"<br>}<br></code></pre> <p>In this example, a claim is made that, according to https://sfg.taxonworks.org/api/v1/sources/213218 [6] Neuroterus hakonensis (a gall wasp) has a primary host in the genus of Quercus (oak tree). </p> <p>In total, 237,068 such claims can be found in the generated resource with alias interactions.json and content id starting with hash://sha256/4c2b86... .</p> <p>In addition, the archive preston.tar.gz to allow for batch download. The archive contains three types of files: index files, provenance logs and data files. In addition, index files have been individually included in this dataset publication to facilitate remote access. Index files provide a way to links provenance files in time to establish a versioning mechanism. Provenance files describe how, when, what and where the TaxonWorks content was retrieved. For more information, please visit https://preston.guoda.bio or https://doi.org/10.5281/zenodo.1410543 . </p> <p>To retrieve and verify the downloaded TaxonWorks biodiversity dataset graph, download preston.tar.gz. Then, extract the archive into a "data" folder. Alternatively, you can use the preston[2] command-line tool to "clone" this dataset using:</p> <pre><code>java -jar preston.jar clone --remote https://zenodo.org/record/11151783/files </code></pre> <p>After that, verify the index of the archive by reproducing the following provenance log history:</p> <pre><code> java -jar preston.jar history --log tsv</code></pre> <p>to be:</p> <pre><code>hash://sha256/e4a47c067d6c125da60c9a1b92b5eecdea539cb8666cd3aed99db347ae5b8ed0 http://www.w3.org/ns/prov#wasDerivedFrom hash://sha256/c1b081afa6ea0f60570c24cca85c4d9acd91eeefe36b9cacd1fe53b6893ea154 </code><br><code>hash://sha256/c1b081afa6ea0f60570c24cca85c4d9acd91eeefe36b9cacd1fe53b6893ea154 http://www.w3.org/ns/prov#wasDerivedFrom hash://sha256/a4d651aac5220487835e6178511886e98b845b2d98cb7c5447fb2b042e0654d2hash://sha256/a4d651aac5220487835e6178511886e98b845b2d98cb7c5447fb2b042e0654d2 http://www.w3.org/ns/prov#wasDerivedFrom hash://sha256/ab7550368905e7c919e70a306efbb97719a1edbba2cfe4c4515f635ebc0be4bb hash://sha256/a4d651aac5220487835e6178511886e98b845b2d98cb7c5447fb2b042e0654d2 http://www.w3.org/ns/prov#wasDerivedFrom hash://sha256/ab7550368905e7c919e70a306efbb97719a1edbba2cfe4c4515f635ebc0be4bb</code><br><code>hash://sha256/ab7550368905e7c919e70a306efbb97719a1edbba2cfe4c4515f635ebc0be4bb http://www.w3.org/ns/prov#wasDerivedFrom hash://sha256/ff5e709305e593c87711e897b6341b94e775e2f312aa6d4ae5ed6120babd6f5e urn:uuid:0659a54f-b713-4f86-a917-5be166a14110 http://purl.org/pav/hasVersion hash://sha256/ff5e709305e593c87711e897b6341b94e775e2f312aa6d4ae5ed6120babd6f5e </code></pre> <p><br>To check the integrity of the extracted archive, confirm that each line produce by the command "preston verify" produces lines as shown below, with each line including "CONTENT_PRESENT_VALID_HASH". Depending on hardware capacity, this may take a while.</p> <pre><code>java -jar preston.jar verify</code></pre> <p>Note that a copy of the java program "preston", preston.jar, is included in this publication. The program runs on java 8+ virtual machine using "java -jar preston.jar", or in short "preston". </p> <p>Files in this data publication:</p> <p>--- start of file descriptions ---</p> <p>-- description of archive and its contents (a rendition of this file) --<br>README</p> <p>-- biological associations indexed from TaxonWorks expressed in a GloBI [5] compatible JSON Lines file --<br>interactions.json</p> <p>-- first 10 biological associations indexed from TaxonWorks expressed in a GloBI [5] compatible JSON Lines file --<br>interactions-10.json</p> <p>-- executable java jar containing preston [2,3,4] v0.8.5-SNAPSHOT. --<br>preston.jar</p> <p>-- preston archive containing TaxonWorks data files, associated provenance logs and a provenance index --<br>preston.tar.gz</p> <p>-- individual provenance index files --</p> <p>1fed32bf78298d7ecc3d9f36d106f1d7d7773a8b9a5e47af6632f36c1f82adb5<br>29306c5c144c3d7fd21be344d8b6b554b6f6efa3b8f8f5c0b27cdf0e88785652<br>2a5de79372318317a382ea9a2cef069780b852b01210ef59e06b640a3539cb5a<br>d31ff1ef1dea88c5952181a4f30e7ea7862873aa5f66430451275aa6d08d329e<br>deb84d69224af488da585186f88cafc58e978db5f9897de624cc9b02c0c83742<br>e9c34683f1e826f68f841f3419bd5ee9c0fa18be04713a6fd3364f226c7c5f2f<br>f98d36a9dc7bd833c93b3b61130865628f7bc2f7bb0920e95afcd16fba3dc6a8<br>ffb41d48979ceb964fbfbeb68cb60b584b759950087fdcc012521b866249bc39</p> <p>--- end of file descriptions ---</p> <p>This work is funded in part by grant NSF OAC 1839201, NSF DBI 1901932, NSF DBI 1901926, and NSF DBI 2102006 from the National Science Foundation.<br> </p>
ShareScore
52/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 8
- Harmonization
- 8
- Access
- 20
- Reuse readiness
- 8
- Engagement
- 8