@prefix this: . @prefix sub: . @prefix np: . @prefix nt: . @prefix xsd: . @prefix skos: . @prefix rdfs: . @prefix orcid: . @prefix ns1: . @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 { dct:isPartOf rdfs:label "is a part of" . 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" . rdfs:label "class - a class represents a set of concrete or abstract things" . rdfs:label "deprecated class" . rdfs:label "is exactly the same as" . skos:definition rdfs:label "is defined as follows: - connects an identifier (left) to a human-readable definition (right)" . skos:relatedMatch rdfs:label "is related to - connects two classes that are somehow related" . sub:assertion a nt:AssertionTemplate; dct:description """

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

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.

"""; rdfs:label "Defining a new class"; nt:hasStatement sub:st0, sub:st1, sub:st2, sub:st2b, sub:st3, sub:st4, sub:st5, sub:st6; nt:hasTag "Terms" . 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 ; 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 skos:definition; rdf:subject sub:class . sub:st2b a nt:OptionalStatement; rdf:object sub:type; rdf:predicate rdf:type; rdf:subject sub:class . sub:st3 a nt:OptionalStatement, nt:RepeatableStatement; 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 skos:relatedMatch; rdf:subject sub:class . sub:st5 a nt:OptionalStatement, nt:RepeatableStatement; rdf:object sub:sameentity; rdf:predicate ; rdf:subject sub:class . sub:st6 a nt:OptionalStatement; rdf:object sub:vocabulary; rdf:predicate dct:isPartOf; 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=" . sub:type a nt:RestrictedChoicePlaceholder; rdfs:label "select class type, if appropriate"; nt:possibleValue . sub:vocabulary a nt:GuidedChoicePlaceholder; rdfs:label "vocabulary / ontology"; nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http://www.w3.org/2002/07/owl%23Ontology&searchterm=" . } 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-16T15:30:44.965+02:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:supersedes ; npx:wasCreatedAt ; rdfs:label "Defining a new class"; skos:changeNote "Fix dct:isPartOf predicate"; nt:wasCreatedFromProvenanceTemplate ns1:RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM; nt:wasCreatedFromPubinfoTemplate , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "PSZFIMz8uEUWtpDUIf2auEQp5UGZO55Wb9RMPVskjBRljkUFUOstYnjbzlphcuttTehqzw3yPB97AtP7v25kWqkX7fsHvRhIqTyti508Jh0LdRs+5s8EUgPV63cs3oFXePDQRYThWeyo5/xV8Ec/Hpc3dqk3ZlC2E6G8iN/YlQM="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }