- 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
49 lines
1.6 KiB
Turtle
49 lines
1.6 KiB
Turtle
@prefix trr379: <https://trr379.de/ns/> .
|
|
@prefix trr379ri: <https://concepts.trr379.de/s/research-information/unreleased/> .
|
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
|
|
@prefix dlthings: <https://concepts.datalad.org/s/things/v2/>.
|
|
@prefix obo: <http://purl.obolibrary.org/obo/>.
|
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
|
|
@prefix sio: <http://semanticscience.org/resource/>.
|
|
@prefix dcterms: <http://purl.org/dc/terms/>.
|
|
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
|
|
@prefix orcid: <https://orcid.org/>.
|
|
|
|
{% set pubId = _randomUUID() -%}
|
|
{% set pubURI = "https://trr379.de/ns/publications/" + pubId -%}
|
|
<{{ pubURI }}> a trr379ri:TRR379Publication .
|
|
{% if title -%}
|
|
<{{ pubURI }}> dlthings:title {{ title | ttl }} .
|
|
{%- endif %}
|
|
{% if abstract -%}
|
|
<{{ pubURI }}> dcterms:description {{ abstract | ttl }} .
|
|
{%- endif %}
|
|
|
|
{% if doi %}
|
|
<{{ pubURI }}> dcterms:identifier _:doiNode .
|
|
_:doiNode a dlthings:DOI ;
|
|
skos:notation {{ doi | ttl }} .
|
|
{% endif %}
|
|
|
|
{% for author in authors -%}
|
|
{% if author.pid %}
|
|
{% set personURI = author.pid -%}
|
|
{% else -%}
|
|
{% set personId = _randomUUID() -%}
|
|
{% set personURI = "https://trr379.de/ns/persons/" + personId -%}
|
|
<{{ personURI }}> a trr379ri:TRR379Person .
|
|
{% if author.given_name -%}
|
|
<{{ personURI }}> dlthings:given_name {{ author.given_name | ttl }} .
|
|
{%- endif %}
|
|
|
|
{% if author.family_name -%}
|
|
<{{ personURI }}> dlthings:family_name {{ author.family_name | ttl }} .
|
|
{%- endif %}
|
|
{% endif %}
|
|
|
|
<{{ pubURI }}> dlthings:attributed_to _:attr{{ loop.index }} .
|
|
_:attr{{ loop.index }} a dlthings:Attribution ;
|
|
rdf:object <{{ personURI }}> ;
|
|
dlthings:roles <{{ author.role }}> .
|
|
|
|
{% endfor -%} |