@prefix this: <https://w3id.org/np/RAWcbb3lRQZNYrCYo1uUfxHF1p6apBUW9hTeJRoHrqYZQ> .
@prefix sub: <https://w3id.org/np/RAWcbb3lRQZNYrCYo1uUfxHF1p6apBUW9hTeJRoHrqYZQ#> .
@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 ns1: <http://purl.org/np/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<https://w3id.org/np/RAWcbb3lRQZNYrCYo1uUfxHF1p6apBUW9hTeJRoHrqYZQ> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dct:created "2024-09-27T07:14:43.931Z"^^xsd:dateTime;
  dct:creator orcid:0000-0002-1267-0234;
  dct:license <https://creativecommons.org/licenses/by/4.0/>;
  npx:supersedes <https://w3id.org/np/RAbW3o0fw1Rrp2Gi-N1y5d2bq7SI461QhAnTGZRdEoW_w>;
  npx:wasCreatedAt <https://nanodash.knowledgepixels.com/>;
  rdfs:label "Template: Assigning an individual to a class";
  nt:wasCreatedFromProvenanceTemplate ns1:RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM;
  nt:wasCreatedFromPubinfoTemplate ns1:RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM,
    ns1:RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90, ns1:RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI;
  nt:wasCreatedFromTemplate <https://w3id.org/np/RALtjkZX1lYrTL2eCZp4VTW6vGGxiDZ-aaU-s1Z0Fcs2I> .

rdf:type rdfs:label "is a - asserts that the thing on the left belongs to the class on the right" .

sub:assertion a nt:AssertionTemplate;
  dct:description "Such a nanopublication assigns an individual to a class.";
  rdfs:label "Assigning an individual to a class";
  nt:hasNanopubLabelPattern "${individual} is a ${class}";
  nt:hasStatement sub:st0;
  nt:hasTag "General";
  prov:wasAttributedTo orcid:0000-0002-1267-0234 .

sub:class a nt:GuidedChoicePlaceholder;
  rdfs:label "the URI of the class";
  nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23Class&searchterm=",
    "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .

sub:individual a nt:GuidedChoicePlaceholder;
  rdfs:label "the URI of the individual";
  nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23NamedIndividual&searchterm=",
    "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .

sub:st0 rdf:object sub:class;
  rdf:predicate rdf:type;
  rdf:subject sub:individual .

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

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB";
  npx:hasSignature "6PIOK8zWzqdj/R1DUxRij9kuhXkhj0bYsokrMosdB1ycCgGgvp7z9kM3FBfXxx+N8z16ZHKXJSkQAMn8gK/ZuVwBfe/XCKso4r96kt225aCjTWLYNMMcOMIfF4os/DKiyQOFdyEQhwubZVaA4uZplbNVdexT67Pc59241uKHlmk=";
  npx:hasSignatureTarget <https://w3id.org/np/RAWcbb3lRQZNYrCYo1uUfxHF1p6apBUW9hTeJRoHrqYZQ>;
  npx:signedBy orcid:0000-0002-1267-0234 .

