feat: declare scoro: for http://purl.org/spar/scoro #547
7 changed files with 16 additions and 6 deletions
3
.github/workflows/model-checks.yml
vendored
3
.github/workflows/model-checks.yml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
|||
- main
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
PYTHONWARNINGS: ignore
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
3
.github/workflows/sitebuild.yml
vendored
3
.github/workflows/sitebuild.yml
vendored
|
|
@ -14,6 +14,9 @@ concurrency:
|
|||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
env:
|
||||
PYTHONWARNINGS: ignore
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
3
.github/workflows/validate-examples.yaml
vendored
3
.github/workflows/validate-examples.yaml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
|||
- main
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
PYTHONWARNINGS: ignore
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
8
Makefile
8
Makefile
|
|
@ -280,13 +280,13 @@ convertexamples/%: src/%.yaml src/%/examples
|
|||
[ "$$ex" = "$<" ] && continue; \
|
||||
echo "Converting $$ex" ; \
|
||||
for outf in json rdf; do \
|
||||
linkml-convert \
|
||||
-s "$<" \
|
||||
( cd $$(dirname "$<"); linkml-convert \
|
||||
-s "$$(basename "$<")" \
|
||||
--target-class-from-path \
|
||||
--infer \
|
||||
-t "$$outf" \
|
||||
"$$ex" \
|
||||
> $${ex%.yaml}.$${outf}.tmp && \
|
||||
../../"$$ex" \
|
||||
) > $${ex%.yaml}.$${outf}.tmp && \
|
||||
mv $${ex%.yaml}.$${outf}.tmp $${ex%.yaml}.$${outf} ; \
|
||||
done \
|
||||
done
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ index bcf13d0f..feb5b7bc 100644
|
|||
import os
|
||||
import re
|
||||
+from collections import defaultdict
|
||||
from collections.abc import Iterator
|
||||
from collections.abc import Callable, Iterator
|
||||
from copy import copy
|
||||
from dataclasses import dataclass
|
||||
+from graphlib import TopologicalSorter
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ classifiers = [
|
|||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
]
|
||||
dependencies = [
|
||||
"linkml",
|
||||
"linkml >= 1.10",
|
||||
"dump-things-service",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ prefixes:
|
|||
CiTO: http://purl.org/spar/cito/
|
||||
ISSN: http://identifiers.org/issn/
|
||||
ODRL: http://www.w3.org/ns/odrl/2/
|
||||
SCoRO: http://purl.org/spar/scoro/
|
||||
bibo: http://purl.org/ontology/bibo/
|
||||
# TODO preliminary definition, pointing to a future resolver
|
||||
datalad: https://pid.datalad.org/datasets/
|
||||
|
|
|
|||
Loading…
Reference in a new issue