@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix rdf: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix ns1: . @prefix prov: . @prefix foaf: . sub:Head { this: np:hasAssertion sub:assertion ; np:hasProvenance sub:provenance ; np:hasPublicationInfo sub:pubinfo ; a np:Nanopublication . } sub:assertion { 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 exactly the same as" . 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: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 instance, 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:hasNanopubLabelPattern "Class: ${name}" ; nt:hasStatement sub:st0 , sub:st1 , sub:st2 , sub:st3 , sub:st4 , sub:st5 ; 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 rdf:object ; rdf:predicate rdf:type ; rdf:subject sub:class ; a rdf:Statement . sub:st1 rdf:object sub:name ; rdf:predicate rdfs:label ; rdf:subject sub:class ; a rdf:Statement . sub:st2 rdf:object sub:definition ; rdf:predicate ; rdf:subject sub:class ; a rdf:Statement . sub:st3 rdf:object sub:superclass ; rdf:predicate rdfs:subClassOf ; rdf:subject sub:class ; a nt:OptionalStatement . sub:st4 rdf:object sub:relatedentity ; rdf:predicate ; rdf:subject sub:class ; a nt:OptionalStatement , nt:RepeatableStatement . sub:st5 rdf:object sub:sameentity ; rdf:predicate ; rdf:subject sub:class ; a nt:OptionalStatement , nt:RepeatableStatement . 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:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { 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 this: ; npx:signedBy orcid:0000-0002-1267-0234 . this: dct:created "2024-03-01T15:33:12.225Z"^^xsd:dateTime ; dct:creator orcid:0000-0002-1267-0234 ; dct:license ; npx:supersedes ns1:RAzUgUie-tPiAorDNlH8h7vR3lP4WNBhT40nsWrRfa1NY ; npx:wasCreatedAt ; rdfs:label "Template: Defining a new class" ; nt:wasCreatedFromProvenanceTemplate ns1:RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM ; nt:wasCreatedFromPubinfoTemplate ns1:RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM , ns1:RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90 , ns1:RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI ; nt:wasCreatedFromTemplate ns1:RAJwu5sVubRqXY4t2gkSoGxWkMyZqnpkGTCPiTlmvi4so . }