Skip to content

Commit

Permalink
feat: exporting annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Aug 7, 2024
1 parent 8658634 commit cca158c
Show file tree
Hide file tree
Showing 18 changed files with 23,051 additions and 203 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

jobs:
export-annotations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- run: npm ci
- run: npm run export -- --output resources/data-sheets.nq
- run: npx talos print --base https://wikibus.org resources > resources.nq
- uses: actions/upload-artifact@v4
with:
path: resources
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17 # Jena4 requires Java 11+
- run: sudo apt-get update && sudo apt-get install -y raptor2-utils
- run: rapper -i nquads resources.nt -o turtle > report.ttl
- uses: actions/upload-artifact@v4
if: always()
with:
path: report.ttl
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
node_modules/
.env
resources/data-sheets.nq
resources.nq
report.nt
Loading

0 comments on commit cca158c

Please sign in to comment.