[ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/Head", "@graph": [ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/assertion", "@graph": [ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/get-classes-of-ontology", "http://purl.org/dc/terms/description": [ { "@value": "This query returns all classes that specify to be part of a given ontology." } ], "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 classes of an ontology" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/e8cc5bb29ec5597303f8f101c65c545dc124ee0df68ce733764b03adc3237184" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix owl: \r\n prefix rdfs: \r\n prefix dct: \r\n prefix np: \r\n prefix npa: \r\n prefix npx: \r\n prefix skos: \r\n \r\n select ?class ?class_label (?definition as ?description)\r\n (group_concat(distinct str(?superclass); separator=\" \") as ?superclasses_multi_iri) \r\n (group_concat(distinct replace(replace(coalesce(?superclass_lbl, str(?superclass)), \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\"), \"[\\r\\n]+\", \"\\\\\\\\n\"); separator=\"\\n\") as \r\n ?superclasses_label_multi) \r\n ?np where { \r\n values ?_ontology_multi_iri {} \r\n graph npa:graph { \r\n ?np npx:hasNanopubType owl:Class .\r\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . \r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } \r\n ?np dct:created ?date .\r\n ?np npx:introduces ?class . \r\n ?np np:hasAssertion ?a .\r\n } \r\n graph ?a { \r\n ?class dct:partOf ?_ontology_multi_iri .\r\n optional { ?class rdfs:label ?class_label . } \r\n optional { ?class skos:definition ?definition . }\r\n optional { \r\n ?class rdfs:subClassOf ?superclass .\r\n filter(isIRI(?superclass)) \r\n optional { ?superclass rdfs:label ?superclass_lbl . }\r\n } \r\n } \r\n } \r\n group by ?class ?class_label ?definition ?np\r\n order by ?class_label" } ] } ] }, { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/provenance", "@graph": [ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/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/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo", "http://purl.org/dc/terms/created": [ { "@value": "2026-04-15T08:53:36.174Z", "@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/publicdomain/zero/1.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/get-classes-of-ontology" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAfY8aTTx4I_nhpRup6HVQ7FlFcRk5YbBY46_Q-vNvSvs" } ], "http://purl.org/nanopub/x/wasCreatedAt": [ { "@id": "https://nanodash.knowledgepixels.com/" } ], "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/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@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/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "7HmvnAfYPJCYfn2POValB0poXk0lGQO67Yyij8EZ8i8bGhexVB0Op+smf1BlMWJPvclUcwIb8siouosIhicK4SCCPX7Nxr9wmRc2uygkl5bSPuw24lJQs0GNnxa+7PEyrrD5aWc7nLlQ3kyX4M+u0tDVi1evCAPTc3qQ9wV1E7s=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RADi1moqeaDAuLmj3u0y0QyYItX7_uG5baWoxvAAPv3mo" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]