. . . . "Returns the version history of a term (a class or other resource defined in the namespace of a maintained resource, e.g. a biochementity of an OWL vocabulary), for display on the term's resource-part page. Each row is a nanopublication that introduces, describes, or embeds the given term, showing its creation date, the label the term carried in that version, the change note attached to that version's publication info (skos:changeNote, truncated to its first line and at most 50 characters), and its author (signer, with the name resolved from the maintaining space's trust state where available). The status column is a multi-value literal listing '✓ current' (always first, when applicable) followed by the curation states of that version: \"deprecated\" (owl:DeprecatedClass), \"withdrawn\" (gen:WithdrawnTerm) and \"example\" (npx:ExampleNanopub). It replaces the former headerless status marker. The '✓ current' row is the definition that currently counts: the newest non-invalidated version signed by a current member+ (admin/maintainer/member) of the space maintaining the resource the term declares itself part of, mirroring the get-term-definitions resolution used for resource-part pages. That winner is materialized once in a self-contained sub-select sharing no variables with the outer query, then compared by string equality. The override_target column carries the nanopub URI only for the current row (empty otherwise), so a per-row override action is offered only on the current version. Rows are ordered newest first." . . . "Get term version history" . . "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \nprefix foaf: \nprefix skos: \nprefix owl: \n\nselect ?Date ?Label ?Change_note ?Author ?Author_label ?Status_multi ?override_target ?np ?np_label where {\n {\n select (max(concat(str(?cDate), \">\", str(?cNp))) as ?maxCurrent) where {\n graph npa:graph {\n ?cNp npa:hasValidSignatureForPublicKeyHash ?cPubkeyhash ;\n dct:created ?cDate ;\n np:hasAssertion ?cA .\n ?cNp npx:introduces|npx:describes|npx:embeds ?_term_iri .\n filter not exists { ?cInv npx:invalidates ?cNp ; npa:hasValidSignatureForPublicKeyHash ?cPubkeyhash . }\n }\n graph ?cA { ?_term_iri dct:isPartOf ?cResource . }\n service {\n graph npa:graph { npa:hasCurrentSpaceState ?cStateG . }\n graph ?cStateG {\n ?cResource npa:isMaintainedBy ?cSpace .\n ?cRi a gen:RoleInstantiation ; npa:forSpace ?cSpace ; npa:hasRoleType ?cTier ; npa:forAgent ?cAgent .\n values ?cTier { gen:AdminRole gen:MaintainerRole gen:MemberRole }\n ?cAcct a npa:AccountState ; npa:agent ?cAgent ; npa:pubkey ?cPubkeyhash .\n }\n }\n }\n }\n graph npa:graph {\n ?np npx:introduces|npx:describes|npx:embeds ?_term_iri ;\n dct:created ?Date ;\n np:hasAssertion ?a ;\n np:hasPublicationInfo ?pi .\n optional { ?np npx:signedBy ?Author . }\n }\n optional { graph ?a { ?_term_iri rdfs:label ?Label } }\n optional { graph ?pi { ?np skos:changeNote ?noteRaw } }\n bind(replace(coalesce(?noteRaw, \"\"), \"\\r\", \"\") as ?noteNoCr)\n bind(if(contains(?noteNoCr, \"\\n\"), strbefore(?noteNoCr, \"\\n\"), ?noteNoCr) as ?firstLine)\n bind(substr(?firstLine, 1, 50) as ?Change_note)\n bind(concat(str(?Date), \">\", str(?np)) = coalesce(?maxCurrent, \"\") as ?isCurrent)\n bind(if(?isCurrent, str(?np), \"\") as ?override_target)\n bind(replace(concat(\n if(?isCurrent, \"✓ current\\n\", \"\"),\n if(exists { graph ?a { ?_term_iri a owl:DeprecatedClass } }, \"deprecated\\n\", \"\"),\n if(exists { graph ?a { ?_term_iri a gen:WithdrawnTerm } }, \"withdrawn\\n\", \"\"),\n if(exists { graph npa:graph { ?np npx:hasNanopubType npx:ExampleNanopub } }, \"example\\n\", \"\")\n ), \"\\n$\", \"\") as ?Status_multi)\n bind(coalesce(?Author, ) as ?AuthorSafe)\n optional {\n service {\n graph npa:graph { npa:hasCurrentSpaceState ?nStateG . }\n graph ?nStateG { ?AuthorSafe foaf:name ?Author_label . }\n }\n }\n bind(\"^\" as ?np_label)\n}\norder by desc(?Date)" . . "Tobias Kuhn" . "2026-08-11T15:04:21Z"^^ . . . . . "Get term version history" . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "GaGA5Qo3xmqLEsZXK43bMEIcbG2fhZBWB/30WLX2B41bE+ZRB7D8bQ47aeHh9Nwyfawhbr6J5VzuA7539lXOkOA/5vCkrdi9RL2xGdkp3b1UeRcTv6Ie4NqpbdVBmHRtLZ9wxvnxEtEv7bPk/rqELA9fZNTLEZeQDQ/d9a7oJUg=" . . .