@prefix this: . @prefix sub: . @prefix schema: . @prefix np: . @prefix nt: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix gen: . @prefix dct: . @prefix rdf: . @prefix npx: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { schema:about rdfs:label "has the topic" . rdfs:comment rdfs:label "has the description" . rdfs:label rdfs:label "has the name" . rdfs:subClassOf rdfs:label "is a subclass of - states that all instances of the class to the left are also instances of the class to the right" . gen:UseCase rdfs:label "use case" . gen:isUseCaseFor rdfs:label "is a use case for" . sub:description 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:name a nt:LiteralPlaceholder; rdfs:label "name of the use case" . sub:st01 rdf:object gen:UseCase; rdf:predicate rdfs:subClassOf; rdf:subject sub:useCase . sub:st02 rdf:object sub:entity; rdf:predicate gen:isUseCaseFor; rdf:subject sub:useCase . sub:st03 rdf:object sub:name; rdf:predicate rdfs:label; rdf:subject sub:useCase . sub:st04 a nt:OptionalStatement; rdf:object sub:description; rdf:predicate rdfs:comment; rdf:subject sub:useCase . sub:st05 a nt:OptionalStatement, nt:RepeatableStatement; rdf:object sub:topic; rdf:predicate schema:about; rdf:subject sub:useCase . sub:template a nt:AssertionTemplate; dct:description """

Declare a use case for a given Space or Maintained Resource, as a category (class) to which concrete examples can be attached later on. The use case gets a name, an optional description, and optional links to matching Wikidata concepts.

Concrete examples can afterwards be attached to the use case with the 'Providing an example for a use case' template.

"""; rdfs:label "Defining a use case for a resource"; nt:hasNanopubLabelPattern "Use case: ${name}"; nt:hasStatement sub:st01, sub:st02, sub:st03, sub:st04, sub:st05; nt:hasTargetNanopubType gen:UseCase . sub:topic a nt:GuidedChoicePlaceholder; rdfs:label "matching topic/concept on Wikidata (optional, repeatable)"; nt:possibleValuesFromApi "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" . sub:useCase a nt:IntroducedResource, nt:LocalResource, nt:UriPlaceholder; rdfs:label "short name for the use case, used as URI suffix" . } 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 "2026-07-30T10:51:19Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:template; npx:supersedes ; rdfs:label "Defining a use case for a resource"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "Yta+bDCh5Veu+LN8nSwDx+uIbVpEqJBriEt2KVIbf8FpdK0eYBYzmCSzuJKlYQDUaf5vNI3qj0id8PU2mlKTQb2sxuthEcNtk/l66b5p7D61GYVJsomzt2Lowg2U/RxLXDc/zaSBH99CWBBlrRv2F6BdnycLecf1CG/r0WNcUho="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }