https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/Head https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://www.nanopub.org/nschema#hasAssertion https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/assertion https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://www.nanopub.org/nschema#hasProvenance https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/provenance https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://www.nanopub.org/nschema#hasPublicationInfo https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/pubinfo https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/assertion https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/get-term-version-history http://purl.org/dc/terms/description 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 row marked '✓ current' 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. https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/get-term-version-history http://purl.org/dc/terms/license http://www.apache.org/licenses/LICENSE-2.0 https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/get-term-version-history http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://w3id.org/kpxl/grlc/grlc-query https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/get-term-version-history http://www.w3.org/2000/01/rdf-schema#label Get term version history https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/get-term-version-history https://w3id.org/kpxl/grlc/endpoint https://w3id.org/np/l/nanopub-query-1.1/repo/full https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/get-term-version-history https://w3id.org/kpxl/grlc/sparql prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dct: <http://purl.org/dc/terms/> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix npx: <http://purl.org/nanopub/x/> prefix gen: <https://w3id.org/kpxl/gen/terms/> prefix foaf: <http://xmlns.com/foaf/0.1/> prefix skos: <http://www.w3.org/2004/02/skos/core#> select ?Date ?Label ?Change_note ?Author ?Author_label ?Status_noheader ?override_target ?np ?np_label where { { select (max(concat(str(?cDate), ">", str(?cNp))) as ?maxCurrent) where { graph npa:graph { ?cNp npa:hasValidSignatureForPublicKeyHash ?cPubkeyhash ; dct:created ?cDate ; np:hasAssertion ?cA . ?cNp npx:introduces|npx:describes|npx:embeds ?_term_iri . filter not exists { ?cInv npx:invalidates ?cNp ; npa:hasValidSignatureForPublicKeyHash ?cPubkeyhash . } } graph ?cA { ?_term_iri dct:isPartOf ?cResource . } service <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> { graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?cStateG . } graph ?cStateG { ?cResource npa:isMaintainedBy ?cSpace . ?cRi a gen:RoleInstantiation ; npa:forSpace ?cSpace ; npa:hasRoleType ?cTier ; npa:forAgent ?cAgent . values ?cTier { gen:AdminRole gen:MaintainerRole gen:MemberRole } ?cAcct a npa:AccountState ; npa:agent ?cAgent ; npa:pubkey ?cPubkeyhash . } } } } graph npa:graph { ?np npx:introduces|npx:describes|npx:embeds ?_term_iri ; dct:created ?Date ; np:hasAssertion ?a ; np:hasPublicationInfo ?pi . optional { ?np npx:signedBy ?Author . } } optional { graph ?a { ?_term_iri rdfs:label ?Label } } optional { graph ?pi { ?np skos:changeNote ?noteRaw } } bind(replace(coalesce(?noteRaw, ""), "\r", "") as ?noteNoCr) bind(if(contains(?noteNoCr, "\n"), strbefore(?noteNoCr, "\n"), ?noteNoCr) as ?firstLine) bind(substr(?firstLine, 1, 50) as ?Change_note) bind(if(concat(str(?Date), ">", str(?np)) = coalesce(?maxCurrent, ""), "✓ current", "") as ?Status_noheader) bind(if(?Status_noheader != "", str(?np), "") as ?override_target) bind(coalesce(?Author, <http://purl.org/nanopub/temp/none>) as ?AuthorSafe) optional { service <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> { graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?nStateG . } graph ?nStateG { ?AuthorSafe foaf:name ?Author_label . } } } bind("^" as ?np_label) } order by desc(?Date) https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/provenance https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/pubinfo https://orcid.org/0000-0002-1267-0234 http://xmlns.com/foaf/0.1/name Tobias Kuhn https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://purl.org/dc/terms/created 2026-08-11T06:09:02Z https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://purl.org/dc/terms/creator https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://purl.org/dc/terms/license https://creativecommons.org/licenses/by/4.0/ https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://purl.org/nanopub/x/embeds https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/get-term-version-history https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc http://www.w3.org/2000/01/rdf-schema#label Get term version history https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8 https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/sig http://purl.org/nanopub/x/hasAlgorithm RSA https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/sig http://purl.org/nanopub/x/hasPublicKey MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/sig http://purl.org/nanopub/x/hasSignature gvUK8YAkPdsc/Uc/vxRApYJSZPjy/5/y+ZJ3f+5r2gy5i43IFBzmgPnepMr9v5uxiBPd9v9/CiqKuYFqN7zQGlXClw2ZQ2tlf1o37/47xca25J/SqAek42bGdbxk8BUM3uWvSuWoHVglr+kU9Mz9Ad49pQ5i4Gp2xoa30t3IITM= https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/sig http://purl.org/nanopub/x/hasSignatureTarget https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc https://w3id.org/np/RA8PRGLZ8PVRYgtJvqbCaTTvU0-L4HVdfZlRkl2YPrbOc/sig http://purl.org/nanopub/x/signedBy https://orcid.org/0000-0002-1267-0234