@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-glossary-for-resource a grlc:grlc-query; dct:description "Given a resource, this query returns the glossary of terms it references: SKOS concepts linked from the resource via dct:references. Each row reports the term (identified by its Wikidata URI) with its preferred label, the human-readable definition, and a link to the nanopublication that defines the concept."; dct:license ; rdfs:label "Get glossary for a resource"; grlc:endpoint ; grlc:sparql """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix skos: select distinct (?concept as ?term) ?term_label ?definition ?np (\"^\" as ?np_label) where { graph npa:graph { ?np np:hasAssertion ?a . } graph ?a { ?_resource_iri dct:references ?concept . ?concept a skos:Concept ; rdfs:label ?term_label ; skos:definition ?definition . } graph npa:graph { ?np npa:hasValidSignatureForPublicKey ?pk . } filter not exists { graph npa:graph { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pk . } } } order by ?term_label""" . } 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-06-02T11:32:08Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-glossary-for-resource; rdfs:label "Get glossary for a resource"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "Dqb3TXnoz0goMpgNIXyEcSdqEud2dem0m8hyZeQY9bqPanqhiq8+ogdt/vplkOFKfD64q+lJRdCP4TjSx78sGC2CCci42pZINRHD0EZh7r0fxrz6JIhQ41v0VOZ/QdYpUbfALlxjcvcSb4DD02hZcZNFUzzugeKJr9PMJ67gr1w="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }