[ { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/get-properties-of-ontology-ns", "http://purl.org/dc/terms/description": [ { "@value": "This query returns all properties that specify to be part of a given ontology or use its namespace. Of several versions of the same property, only the newest valid declaration is shown." } ], "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 properties of OWL ontology including namespace" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/0ecf438131f3cf9e7777966e39e6c8302684a3d64cf48d80902cc0f66fc85fe6" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdf: \nprefix owl: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix skos: \n\nselect ?property\n (coalesce(min(?property_label_u), min(?property_label_a)) as ?property_label)\n (coalesce(min(?definition_u), min(?definition_a)) as ?description)\n ?np (\"^\" as ?np_label) where {\n values ?_ontology_multi_iri {}\n {\n select ?property (max(concat(str(?date0), \"|\", str(?np0))) as ?maxrank) where {\n values ?_ontology_multi_iri {}\n graph npa:graph {\n ?np0 npx:hasNanopubType rdf:Property .\n ?np0 npa:hasValidSignatureForPublicKeyHash ?pubkey0 .\n filter not exists { ?npx0 npx:invalidates ?np0 ; npa:hasValidSignatureForPublicKeyHash ?pubkey0 . }\n ?np0 dct:created ?date0 .\n ?np0 npx:introduces ?property .\n ?np0 np:hasAssertion ?a0 .\n }\n graph ?a0 {\n {\n ?property a rdf:Property .\n filter(strstarts(str(?property), ?__ontologyNamespace))\n } union {\n ?property a rdf:Property .\n ?property (dct:partOf|dct:isPartOf) ?_ontology_multi_iri .\n }\n }\n } group by ?property\n }\n graph npa:graph {\n ?np npx:introduces ?property .\n ?np dct:created ?date .\n ?np np:hasAssertion ?a .\n }\n filter(concat(str(?date), \"|\", str(?np)) = ?maxrank)\n graph ?a {\n optional { ?property rdfs:label ?property_label_u . filter(lang(?property_label_u) = \"\") }\n optional { ?property rdfs:label ?property_label_a . }\n optional { ?property skos:definition ?definition_u . filter(lang(?definition_u) = \"\") }\n optional { ?property skos:definition ?definition_a . }\n }\n}\ngroup by ?property ?np\norder by lcase(str(coalesce(?property_label, \"\")))" } ] } ] }, { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/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/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-11T06:00:38Z", "@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/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/get-properties-of-ontology-ns" } ], "http://www.w3.org/2004/02/skos/core#changeNote": [ { "@value": "Show only the newest valid declaration of each property (by creation date, ties broken by nanopub URI), so properties with several versions, forked chains or overrides by another key appear once. Also match dct:isPartOf next to dct:partOf, prefer untagged labels/definitions, and sort labels case-insensitively." } ], "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "https://w3id.org/np/RAnrxcRdK2JJyw3wiL4qbV1xn0HBWBbaP-YEn6BYEGigk" } ], "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/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/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": "hTQOK4ae49AB1HUiforceBMjqWgqSiV/HT6eG+Q+Jqcxd9Yb5XBEZmRyHhk2wE23P1cE/VWwIS61OC8/QWSQPZD2im5MZNFwkPguuDlTfpBB7boK6Mtltb8f1hl/U5ICN0E+VlUKJS87peqKBoGTS49RdzaKQHitI1nX4kO6KPQ=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/Head", "@graph": [ { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]