Skip to content

Commit cb0497a

Browse files
author
Jorrit Poelen
committed
add first pass at indexing austraits; related to globalbioticinteractions/globalbioticinteractions#1129
0 parents  commit cb0497a

22 files changed

+415318
-0
lines changed

.github/workflows/review.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# This workflow will review a GloBI indexed dataset.
2+
# For more information see: https://globalbioticinteractions.org
3+
4+
name: GloBI review by Elton
5+
6+
on:
7+
push:
8+
branches: [ '*' ]
9+
pull_request:
10+
branches: [ '*' ]
11+
schedule:
12+
- cron: "0 0 * * 1"
13+
14+
jobs:
15+
review:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up JDK 1.8
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: 'temurin'
23+
java-version: '8'
24+
- name: download review script
25+
run: curl --silent -L "https://raw.githubusercontent.com/globalbioticinteractions/globinizer/master/check-dataset.sh" > check-dataset.sh
26+
- name: download network compiler script
27+
run: |
28+
curl --silent -L "https://raw.githubusercontent.com/globalbioticinteractions/globinizer/master/compile-network.sh" > compile-network.sh
29+
chmod +x compile-network.sh
30+
- name: review dataset
31+
run: bash check-dataset.sh "${GITHUB_REPOSITORY}"
32+
- name: Share review report
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: review-report
36+
path: |
37+
README.txt
38+
HEAD
39+
data.zip
40+
index*
41+
review*
42+
zenodo*
43+
nanopub*
44+
*.svg
45+
*.bib
46+
*.nq
47+
check-dataset.sh

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.elton/
2+
add_travis_artifact_upload_keys.sh
3+
datasets/

README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
[![GloBI Review by Elton](../../actions/workflows/review.yml/badge.svg)](../../actions/workflows/review.yml) [![GloBI](https://api.globalbioticinteractions.org/interaction.svg?accordingTo=globi:globalbioticinteractions/austraits&refutes=true&refutes=false)](https://globalbioticinteractions.org/?accordingTo=globi:globalbioticinteractions/austraits)
2+
3+
Configuration to help Global Biotic Interactions (GloBI, https://globalbioticinteractions.org) index:
4+
5+
Falster, Gallagher et al (2021) AusTraits, a curated plant trait database for the Australian flora. Scientific Data 8: 254, https://doi.org/10.1038/s41597-021-01006-6
6+
7+
To help facilitate indexing of this dataset, we re-used:
8+
9+
10+
Falster, D., Gallagher, R., Wenk, E., & Sauquet, H. (2025). AusTraits: a curated plant trait database for the Australian flora [Data set]. In Scientific Data (v7.0.0, Vol. 8, p. 254). Zenodo. https://doi.org/10.5281/zenodo.15718081
11+
12+
by extracting a versioned copy of the source data using
13+
14+
```
15+
preston track --algo md5 https://zenodo.org/records/15718081/files/austraits-7.0.0.zip
16+
```
17+
18+
to be followed by the unpacking of the zip file via
19+
20+
```
21+
unzip <(preston cat hash://md5/f169a9bca41d847df4fb8c6011ee3ea8)
22+
```
23+
24+
and gzipping traits.csv to reduce the filesize, and symlinking sources.bib to help compatibility with GloBI's review mechanism.
25+
26+
## Files
27+
28+
All files originate from AusTrait except for those annotated explicitly below.
29+
30+
├── biblio.bib -> sources.bib (added to facilitate GloBI indexing/review)
31+
├── build_info.md
32+
├── contexts.csv
33+
├── contributors.csv
34+
├── definitions.yml
35+
├── excluded_data.csv
36+
├── globi.json (added to facilitate GloBI indexing/review)
37+
├── interaction_types_mapping.csv (added to facilitate GloBI indexing/review)
38+
├── locations.csv
39+
├── metadata.yml
40+
├── methods.csv
41+
├── README.md (added to facilitate GloBI indexing/review)
42+
├── schema.yml
43+
├── sources.bib
44+
├── taxa.csv
45+
├── taxonomic_updates.csv
46+
└── traits.csv.gz (gzipped to reduce file size)
47+
48+
## Provenance
49+
50+
```
51+
<https://preston.guoda.bio> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/prov#SoftwareAgent> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
52+
<https://preston.guoda.bio> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/prov#Agent> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
53+
<https://preston.guoda.bio> <http://purl.org/dc/terms/description> "Preston is a software program that finds, archives and provides access to biodiversity datasets."@en <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
54+
<urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/prov#Activity> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
55+
<urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> <http://purl.org/dc/terms/description> "A crawl event that discovers biodiversity archives."@en <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
56+
<urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> <http://www.w3.org/ns/prov#startedAtTime> "2025-12-04T21:49:33.416Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
57+
<urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> <http://www.w3.org/ns/prov#wasStartedBy> <https://preston.guoda.bio> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
58+
<https://doi.org/10.5281/zenodo.1410543> <http://www.w3.org/ns/prov#usedBy> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
59+
<https://doi.org/10.5281/zenodo.1410543> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/dcmitype/Software> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
60+
<https://doi.org/10.5281/zenodo.1410543> <http://purl.org/dc/terms/bibliographicCitation> "Jorrit Poelen, Icaro Alzuru, & Michael Elliott. 2018-2024. Preston: a biodiversity dataset tracker (Version 0.11.3-SNAPSHOT@07633f95a0dd9e7e07602298fc1ae57b15cf9549) [Software]. Zenodo. https://doi.org/10.5281/zenodo.1410543"@en <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
61+
<urn:uuid:0659a54f-b713-4f86-a917-5be166a14110> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/prov#Entity> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
62+
<urn:uuid:0659a54f-b713-4f86-a917-5be166a14110> <http://purl.org/dc/terms/description> "A biodiversity dataset graph archive."@en <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> .
63+
<hash://md5/f169a9bca41d847df4fb8c6011ee3ea8> <http://www.w3.org/ns/prov#wasGeneratedBy> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> .
64+
<hash://md5/f169a9bca41d847df4fb8c6011ee3ea8> <http://www.w3.org/ns/prov#qualifiedGeneration> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> .
65+
<urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> <http://www.w3.org/ns/prov#generatedAtTime> "2025-12-04T21:49:38.519Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> .
66+
<urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/prov#Generation> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> .
67+
<urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> <http://www.w3.org/ns/prov#wasInformedBy> <urn:uuid:9acdd7bb-2c56-4877-8449-942c3251feff> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> .
68+
<urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> <http://www.w3.org/ns/prov#used> <https://zenodo.org/records/15718081/files/austraits-7.0.0.zip> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> .
69+
<https://zenodo.org/records/15718081/files/austraits-7.0.0.zip> <http://purl.org/pav/hasVersion> <hash://md5/f169a9bca41d847df4fb8c6011ee3ea8> <urn:uuid:952647c9-e305-4568-99be-0b8fc93f81ba> .
70+
```

biblio.bib

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sources.bib

build_info.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
$version
2+
[1] "7.0.0"
3+
4+
$git_SHA
5+
[1] "b6eb14cec4043dbd0bc360fe8967bfdf34ade73e"
6+
7+
$session_info
8+
R version 4.4.2 (2024-10-31)
9+
Platform: aarch64-apple-darwin20
10+
Running under: macOS Sequoia 15.5
11+
12+
Matrix products: default
13+
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
14+
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0
15+
16+
locale:
17+
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
18+
19+
time zone: Australia/Sydney
20+
tzcode source: internal
21+
22+
attached base packages:
23+
[1] stats graphics grDevices datasets utils methods base
24+
25+
other attached packages:
26+
[1] traits.build_2.1.0 austraits_3.1.0 RefManageR_1.4.0 tidyr_1.3.1
27+
[5] stringr_1.5.1 readr_2.1.5 lubridate_1.9.4 dplyr_1.1.4
28+
[9] datapasta_3.1.0
29+
30+
loaded via a namespace (and not attached):
31+
[1] styler_1.10.3 generics_0.1.4 xml2_1.3.8 stringi_1.8.7 hms_1.1.3
32+
[6] digest_0.6.37 magrittr_2.0.3 timechange_0.3.0 R.oo_1.27.1 R.cache_0.17.0
33+
[11] plyr_1.8.9 jsonlite_2.0.0 processx_3.8.6 R.utils_2.13.0 backports_1.5.0
34+
[16] brio_1.1.5 ps_1.9.1 httr_1.4.7 purrr_1.0.4 bibtex_0.5.1
35+
[21] cli_3.6.5.9000 rlang_1.1.6 crayon_1.5.3.9000 R.methodsS3_1.8.2 bit64_4.6.0-1
36+
[26] withr_3.0.2 yaml_2.3.10 parallel_4.4.2 tools_4.4.2 tzdb_0.5.0
37+
[31] vctrs_0.6.5 R6_2.6.1 lifecycle_1.0.4 bit_4.6.0 fs_1.6.6
38+
[36] vroom_1.6.5 pkgconfig_2.0.3 desc_1.4.3 callr_3.7.6 pkgdown_2.1.1
39+
[41] pillar_1.10.2 glue_1.8.0 Rcpp_1.0.14 tibble_3.3.0 tidyselect_1.2.1
40+
[46] testthat_3.2.3 rdoc_0.1.0.9000 compiler_4.4.2
41+

0 commit comments

Comments
 (0)