. . . . "This query returns all terms of a given ontology or vocabulary, irrespective of their type. A term is included if its URI starts with the ontology's namespace or if it declares to be part of the ontology. Only the most recent non-invalidated defining nanopublication is shown per term." . . . "Get the terms of an ontology including via namespace" . . "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix skos: \n\nselect ?term (coalesce(min(?labelPlain), min(?labelAny)) as ?term_label) ?class (replace(replace(str(?class), \"^.*[/#]\", \"\"), \"[_-]\", \" \") as ?class_label) (coalesce(min(?desc), min(?def), min(?comment)) as ?description) ?np (\"^\" as ?np_label) where {\n {\n select ?term (max(?date) as ?latest) where {\n {\n graph npa:graph {\n ?introNp npx:introduces ?term .\n filter(strlen(?__ontologyNamespace) > 0 && strstarts(str(?term), ?__ontologyNamespace))\n }\n } union {\n values ?_ontology_multi_iri {}\n graph ?introA { ?term dct:isPartOf|dct:partOf ?_ontology_multi_iri . }\n graph npa:graph { ?introNp np:hasAssertion ?introA ; npx:introduces ?term . }\n }\n graph npa:graph {\n ?introNp npa:hasValidSignatureForPublicKeyHash ?introKey ; dct:created ?date .\n filter not exists { ?introInv npx:invalidates ?introNp ; npa:hasValidSignatureForPublicKeyHash ?introKey . }\n }\n } group by ?term\n }\n graph npa:graph {\n ?np npx:introduces ?term ; dct:created ?latest ; np:hasAssertion ?a ;\n npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n }\n optional { graph ?a { ?term a ?class . } }\n optional { graph ?a { ?term rdfs:label ?labelPlain . filter(lang(?labelPlain) = \"\") } }\n optional { graph ?a { ?term rdfs:label ?labelAny . } }\n optional { graph ?a { ?term skos:definition ?def . } }\n optional { graph ?a { ?term dct:description ?desc . } }\n optional { graph ?a { ?term rdfs:comment ?comment . } }\n}\ngroup by ?term ?class ?np\norder by ?class ?term_label" . . "Tobias Kuhn" . "2026-08-20T14:31:31Z"^^ . . . . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "d/LpK9J4wCP4KNQPVkS0C1GN58zhROAUJOFI609umFxNgoL7Wc/K+itx4bzCRfurc3wd3Q+bu59MzI0tjdeX8NbKCVN2JbJVRIQCrvZl6B3aBObeGIssnd8Bd1S3rloaMIaYVLsdU0PYfuehPdptM6FiLywQcv+SZqagE91B7bo=" . . .