diff options
author | Pjotr Prins | 2020-11-07 10:06:30 +0000 |
---|---|---|
committer | Pjotr Prins | 2020-11-07 10:06:30 +0000 |
commit | 9709eca5c76aabe823ba34d976c5d11a9d150b76 (patch) | |
tree | 8a56681d53d2959b2fc879f8471edcd3eed70e69 /bh20sequploader | |
parent | 9887e427d4e0beb29af14e554a3508126f0d505a (diff) | |
download | bh20-seq-resource-9709eca5c76aabe823ba34d976c5d11a9d150b76.tar.gz bh20-seq-resource-9709eca5c76aabe823ba34d976c5d11a9d150b76.tar.lz bh20-seq-resource-9709eca5c76aabe823ba34d976c5d11a9d150b76.zip |
RDF: use URIs
Diffstat (limited to 'bh20sequploader')
-rw-r--r-- | bh20sequploader/bh20seq-schema.yml | 8 | ||||
-rw-r--r-- | bh20sequploader/bh20seq-shex.rdf | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml index 861a5ca..645be5e 100644 --- a/bh20sequploader/bh20seq-schema.yml +++ b/bh20sequploader/bh20seq-schema.yml @@ -1,6 +1,6 @@ $base: http://biohackathon.org/bh20-seq-schema $namespaces: - cc: http://creativecommons.org/ns# + cc: https://creativecommons.org/ns# dc: http://purl.org/metadata/dublin_core_elements# sch: https://schema.org/ efo: http://www.ebi.ac.uk/efo/ @@ -19,6 +19,8 @@ $graph: type: string jsonldPredicate: _id: https://creativecommons.org/ns#License + _type: "@id" + noLinkCheck: true title: doc: Attribution title related to data license type: string? @@ -34,11 +36,15 @@ $graph: type: string? jsonldPredicate: _id: https://creativecommons.org/ns#attributionURL + _type: "@id" + noLinkCheck: true attribution_source: doc: Attribution source URL related to data license type: string? jsonldPredicate: _id: https://creativecommons.org/ns#attributionSource + _type: "@id" + noLinkCheck: true - name: hostSchema type: record diff --git a/bh20sequploader/bh20seq-shex.rdf b/bh20sequploader/bh20seq-shex.rdf index fa765dd..1b15c58 100644 --- a/bh20sequploader/bh20seq-shex.rdf +++ b/bh20sequploader/bh20seq-shex.rdf @@ -2,6 +2,7 @@ PREFIX : <https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh2 PREFIX MainSchema: <http://biohackathon.org/bh20-seq-schema#MainSchema/> PREFIX hostSchema: <http://biohackathon.org/bh20-seq-schema#hostSchema/> PREFIX cc: <https://creativecommons.org/ns#> +PREFIX cclicenses: <https://creativecommons.org/licenses/> PREFIX dc: <http://purl.org/metadata/dublin_core_elements#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX obo: <http://purl.obolibrary.org/obo/> @@ -71,9 +72,9 @@ PREFIX wikidata: <http://www.wikidata.org/entity/> } :licenseShape{ - cc:License xsd:string ; + cc:License [ cclicenses:~ ] ; dc:Title xsd:string ?; cc:attributionName xsd:string ?; - cc:attributionURL xsd:string ?; + cc:attributionURL /^http/ ; cc:attributionSource xsd:string ?; } |