@prefix this: <https://w3id.org/np/RATSFK0mjmwU1zAlfCXF1rrzZ9CZMbfG7KeQf0ec4OJ-c> .
@prefix sub: <https://w3id.org/np/RATSFK0mjmwU1zAlfCXF1rrzZ9CZMbfG7KeQf0ec4OJ-c/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<https://w3id.org/np/RATSFK0mjmwU1zAlfCXF1rrzZ9CZMbfG7KeQf0ec4OJ-c> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dct:created "2025-09-11T19:07:58.251+02:00"^^xsd:dateTime;
  dct:creator orcid:0000-0002-1267-0234;
  dct:license <https://creativecommons.org/licenses/by/4.0/>;
  npx:supersedes <https://w3id.org/np/RAEs7SxdF7FHIZdkEXvSNpLZq4mHqAK6-Sda2Yz4fW678>;
  npx:wasCreatedAt <http://localhost:37373/>;
  rdfs:label "Declare a pinned template for a Space";
  nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
  nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw>,
    <https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw>, <https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
  nt:wasCreatedFromTemplate <https://w3id.org/np/RA1XuAdO6LOtlPJgWiytJHFuK4BFHjQK5x7d9FVymzFnc> .

<https://w3id.org/kpxl/gen/terms/hasPinnedTemplate> rdfs:label "has the pinned template" .

sub:assertion a nt:AssertionTemplate;
  rdfs:label "Declare a pinned template for a Space";
  nt:hasStatement sub:st1, sub:st2;
  nt:hasTargetNanopubType <https://w3id.org/kpxl/gen/terms/hasPinnedTemplate>;
  prov:wasAttributedTo orcid:0000-0002-1267-0234 .

sub:space a nt:GuidedChoicePlaceholder;
  rdfs:label "choose the Space";
  nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=https://w3id.org/kpxl/gen/terms/Space&searchterm=" .

sub:st1 rdf:object sub:template;
  rdf:predicate <https://w3id.org/kpxl/gen/terms/hasPinnedTemplate>;
  rdf:subject sub:space .

sub:st2 a nt:OptionalStatement;
  rdf:object sub:tag;
  rdf:predicate nt:hasTag;
  rdf:subject sub:template .

sub:tag a nt:LiteralPlaceholder;
  rdfs:label "the tag, used as title of common template group" .

sub:template a nt:GuidedChoicePlaceholder;
  rdfs:label "choose the template";
  nt:possibleValuesFromApi "https://w3id.org/np/l/nanopub-query-1.1/api/RApQ6uJv9dowxX6Gz9Vrx3TF29oF04XNQZiXRj4W-lnzo/search-templates?query=" .

nt:hasTag rdfs:label "has the tag" .

orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
  npx:hasSignature "UBo6uq82lZqjm723bFEcOC6LGbCAxy4lOumZ0q09GO9LavHN5nq/pSHblYuKubnZY64ykc6Vkl5D/MJ4Zpiv2/pBLOHSjsChwTFxWuBiHUpYHS4NKRvgRBPenm40RdFvxzKF/HZ79eNu+zD9PCM4WEi90KOfzKbNwzJpRT2Ptz8=";
  npx:hasSignatureTarget <https://w3id.org/np/RATSFK0mjmwU1zAlfCXF1rrzZ9CZMbfG7KeQf0ec4OJ-c>;
  npx:signedBy orcid:0000-0002-1267-0234 .

