@prefix this: <https://w3id.org/np/RAjRmELsUfBm-Cmj8ZacwLIAqhkzJGGj6UnXQi8W2Pyps> .
@prefix sub: <https://w3id.org/np/RAjRmELsUfBm-Cmj8ZacwLIAqhkzJGGj6UnXQi8W2Pyps/> .
@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/> .
sub:Head {
  this: np:hasAssertion sub:assertion ;
    np:hasProvenance sub:provenance ;
    np:hasPublicationInfo sub:pubinfo ;
    a np:Nanopublication .
}
sub:assertion {
  <https://w3id.org/kpxl/gen/terms/hasPinGroupTag> rdfs:label "has the tag" .
  <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:hasNanopubLabelPattern "${space} has pinned template: ${template}" ;
    nt:hasStatement sub:st1 , sub:st2 ;
    nt:hasTag "Spaces" ;
    nt:hasTargetNanopubType <https://w3id.org/kpxl/gen/terms/hasPinnedTemplate> .
  sub:space a nt:GuidedChoicePlaceholder ;
    rdfs:label "choose the Space" ;
    nt:possibleValuesFromApi "https://w3id.org/np/l/nanopub-query-1.1/api/RAyMrQ89RECTi9gZK5q7gjL1wKTiP8StkLy0NIkkCiyew/find-things?type=https://w3id.org/kpxl/gen/terms/Space" .
  sub:st1 rdf:object sub:template ;
    rdf:predicate <https://w3id.org/kpxl/gen/terms/hasPinnedTemplate> ;
    rdf:subject sub:space .
  sub:st2 rdf:object sub:tag ;
    rdf:predicate <https://w3id.org/kpxl/gen/terms/hasPinGroupTag> ;
    rdf:subject sub:template ;
    a nt:OptionalStatement .
  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/RARD6qOGIXUvfxmf5CQNEDxPqlTVCqeLdWeSg5h8tUcEA/search-templates?query=" .
}
sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}
sub:pubinfo {
  orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .
  this: dct:created "2025-09-12T21:06:11.241+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/RAsHypCSdNPTw8eOeA4mw-0-tAPJ0F-s8Q7DNIxscCRe4> ;
    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> .
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" ;
    npx:hasSignature "J1daA1zyExWDkh0D01gU9oJRHESd4irGrFfwcZMq3r/s9l6xb0BUl5oMEZ/RqxJwKqB/Gg3UAyr62Pdo9bYc/brojOlgn1q9oUJd+E675pqP/Aewq6GTb0rEOoXaGwwZ7f5iR8EQfuUCq09W0Ylgx+/FBf4fCvsThcRtTTzc43w=" ;
    npx:hasSignatureTarget this: ;
    npx:signedBy orcid:0000-0002-1267-0234 .
}