[ { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/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/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw", "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/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns" } ], "http://www.w3.org/2004/02/skos/core#changeNote": [ { "@value": "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." } ], "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "https://w3id.org/np/RAliUJFYGJF3xnfl1825g-TB4iVvOV8RxFRbB0q0OEEsE" } ], "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/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/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": "N7i25j+kwBUuvfMrT9ZmweY0KTK0fXhz8e8oDVvQvFhXvRYvmXkUdOCVRlUDxWhhh3R6u8ih4ELzd4jvcWmTmnexfOsCuEqwlkp/vF2SuKc6U205enqINOgais/6Zo5dSLnA4k0koqhr4e6R/4rATtUL2ezzNFxhArb8uMSdYVI=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/Head", "@graph": [ { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/assertion", "@graph": [ { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/get-definitions-of-ontology-ns", "http://purl.org/dc/terms/description": [ { "@value": "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." } ], "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 definitions of an ontology including namespace and descriptions" } ], "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 rdf: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix skos: \nprefix schema: \nprefix gen: \n\nselect ?np (\"^\" as ?np_label) ?item\n (coalesce(min(?item_label_u), min(?item_label_a)) as ?item_label)\n ?creator ?date where {\n values ?_ontology_multi_iri {}\n graph npa:graph {\n values ?itemType { owl:Class rdf:Property owl:ObjectProperty owl:DatatypeProperty owl:NamedIndividual gen:Paragraph }\n ?np npx:hasNanopubType ?itemType .\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n ?np dct:created ?date .\n ?np npx:introduces ?item .\n optional { ?np npx:signedBy ?creator . }\n ?np np:hasAssertion ?a .\n }\n graph ?a {\n {\n ?item a ?itemType .\n filter(strstarts(str(?item), ?__ontologyNamespace))\n } union {\n ?item a ?itemType .\n ?item dct:partOf|dct:isPartOf|schema:isPartOf ?_ontology_multi_iri .\n }\n optional { ?item rdfs:label|schema:title ?item_label_u . filter(lang(?item_label_u) = \"\") }\n optional { ?item rdfs:label|schema:title ?item_label_a . }\n }\n}\ngroup by ?np ?item ?creator ?date\norder by lcase(str(coalesce(?item_label, \"\"))) desc(?date)" } ] } ] }, { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/provenance", "@graph": [ { "@id": "https://w3id.org/np/RA1sRhQO15VR6aYnyLSW76-x8AHhTazDlS2qHpsbsiLEw/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]