- configure special buttons: DOI, ORCID, Download url, homepage - new orcid logo content pointer - change all config URIs to CURIEs - update id_autogenerate option to make use of string serialization - add service_fetch_before classes - add priority_classes option to allow the 'search all' functionality - add backlink viewer configuration - configure DOIImportWizard, add template, show for publications at class-level - configure DepictionUploadWizard, add template, show for persons at record-level
30 lines
1.5 KiB
Turtle
30 lines
1.5 KiB
Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .
|
|
@prefix dcterms: <http://purl.org/dc/terms/> .
|
|
@prefix dldi: <https://pid.datalad.org/distributions/> .
|
|
@prefix dlthings: <https://concepts.datalad.org/s/things/v2/> .
|
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
@prefix spdx: <http://spdx.org/rdf/terms#> .
|
|
@prefix trr379: <https://trr379.de/ns/> .
|
|
@prefix trr379ri: <https://concepts.trr379.de/s/research-information/unreleased/> .
|
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
|
|
{% set depictionId = _randomUUID() -%}
|
|
{% set depictionURI = "https://trr379.de/ns/depictions/" + depictionId -%}
|
|
dldi:{{ file.annexKey }} a trr379ri:TRR379File;
|
|
skos:prefLabel {{ file.name | ttl }}^^xsd:string;
|
|
dlthings:distribution_of <{{ depictionURI }}>;
|
|
dlthings:byte_size {{ file.size | ttl }}^^xsd:nonNegativeInteger;
|
|
dlthings:characterized_by _:n0-1.
|
|
_:n0-1 a dlthings:Statement;
|
|
rdf:object <{{ file.downloadUrl }}>;
|
|
rdf:predicate dcat:downloadUrl.
|
|
dldi:{{ file.annexKey }} dlthings:checksums _:n0-2.
|
|
_:n0-2 a dlthings:Checksum;
|
|
skos:notation {{ file.hash | ttl }}^^xsd:hexBinary;
|
|
dcterms:creator spdx:checksumAlgorithm_sha256.
|
|
<{{ depictionURI }}> a trr379ri:TRR379Depiction;
|
|
dcterms:subject <{{ pid }}>;
|
|
dcterms:type <https://trr379.de/ns/depiction-types/e9a34f7d-d05e-4591-bb45-f8a0c499e07b>;
|
|
dlthings:distributions dldi:{{ file.annexKey }}.
|
|
<{{ pid }}> dlthings:depiction <{{ depictionURI }}>. |