Skip to content

Commit

Permalink
add first attempt to index @tkuhn nanopubs; see related globalbiotici…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorrit Poelen committed Sep 27, 2023
0 parents commit 56b09e4
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow will review a GloBI indexed dataset.
# For more information see: https://globalbioticinteractions.org

name: GloBI review by Elton

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
schedule:
- cron: "0 0 * * 1"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: download review script
run: curl --silent -L "https://raw.githubusercontent.com/globalbioticinteractions/globinizer/master/check-dataset.sh" > check-dataset.sh
- name: review dataset
run: bash check-dataset.sh "${GITHUB_REPOSITORY}"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.elton/
add_travis_artifact_upload_keys.sh
datasets/
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[![GloBI Review by Elton](../../actions/workflows/review.yml/badge.svg)](../../actions/workflows/review.yml) [![GloBI](https://api.globalbioticinteractions.org/interaction.svg?accordingTo=globi:globalbioticinteractions/knowledgepixels&refutes=true&refutes=false)](https://globalbioticinteractions.org/?accordingTo=globi:globalbioticinteractions/knowledgepixels)

Configuration to help Global Biotic Interactions (GloBI, https://globalbioticinteractions.org) index:

Species Interactions as published in nanopublications available through Biodiversity Data Journal and Knowledge Pixels.
3 changes: 3 additions & 0 deletions get-taxontaxon-nanopubs.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"np","label","subjtaxonname","rel","objtaxonname","source","date"
"http://purl.org/np/RAOgLBuvJRusIKPJyhXbx7sMI1aKj_AI0l1oG6XXsO4pU","Canis lupus Linnaeus, 1758 (species) - preys on - Bison bison (species)","https://www.checklistbank.org/dataset/9880/taxon/QLXL","http://purl.obolibrary.org/obo/RO_0002439","https://www.checklistbank.org/dataset/2169/taxon/9901","https://doi.org/10.1007/s10344-023-01676-0",2023-09-15T08:54:31.806Z
"http://purl.org/np/RALX2suiPKea3pm65RjS97EL6k9iY1Jew_mb30hO5Zjv0","Canis lupus Linnaeus, 1758 (species) - eats - Odocoileus virginianus (Zimmermann, 1780) (species)","https://www.checklistbank.org/dataset/9880/taxon/QLXL","http://purl.obolibrary.org/obo/RO_0002470","https://www.checklistbank.org/dataset/9880/taxon/48NBQ","https://doi.org/10.2307/3800561",2023-09-10T07:15:55.875Z
49 changes: 49 additions & 0 deletions globi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"@context" : [ "http://www.w3.org/ns/csvw", {
"@language" : "en"
} ],
"rdfs:comment" : [ "inspired by https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/" ],
"tables" : [ {
"@context" : [ "http://www.w3.org/ns/csvw", {
"@language" : "en"
} ],
"rdfs:comment" : [ "inspired by https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/" ],
"_url" : "file:///home/jorrit/proj/globi/data-new/knowledgepixels/get-taxontaxon-nanopubs.csv",
"url" : "https://grlc.knowledgepixels.com/api-git/knowledgepixels/bdj-nanopub-api/get-taxontaxon-nanopubs.csv",
"dcterms:bibliographicCitation" : "Species Interactions as published in nanopublications available through Biodiversity Data Journal and Knowledge Pixels.",
"delimiter" : ",",
"headerRowCount" : 1,
"null" : [ "" ],
"tableSchema" : {
"columns" : [ {
"name" : "referenceUrl",
"titles" : "np",
"datatype" : "string"
}, {
"name" : "referenceCitation",
"titles" : "label",
"datatype" : "string"
}, {
"name" : "sourceTaxonId",
"titles" : "subjtaxonname",
"datatype" : "string"
}, {
"name" : "interactionTypeId",
"titles" : "rel",
"datatype" : "string"
}, {
"name" : "targetTaxonId",
"titles" : "objtaxonname",
"datatype" : "string"
}, {
"name" : "referenceDoi",
"titles" : "source",
"datatype" : "string"
}, {
"name" : "date",
"titles" : "date",
"datatype" : "string"
} ]
}
} ]
}

0 comments on commit 56b09e4

Please sign in to comment.