https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/Head https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://www.nanopub.org/nschema#hasAssertion https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/assertion https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://www.nanopub.org/nschema#hasProvenance https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/provenance https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://www.nanopub.org/nschema#hasPublicationInfo https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/pubinfo https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/assertion https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version http://purl.org/dc/terms/description This query returns all classes that are part of a given version of an ontology. Each class is listed once. https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version http://purl.org/dc/terms/license http://www.apache.org/licenses/LICENSE-2.0 https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://w3id.org/kpxl/grlc/grlc-query https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version http://www.w3.org/2000/01/rdf-schema#label Get the classes of an ontology version https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version https://w3id.org/kpxl/grlc/endpoint https://w3id.org/np/l/nanopub-query-1.1/repo/full https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version https://w3id.org/kpxl/grlc/sparql prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dct: <http://purl.org/dc/terms/> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix npx: <http://purl.org/nanopub/x/> prefix skos: <http://www.w3.org/2004/02/skos/core#> prefix gen: <https://w3id.org/kpxl/gen/terms/> select ?class (coalesce(min(?class_label_u), min(?class_label_a)) as ?class_label) (coalesce(min(?definition_u), min(?definition_a)) as ?description) (?termNp as ?np) ("^" as ?np_label) where { graph npa:graph { ?_ontologyVersionNp_iri npx:introduces ?ontologyVersion . ?_ontologyVersionNp_iri np:hasAssertion ?ontologyVersionNpA . } graph ?ontologyVersionNpA { ?ontologyVersion a owl:Ontology . ?ontologyVersion gen:hasContentIndex ?contentIndex . } graph npa:graph { ?contentIndex np:hasAssertion ?contentIndexA . } graph ?contentIndexA { ?contentIndex npx:includesElement ?termNp . } graph npa:graph { ?termNp npx:introduces ?class . ?termNp np:hasAssertion ?termNpA . } graph ?termNpA { ?class a owl:Class . optional { ?class rdfs:label ?class_label_u . filter(lang(?class_label_u) = "") } optional { ?class rdfs:label ?class_label_a . } optional { ?class skos:definition ?definition_u . filter(lang(?definition_u) = "") } optional { ?class skos:definition ?definition_a . } } } group by ?class ?termNp order by lcase(str(coalesce(?class_label, ""))) https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/provenance https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/pubinfo https://orcid.org/0000-0002-1267-0234 http://xmlns.com/foaf/0.1/name Tobias Kuhn https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://purl.org/dc/terms/created 2026-11-11T10:23:37Z https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://purl.org/dc/terms/creator https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://purl.org/dc/terms/license https://creativecommons.org/licenses/by/4.0/ https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://purl.org/nanopub/x/embeds https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/get-classes-of-ontology-version https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://www.w3.org/2004/02/skos/core#changeNote One row per class instead of one per label and definition variant (several languages); prefer untagged labels and definitions; sort labels case-insensitively. https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI http://www.w3.org/ns/prov#wasDerivedFrom https://w3id.org/np/RAFmmzto-WVxcSYYoys8qYgCk62rZs7qxxkGIphDnBqUs https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8 https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAKc76yHLDbloE6ObluzYQsfX37v6qrZXbYeIKpe8-YUo https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/sig http://purl.org/nanopub/x/hasAlgorithm RSA https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/sig http://purl.org/nanopub/x/hasPublicKey MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/sig http://purl.org/nanopub/x/hasSignature pf0Q2w8s+nr0CgbrhwybbJnUu8BySr/H/6Zt+v38wL3s7IluuW0LISYcmPqcF8Bvp4dsSIe/aWZhzLcNGll3EvQ3KhrenI5QCP2axKb4ci1Aa9vU4PqAFMLIsIzn6eIYxQM3rDluHFEKN64gBdDbUTo1UmbLe4l1C9sDp72o/WI= https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/sig http://purl.org/nanopub/x/hasSignatureTarget https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI https://w3id.org/np/RAsjZNqTm3XbGeiv_jJnk7PIXjPGQNycGb1VTTB3WNcPI/sig http://purl.org/nanopub/x/signedBy https://orcid.org/0000-0002-1267-0234