[ { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/Head", "@graph": [ { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version", "http://purl.org/dc/terms/description": [ { "@value": "This query returns all classes that are part of a given version of an ontology. Each class is listed once." } ], "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 version" } ], "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 owl: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix skos: \nprefix gen: \n\nselect ?class\n (coalesce(min(?class_label_u), min(?class_label_a)) as ?class_label)\n (coalesce(min(?definition_u), min(?definition_a)) as ?description)\n (?termNp as ?np) (\"^\" as ?np_label) where {\n graph npa:graph {\n ?_ontologyVersionNp_iri npx:introduces ?ontologyVersion .\n ?_ontologyVersionNp_iri np:hasAssertion ?ontologyVersionNpA .\n }\n graph ?ontologyVersionNpA {\n ?ontologyVersion a owl:Ontology .\n ?ontologyVersion gen:hasContentIndex ?contentIndex .\n }\n graph npa:graph {\n ?contentIndex np:hasAssertion ?contentIndexA .\n }\n graph ?contentIndexA {\n ?contentIndex npx:includesElement ?termNp .\n }\n graph npa:graph {\n ?termNp npx:introduces ?class .\n ?termNp np:hasAssertion ?termNpA .\n }\n graph ?termNpA {\n ?class a owl:Class .\n optional { ?class rdfs:label ?class_label_u . filter(lang(?class_label_u) = \"\") }\n optional { ?class rdfs:label ?class_label_a . }\n optional { ?class skos:definition ?definition_u . filter(lang(?definition_u) = \"\") }\n optional { ?class skos:definition ?definition_a . }\n }\n}\ngroup by ?class ?termNp\norder by lcase(str(coalesce(?class_label, \"\")))" } ] } ] }, { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/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/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-11T10:23:37Z", "@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/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version" } ], "http://www.w3.org/2004/02/skos/core#changeNote": [ { "@value": "One row per class instead of one per label and definition variant (several languages); prefer untagged labels and definitions; sort labels case-insensitively." } ], "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "https://w3id.org/np/RAFmmzto-WVxcSYYoys8qYgCk62rZs7qxxkGIphDnBqUs" } ], "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/RAKc76yHLDbloE6ObluzYQsfX37v6qrZXbYeIKpe8-YUo" }, { "@id": "https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" }, { "@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/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/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": "pf0Q2w8s+nr0CgbrhwybbJnUu8BySr/H/6Zt+v38wL3s7IluuW0LISYcmPqcF8Bvp4dsSIe/aWZhzLcNGll3EvQ3KhrenI5QCP2axKb4ci1Aa9vU4PqAFMLIsIzn6eIYxQM3rDluHFEKN64gBdDbUTo1UmbLe4l1C9sDp72o/WI=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]