@prefix this: <https://w3id.org/np/RAxfD9wQMHU4DmWta5uRpo723ZgKpizglley4gtcxG0hg> .
@prefix sub: <https://w3id.org/np/RAxfD9wQMHU4DmWta5uRpo723ZgKpizglley4gtcxG0hg#> .
@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/RAxfD9wQMHU4DmWta5uRpo723ZgKpizglley4gtcxG0hg> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dct:created "2024-03-01T15:33:12.225Z"^^xsd:dateTime;
  dct:creator orcid:0000-0002-1267-0234;
  dct:license <https://creativecommons.org/licenses/by/4.0/>;
  npx:supersedes ns1:RAzUgUie-tPiAorDNlH8h7vR3lP4WNBhT40nsWrRfa1NY;
  npx:wasCreatedAt <http://localhost:37373/>;
  rdfs:label "Template: Defining a new class";
  nt:wasCreatedFromProvenanceTemplate ns1:RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM;
  nt:wasCreatedFromPubinfoTemplate ns1:RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM,
    ns1:RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90, ns1:RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI;
  nt:wasCreatedFromTemplate ns1:RAJwu5sVubRqXY4t2gkSoGxWkMyZqnpkGTCPiTlmvi4so .

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

rdfs:label rdfs:label "is called - connects a formal identifier (left) to an informal human-readable name (right)" .

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" .

<http://www.w3.org/2002/07/owl#Class> rdfs:label "class - a class represents a set of concrete or abstract things" .

<http://www.w3.org/2002/07/owl#sameAs> rdfs:label "is exactly the same as" .

<http://www.w3.org/2004/02/skos/core#definition> rdfs:label "is defined as follows: - connects an identifier (left) to a human-readable definition (right)" .

<http://www.w3.org/2004/02/skos/core#relatedMatch> rdfs:label "is related to - connects two classes that are somehow related" .

sub:assertion a nt:AssertionTemplate;
  dct:description """<p>Such a nanopublication defines a new class. Classes represent sets of concrete or abstract things, and are by convention named with singular nouns (or noun phrases) like 'human', 'cardiovascular disease', or 'approach'.</p>

<p>If the term you want to define does not refer to a set of things but a single instance, such as the planet Mars or Marie Curie, define them with the template for individuals instead.</p>""";
  rdfs:label "Defining a new class";
  nt:hasNanopubLabelPattern "Class: ${name}";
  nt:hasStatement sub:st0, sub:st1, sub:st2, sub:st3, sub:st4, sub:st5;
  nt:hasTag "Terms";
  prov:wasAttributedTo orcid:0000-0002-1267-0234 .

sub:class a nt:IntroducedResource, nt:LocalResource, nt:UriPlaceholder;
  rdfs:label "short name, used as URI suffix" .

sub:definition a nt:LongLiteralPlaceholder;
  rdfs:label "definition of the class" .

sub:name a nt:LiteralPlaceholder;
  rdfs:label "the name of the class" .

sub:relatedentity a nt:GuidedChoicePlaceholder;
  rdfs:label "URI of a related class or other entity";
  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:sameentity a nt:ExternalUriPlaceholder;
  rdfs:label "URI of a class that should be treated as fully synonymous" .

sub:st0 a rdf:Statement;
  rdf:object <http://www.w3.org/2002/07/owl#Class>;
  rdf:predicate rdf:type;
  rdf:subject sub:class .

sub:st1 a rdf:Statement;
  rdf:object sub:name;
  rdf:predicate rdfs:label;
  rdf:subject sub:class .

sub:st2 a rdf:Statement;
  rdf:object sub:definition;
  rdf:predicate <http://www.w3.org/2004/02/skos/core#definition>;
  rdf:subject sub:class .

sub:st3 a nt:OptionalStatement;
  rdf:object sub:superclass;
  rdf:predicate rdfs:subClassOf;
  rdf:subject sub:class .

sub:st4 a nt:OptionalStatement, nt:RepeatableStatement;
  rdf:object sub:relatedentity;
  rdf:predicate <http://www.w3.org/2004/02/skos/core#relatedMatch>;
  rdf:subject sub:class .

sub:st5 a nt:OptionalStatement, nt:RepeatableStatement;
  rdf:object sub:sameentity;
  rdf:predicate <http://www.w3.org/2002/07/owl#sameAs>;
  rdf:subject sub:class .

sub:superclass a nt:GuidedChoicePlaceholder;
  rdfs:label "the URI of the superclass";
  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=" .

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

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
  npx:hasSignature "hrTuOPzrjWK2XgqJgVhzyGz5z9y1krj3zClo98qUjlvJVtCNBLjjVgJqSsmQpzNal3MqDvYSw74VAL1CowIJ2B97hvpxlqm7NkrBNSbUBpM6SU9JO+ag3Ln3RBBx4UQrs5rxpQXALU0qw58A8Z/6a7+CneT/3T2qBPbuQcONPTY=";
  npx:hasSignatureTarget <https://w3id.org/np/RAxfD9wQMHU4DmWta5uRpo723ZgKpizglley4gtcxG0hg>;
  npx:signedBy orcid:0000-0002-1267-0234 .

