https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/Head https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://www.nanopub.org/nschema#hasAssertion https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/assertion https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://www.nanopub.org/nschema#hasProvenance https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/provenance https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://www.nanopub.org/nschema#hasPublicationInfo https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/pubinfo https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/assertion https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns http://purl.org/dc/terms/description This query returns all definition nanopublications that define the elements of a given OWL ontology, like classes and properties, including those that match the namespace and including paragraphs describing the ontology. Each defining nanopublication is listed once per item, with all versions included. https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns http://purl.org/dc/terms/license http://www.apache.org/licenses/LICENSE-2.0 https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://w3id.org/kpxl/grlc/grlc-query https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns http://www.w3.org/2000/01/rdf-schema#label Get the definitions of an ontology including namespace and descriptions https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns https://w3id.org/kpxl/grlc/endpoint https://w3id.org/np/l/nanopub-query-1.1/repo/full https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 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 schema: <https://schema.org/> prefix gen: <https://w3id.org/kpxl/gen/terms/> select ?np ("^" as ?np_label) ?item (coalesce(min(?item_label_u), min(?item_label_a)) as ?item_label) ?creator ?date where { values ?_ontology_multi_iri {} graph npa:graph { values ?itemType { owl:Class rdf:Property owl:ObjectProperty owl:DatatypeProperty owl:NamedIndividual gen:Paragraph } ?np npx:hasNanopubType ?itemType . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np npx:introduces ?item . optional { ?np npx:signedBy ?creator . } ?np np:hasAssertion ?a . } graph ?a { { ?item a ?itemType . filter(strstarts(str(?item), ?__ontologyNamespace)) } union { ?item a ?itemType . ?item dct:partOf|dct:isPartOf|schema:isPartOf ?_ontology_multi_iri . } optional { ?item rdfs:label|schema:title ?item_label_u . filter(lang(?item_label_u) = "") } optional { ?item rdfs:label|schema:title ?item_label_a . } } } group by ?np ?item ?creator ?date order by lcase(str(coalesce(?item_label, ""))) desc(?date) https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/provenance https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/pubinfo https://orcid.org/0000-0002-1267-0234 http://xmlns.com/foaf/0.1/name Tobias Kuhn https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://purl.org/dc/terms/created 2026-11-11T10:23:37Z https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://purl.org/dc/terms/creator https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://purl.org/dc/terms/license https://creativecommons.org/licenses/by/4.0/ https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://purl.org/nanopub/x/embeds https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://www.w3.org/2004/02/skos/core#changeNote One row per defining nanopub and item instead of one per label variant (labels in several languages); prefer untagged labels; sort by label (the previous sort key ?label was never bound), then newest first; also match dct:isPartOf. https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw http://www.w3.org/ns/prov#wasDerivedFrom https://w3id.org/np/RAliUJFYGJF3xnfl1825g-TB4iVvOV8RxFRbB0q0OEEsE https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8 https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAKc76yHLDbloE6ObluzYQsfX37v6qrZXbYeIKpe8-YUo https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/sig http://purl.org/nanopub/x/hasAlgorithm RSA https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/sig http://purl.org/nanopub/x/hasPublicKey MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/sig http://purl.org/nanopub/x/hasSignature N7i25j+kwBUuvfMrT9ZmweY0KTK0fXhz8e8oDVvQvFhXvRYvmXkUdOCVRlUDxWhhh3R6u8ih4ELzd4jvcWmTmnexfOsCuEqwlkp/vF2SuKc6U205enqINOgais/6Zo5dSLnA4k0koqhr4e6R/4rATtUL2ezzNFxhArb8uMSdYVI= https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/sig http://purl.org/nanopub/x/hasSignatureTarget https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/sig http://purl.org/nanopub/x/signedBy https://orcid.org/0000-0002-1267-0234