@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix rdf: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . sub:Head { this: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:assertion 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 instnace, such as the planet Mars or Marie Curie, define them with the template for individuals instead.

"""; a nt:AssertionTemplate; rdfs:label "Defining a new class"; nt:hasStatement sub:st0, sub:st1, sub:st2, sub:st3, sub:st4; nt:hasTag "Classes" . sub:class a nt:IntroducedResource, nt:LocalResource, nt:UriPlaceholder; rdfs:label "short name, used as URI suffix" . sub:definition a nt:LiteralPlaceholder; 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:st0 rdf:object ; rdf:predicate rdf:type; rdf:subject sub:class; a rdf:Statement; nt:statementOrder "0" . sub:st1 rdf:object sub:name; rdf:predicate rdfs:label; rdf:subject sub:class; a rdf:Statement; nt:statementOrder "1" . sub:st2 rdf:object sub:definition; rdf:predicate ; rdf:subject sub:class; a rdf:Statement; nt:statementOrder "2" . sub:st3 rdf:object sub:superclass; rdf:predicate rdfs:subClassOf; rdf:subject sub:class; a nt:OptionalStatement; nt:statementOrder "3" . sub:st4 rdf:object sub:relatedentity; rdf:predicate ; rdf:subject sub:class; a nt:OptionalStatement, nt:RepeatableStatement; nt:statementOrder "4" . 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=" . 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 "is defined as follows: - connects an identifier (left) to a human-readable definition (right)" . rdfs:label "is related to - connects two classes that are somehow related" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "Npexe4RM4kNucLivHjybO8gQhPCUXHZliWPA+wlx+IPPF3+EsD4jTikn8eyp34XEm4uP21fJXxuisSOFJJup9tcqgd0WcfjR3QHYbu8pU0WMfQeTqrXmLvRiTzBipmT3sdEf9fYv7TIoQj/rNzyXGWY7X7gp9lhz+J38JF4wXtg="; npx:hasSignatureTarget this: . this: dct:created "2023-03-01T10:41:17.413+01:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; npx:supersedes ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . }