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 \
|
gen-owl \
|
||||||
-f owl \
|
-f owl \
|
||||||
--mergeimports \
|
--mergeimports \
|
||||||
|
--consolidate-cardinality-axioms \
|
||||||
|
--skip-vacuous-min-zero-cardinality-axiom \
|
||||||
|
--skip-vacuous-local-range-axioms \
|
||||||
$< > $@.owl.ttl && \
|
$< > $@.owl.ttl && \
|
||||||
gen-jsonld-context \
|
gen-jsonld-context \
|
||||||
--mergeimports \
|
--mergeimports \
|
||||||
|
|
@ -159,7 +162,6 @@ checkmodel/%: src/%.yaml
|
||||||
@linkml-lint \
|
@linkml-lint \
|
||||||
--config .linkmllint.yaml \
|
--config .linkmllint.yaml \
|
||||||
--max-warnings 0 \
|
--max-warnings 0 \
|
||||||
--validate \
|
|
||||||
$<
|
$<
|
||||||
schema="$<"; if [ "$${schema##*-mixin}" = "$<" ]; then $(MAKE) checkmodel-outputs/$*; else echo "Skipping mixin output tests"; fi
|
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
|
@echo Generate JSON schema
|
||||||
@${FAILIF_STDERR} gen-json-schema $< > /dev/null
|
@${FAILIF_STDERR} gen-json-schema $< > /dev/null
|
||||||
@echo Generate OWL
|
@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
|
@echo Generate Python classes
|
||||||
@${FAILIF_STDERR} grep -q '^classes:' $< && ( gen-python $< | python ) || true
|
@${FAILIF_STDERR} grep -q '^classes:' $< && ( gen-python $< | python ) || true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ classifiers = [
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
"Programming Language :: Python :: Implementation :: PyPy",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"linkml >= 1.10",
|
"linkml >= 1.11",
|
||||||
"dump-things-service",
|
"dump-things-service",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ license: MIT
|
||||||
prefixes:
|
prefixes:
|
||||||
dcterms: http://purl.org/dc/terms/
|
dcterms: http://purl.org/dc/terms/
|
||||||
dlcommonmx: https://concepts.datalad.org/s/common-mixin/unreleased/
|
dlcommonmx: https://concepts.datalad.org/s/common-mixin/unreleased/
|
||||||
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
dlstudymx: https://concepts.datalad.org/s/study-mixin/unreleased/
|
dlstudymx: https://concepts.datalad.org/s/study-mixin/unreleased/
|
||||||
dlthings: https://concepts.datalad.org/s/things/v1/
|
dlthings: https://concepts.datalad.org/s/things/v1/
|
||||||
dltypes: https://concepts.datalad.org/s/types/v1/
|
dltypes: https://concepts.datalad.org/s/types/v1/
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ prefixes:
|
||||||
dlschemas: https://concepts.datalad.org/s/
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
||||||
eunal: http://publications.europa.eu/resource/authority/
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
ex: http://example.org/
|
||||||
fabio: http://purl.org/spar/fabio/
|
fabio: http://purl.org/spar/fabio/
|
||||||
foaf: http://xmlns.com/foaf/0.1/
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
linkml: https://w3id.org/linkml/
|
linkml: https://w3id.org/linkml/
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ prefixes:
|
||||||
dlschemas: https://concepts.datalad.org/s/
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
dlthings: https://concepts.datalad.org/s/things/v2/
|
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||||
eunal: http://publications.europa.eu/resource/authority/
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
ex: http://example.org/
|
||||||
fabio: http://purl.org/spar/fabio/
|
fabio: http://purl.org/spar/fabio/
|
||||||
foaf: http://xmlns.com/foaf/0.1/
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
linkml: https://w3id.org/linkml/
|
linkml: https://w3id.org/linkml/
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ prefixes:
|
||||||
dlschemas: https://concepts.datalad.org/s/
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
||||||
eunal: http://publications.europa.eu/resource/authority/
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
ex: http://example.org/
|
||||||
fabio: http://purl.org/spar/fabio/
|
fabio: http://purl.org/spar/fabio/
|
||||||
foaf: http://xmlns.com/foaf/0.1/
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
linkml: https://w3id.org/linkml/
|
linkml: https://w3id.org/linkml/
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ prefixes:
|
||||||
dlschemas: https://concepts.datalad.org/s/
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
dlthings: https://concepts.datalad.org/s/things/v2/
|
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||||
eunal: http://publications.europa.eu/resource/authority/
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
ex: http://example.org/
|
||||||
fabio: http://purl.org/spar/fabio/
|
fabio: http://purl.org/spar/fabio/
|
||||||
foaf: http://xmlns.com/foaf/0.1/
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
linkml: https://w3id.org/linkml/
|
linkml: https://w3id.org/linkml/
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ prefixes:
|
||||||
dlschemas: https://concepts.datalad.org/s/
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
||||||
eunal: http://publications.europa.eu/resource/authority/
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
ex: http://example.org/
|
||||||
foaf: http://xmlns.com/foaf/0.1/
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
FRAPO: http://purl.org/cerif/frapo/
|
FRAPO: http://purl.org/cerif/frapo/
|
||||||
linkml: https://w3id.org/linkml/
|
linkml: https://w3id.org/linkml/
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ prefixes:
|
||||||
dlschemas: https://concepts.datalad.org/s/
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
dlthings: https://concepts.datalad.org/s/things/v2/
|
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||||
eunal: http://publications.europa.eu/resource/authority/
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
ex: http://example.org/
|
||||||
foaf: http://xmlns.com/foaf/0.1/
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
FRAPO: http://purl.org/cerif/frapo/
|
FRAPO: http://purl.org/cerif/frapo/
|
||||||
linkml: https://w3id.org/linkml/
|
linkml: https://w3id.org/linkml/
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"pid": "https://doi.org/10.21105/joss.03262",
|
"pid": "https://doi.org/10.21105/joss.03262",
|
||||||
"relations": {
|
"relations": {
|
||||||
"ISSN:2475-9066": {
|
"http://identifiers.org/issn/2475-9066": {
|
||||||
"pid": "ISSN:2475-9066",
|
"pid": "http://identifiers.org/issn/2475-9066",
|
||||||
"attributes": [
|
"attributes": [
|
||||||
{
|
{
|
||||||
"predicate": "ex:title",
|
"predicate": "ex:title",
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
pid: https://doi.org/10.21105/joss.03262
|
pid: https://doi.org/10.21105/joss.03262
|
||||||
relations:
|
relations:
|
||||||
# the containing journal
|
# the containing journal
|
||||||
ISSN:2475-9066:
|
http://identifiers.org/issn/2475-9066:
|
||||||
# inlined information
|
# inlined information
|
||||||
attributes:
|
attributes:
|
||||||
- predicate: ex:title
|
- predicate: ex:title
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"pid": "https://doi.org/10.1038/s41597-022-01163-2",
|
"pid": "https://doi.org/10.1038/s41597-022-01163-2",
|
||||||
"relations": {
|
"relations": {
|
||||||
"ISSN:2052-4463": {
|
"http://identifiers.org/issn/2052-4463": {
|
||||||
"pid": "ISSN:2052-4463",
|
"pid": "http://identifiers.org/issn/2052-4463",
|
||||||
"attributes": [
|
"attributes": [
|
||||||
{
|
{
|
||||||
"predicate": "ex:title",
|
"predicate": "ex:title",
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
},
|
},
|
||||||
"characterized_by": [
|
"characterized_by": [
|
||||||
{
|
{
|
||||||
"object": "ISSN:2052-4463",
|
"object": "http://identifiers.org/issn/2052-4463",
|
||||||
"predicate": "ex:isPartOf"
|
"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)."
|
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:
|
relations:
|
||||||
# the containing journal with some information on it
|
# the containing journal with some information on it
|
||||||
ISSN:2052-4463:
|
http://identifiers.org/issn/2052-4463:
|
||||||
exact_mappings:
|
exact_mappings:
|
||||||
- bibo:Journal
|
- bibo:Journal
|
||||||
attributes:
|
attributes:
|
||||||
|
|
@ -59,7 +59,7 @@ attributes:
|
||||||
characterized_by:
|
characterized_by:
|
||||||
# containing journal
|
# containing journal
|
||||||
- predicate: ex:isPartOf
|
- predicate: ex:isPartOf
|
||||||
object: ISSN:2052-4463
|
object: http://identifiers.org/issn/2052-4463
|
||||||
# related topics
|
# related topics
|
||||||
- predicate: ex:subject
|
- predicate: ex:subject
|
||||||
object: https://www.nature.com/subjects/data-processing
|
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
|
# 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
|
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
|
# 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
|
# 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
|
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
|
# 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
|
# 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
|
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
|
# 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