Linkml 1.11 #553
14 changed files with 24 additions and 13 deletions
6
Makefile
6
Makefile
|
|
@ -82,6 +82,9 @@ build/linkml-docs/s/%: src/%.yaml src/%/extra-docs
|
|||
gen-owl \
|
||||
-f owl \
|
||||
--mergeimports \
|
||||
--consolidate-cardinality-axioms \
|
||||
--skip-vacuous-min-zero-cardinality-axiom \
|
||||
--skip-vacuous-local-range-axioms \
|
||||
$< > $@.owl.ttl && \
|
||||
gen-jsonld-context \
|
||||
--mergeimports \
|
||||
|
|
@ -159,7 +162,6 @@ checkmodel/%: src/%.yaml
|
|||
@linkml-lint \
|
||||
--config .linkmllint.yaml \
|
||||
--max-warnings 0 \
|
||||
--validate \
|
||||
$<
|
||||
schema="$<"; if [ "$${schema##*-mixin}" = "$<" ]; then $(MAKE) checkmodel-outputs/$*; else echo "Skipping mixin output tests"; fi
|
||||
|
||||
|
|
@ -175,7 +177,7 @@ checkmodel-outputs/%: src/%.yaml
|
|||
@echo Generate JSON schema
|
||||
@${FAILIF_STDERR} gen-json-schema $< > /dev/null
|
||||
@echo Generate OWL
|
||||
@${FAILIF_STDERR} gen-owl $< > /dev/null
|
||||
@${FAILIF_STDERR} gen-owl --consolidate-cardinality-axioms --skip-vacuous-min-zero-cardinality-axioms --skip-vacuous-local-range-axioms $< > /dev/null
|
||||
@echo Generate Python classes
|
||||
@${FAILIF_STDERR} grep -q '^classes:' $< && ( gen-python $< | python ) || true
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ classifiers = [
|
|||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
]
|
||||
dependencies = [
|
||||
"linkml >= 1.10",
|
||||
"linkml >= 1.11",
|
||||
"dump-things-service",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ license: MIT
|
|||
prefixes:
|
||||
dcterms: http://purl.org/dc/terms/
|
||||
dlcommonmx: https://concepts.datalad.org/s/common-mixin/unreleased/
|
||||
dlschemas: https://concepts.datalad.org/s/
|
||||
dlstudymx: https://concepts.datalad.org/s/study-mixin/unreleased/
|
||||
dlthings: https://concepts.datalad.org/s/things/v1/
|
||||
dltypes: https://concepts.datalad.org/s/types/v1/
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ prefixes:
|
|||
dlschemas: https://concepts.datalad.org/s/
|
||||
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
||||
eunal: http://publications.europa.eu/resource/authority/
|
||||
ex: http://example.org/
|
||||
fabio: http://purl.org/spar/fabio/
|
||||
foaf: http://xmlns.com/foaf/0.1/
|
||||
linkml: https://w3id.org/linkml/
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ prefixes:
|
|||
dlschemas: https://concepts.datalad.org/s/
|
||||
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||
eunal: http://publications.europa.eu/resource/authority/
|
||||
ex: http://example.org/
|
||||
fabio: http://purl.org/spar/fabio/
|
||||
foaf: http://xmlns.com/foaf/0.1/
|
||||
linkml: https://w3id.org/linkml/
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ prefixes:
|
|||
dlschemas: https://concepts.datalad.org/s/
|
||||
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
||||
eunal: http://publications.europa.eu/resource/authority/
|
||||
ex: http://example.org/
|
||||
fabio: http://purl.org/spar/fabio/
|
||||
foaf: http://xmlns.com/foaf/0.1/
|
||||
linkml: https://w3id.org/linkml/
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ prefixes:
|
|||
dlschemas: https://concepts.datalad.org/s/
|
||||
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||
eunal: http://publications.europa.eu/resource/authority/
|
||||
ex: http://example.org/
|
||||
fabio: http://purl.org/spar/fabio/
|
||||
foaf: http://xmlns.com/foaf/0.1/
|
||||
linkml: https://w3id.org/linkml/
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ prefixes:
|
|||
dlschemas: https://concepts.datalad.org/s/
|
||||
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
||||
eunal: http://publications.europa.eu/resource/authority/
|
||||
ex: http://example.org/
|
||||
foaf: http://xmlns.com/foaf/0.1/
|
||||
FRAPO: http://purl.org/cerif/frapo/
|
||||
linkml: https://w3id.org/linkml/
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ prefixes:
|
|||
dlschemas: https://concepts.datalad.org/s/
|
||||
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||
eunal: http://publications.europa.eu/resource/authority/
|
||||
ex: http://example.org/
|
||||
foaf: http://xmlns.com/foaf/0.1/
|
||||
FRAPO: http://purl.org/cerif/frapo/
|
||||
linkml: https://w3id.org/linkml/
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"pid": "https://doi.org/10.21105/joss.03262",
|
||||
"relations": {
|
||||
"ISSN:2475-9066": {
|
||||
"pid": "ISSN:2475-9066",
|
||||
"http://identifiers.org/issn/2475-9066": {
|
||||
"pid": "http://identifiers.org/issn/2475-9066",
|
||||
"attributes": [
|
||||
{
|
||||
"predicate": "ex:title",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
pid: https://doi.org/10.21105/joss.03262
|
||||
relations:
|
||||
# the containing journal
|
||||
ISSN:2475-9066:
|
||||
http://identifiers.org/issn/2475-9066:
|
||||
# inlined information
|
||||
attributes:
|
||||
- predicate: ex:title
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"pid": "https://doi.org/10.1038/s41597-022-01163-2",
|
||||
"relations": {
|
||||
"ISSN:2052-4463": {
|
||||
"pid": "ISSN:2052-4463",
|
||||
"http://identifiers.org/issn/2052-4463": {
|
||||
"pid": "http://identifiers.org/issn/2052-4463",
|
||||
"attributes": [
|
||||
{
|
||||
"predicate": "ex:title",
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
},
|
||||
"characterized_by": [
|
||||
{
|
||||
"object": "ISSN:2052-4463",
|
||||
"object": "http://identifiers.org/issn/2052-4463",
|
||||
"predicate": "ex:isPartOf"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ exact_mappings:
|
|||
description: "Large-scale datasets present unique opportunities to perform scientific investigations with unprecedented breadth. However, they also pose considerable challenges for the findability, accessibility, interoperability, and reusability (FAIR) of research outcomes due to infrastructure limitations, data usage constraints, or software license restrictions. Here we introduce a DataLad-based, domain-agnostic framework suitable for reproducible data processing in compliance with open science mandates. The framework attempts to minimize platform idiosyncrasies and performance-related complexities. It affords the capture of machine-actionable computational provenance records that can be used to retrace and verify the origins of research outcomes, as well as be re-executed independent of the original computing infrastructure. We demonstrate the framework’s performance using two showcases: one highlighting data sharing and transparency (using the studyforrest.org dataset) and another highlighting scalability (using the largest public brain imaging dataset available: the UK Biobank dataset)."
|
||||
relations:
|
||||
# the containing journal with some information on it
|
||||
ISSN:2052-4463:
|
||||
http://identifiers.org/issn/2052-4463:
|
||||
exact_mappings:
|
||||
- bibo:Journal
|
||||
attributes:
|
||||
|
|
@ -59,7 +59,7 @@ attributes:
|
|||
characterized_by:
|
||||
# containing journal
|
||||
- predicate: ex:isPartOf
|
||||
object: ISSN:2052-4463
|
||||
object: http://identifiers.org/issn/2052-4463
|
||||
# related topics
|
||||
- predicate: ex:subject
|
||||
object: https://www.nature.com/subjects/data-processing
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ patch -d $(python -c 'import os; import linkml.generators.shaclgen as m; print(o
|
|||
# Honor type-designator slots when loading graphs
|
||||
patch -d $(python -c 'import os; import linkml_runtime.loaders as m; print(os.path.dirname(m.__file__))') < patches/rdflib_loader_typedesignator.diff
|
||||
# Use correct constructor arguments when normalizing inlined objects
|
||||
patch -d $(python -c 'import os; import linkml_runtime.utils.yamlutils as m; print(os.path.dirname(m.__file__))') < patches/linkml_runtime_utils_yamlutils.diff
|
||||
# An equivalent change is included in LinkML 1.11.1
|
||||
#patch -d $(python -c 'import os; import linkml_runtime.utils.yamlutils as m; print(os.path.dirname(m.__file__))') < patches/linkml_runtime_utils_yamlutils.diff
|
||||
# Use `&` to separate multiple interfaces in graphql schemas
|
||||
patch -d $(python -c 'import os; import linkml.generators.graphqlgen as m; print(os.path.dirname(m.__file__))') < patches/graphqlgen_interface_list.diff
|
||||
# Do not emit python/rdflib upper case namespaces in `ifabsent`-default values
|
||||
|
|
@ -17,4 +18,5 @@ patch -d $(python -c 'import os; import linkml.generators.common.ifabsent_proces
|
|||
# Support explicit type clauses with schema defined types when loading ttl
|
||||
patch -d $(python -c 'import os; import linkml_runtime.loaders as m; print(os.path.dirname(m.__file__))') < patches/rdflib_loader_custom_types.diff
|
||||
# Order type expressions that are emitted by gen-python correctly
|
||||
patch -d $(python -c 'import os; import linkml.generators.pythongen as m; print(os.path.dirname(m.__file__))') < patches/pythongen_type_reference_order.diff
|
||||
# LinkML 1.11.1 has the patched function reimplemented, docs suggest the patched issue is addressed
|
||||
#patch -d $(python -c 'import os; import linkml.generators.pythongen as m; print(os.path.dirname(m.__file__))') < patches/pythongen_type_reference_order.diff
|
||||
|
|
|
|||
Loading…
Reference in a new issue