@prefix this: <https://w3id.org/np/RAyZT6z0jKiQqwoQgEIqy4pgmIUhUh2qGgxC-RjRfGHyY> .
@prefix sub: <https://w3id.org/np/RAyZT6z0jKiQqwoQgEIqy4pgmIUhUh2qGgxC-RjRfGHyY/> .
@prefix gen: <https://w3id.org/kpxl/gen/terms/> .
@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/RAyZT6z0jKiQqwoQgEIqy4pgmIUhUh2qGgxC-RjRfGHyY> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dct:created "2026-06-03T14:13:56Z"^^xsd:dateTime;
  dct:creator orcid:0000-0002-1267-0234;
  dct:license <https://creativecommons.org/licenses/by/4.0/>;
  npx:hasNanopubType gen:isUseCaseFor;
  npx:supersedes <https://w3id.org/np/RAw73K5GmK3B9BCW2M1As2dByB-E8ySHukBqYKM9TAEUg>;
  rdfs:label "Describing a use case for a resource";
  nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
  nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>,
    <https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw>, <https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
  nt:wasCreatedFromTemplate <https://w3id.org/np/RASDwdz5WzsWdeDRREs0i5n5xTtKTrKS8pCIFUXhlkpt0> .

dct:subject rdfs:label "has the topic" .

rdfs:comment rdfs:label "has the description" .

rdfs:label rdfs:label "has the title" .

gen:isUseCaseFor rdfs:label "is a use case for" .

sub:assertion a nt:AssertionTemplate;
  dct:description "Declare an existing resource (identified by its URI — e.g. a Space, project, dataset, or any URI) as a use case for a given Space or Maintained Resource, with an optional title, description, and general topic.";
  rdfs:label "Describing a use case for a resource";
  nt:hasNanopubLabelPattern "${useCase} is a use case for ${entity}";
  nt:hasStatement sub:st01, sub:st02, sub:st03, sub:st04;
  nt:hasTargetNanopubType gen:isUseCaseFor;
  prov:wasAttributedTo orcid:0000-0002-1267-0234 .

sub:body a nt:LongLiteralPlaceholder;
  rdfs:label "description of the use case" .

sub:entity a nt:GuidedChoicePlaceholder;
  rdfs:label "the Space or Maintained Resource this is a use case for";
  nt:possibleValuesFromApi "https://w3id.org/np/l/nanopub-query-1.1/api/RAyMrQ89RECTi9gZK5q7gjL1wKTiP8StkLy0NIkkCiyew/find-things?type=https://w3id.org/kpxl/gen/terms/MaintainedResource",
    "https://w3id.org/np/l/nanopub-query-1.1/api/RAyMrQ89RECTi9gZK5q7gjL1wKTiP8StkLy0NIkkCiyew/find-things?type=https://w3id.org/kpxl/gen/terms/Space" .

sub:st01 rdf:object sub:entity;
  rdf:predicate gen:isUseCaseFor;
  rdf:subject sub:useCase .

sub:st02 a nt:OptionalStatement;
  rdf:object sub:title;
  rdf:predicate rdfs:label;
  rdf:subject sub:useCase .

sub:st03 a nt:OptionalStatement;
  rdf:object sub:body;
  rdf:predicate rdfs:comment;
  rdf:subject sub:useCase .

sub:st04 a nt:OptionalStatement;
  rdf:object sub:subject;
  rdf:predicate dct:subject;
  rdf:subject sub:useCase .

sub:subject a nt:GuidedChoicePlaceholder;
  rdfs:label "general topic/category (optional)";
  nt:possibleValuesFromApi "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .

sub:title a nt:LiteralPlaceholder;
  rdfs:label "title/label for the use case (optional)" .

sub:useCase a nt:ExternalUriPlaceholder;
  rdfs:label "the use case (an existing URI, e.g. a Space, project, or dataset)" .

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

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
  npx:hasSignature "RN9ROKmcnoRY+Lwdhp7kP1fBOSYNJZt+MHdXsOxqloALwAoPGK8+h+6ktbVSxsYAU0lSwtfxstt1ukryuan/C9X+z+v7v+U6A43b/ZJ1t3swxr41WnFfqY4Uy46sz4BzzfQD6rXikWratvLWTEI5Y09mLzNEUbB4SxM/8Zzr+1g=";
  npx:hasSignatureTarget <https://w3id.org/np/RAyZT6z0jKiQqwoQgEIqy4pgmIUhUh2qGgxC-RjRfGHyY>;
  npx:signedBy orcid:0000-0002-1267-0234 .

