[ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/get-terms-of-ontology-ns", "http://purl.org/dc/terms/description": [ { "@value": "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." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the terms of an ontology including via namespace" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "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" } ] } ] }, { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-20T14:31:31Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/get-terms-of-ontology-ns" } ], "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@id": "https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "d/LpK9J4wCP4KNQPVkS0C1GN58zhROAUJOFI609umFxNgoL7Wc/K+itx4bzCRfurc3wd3Q+bu59MzI0tjdeX8NbKCVN2JbJVRIQCrvZl6B3aBObeGIssnd8Bd1S3rloaMIaYVLsdU0PYfuehPdptM6FiLywQcv+SZqagE91B7bo=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/Head", "@graph": [ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAPptnVo5Nra98P_eFLl4vDHaqP7SzllyyIi9VgXzyM9E/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]