[ { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/Head", "@graph": [ { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/get-properties-of-ontology", "http://purl.org/dc/terms/description": [ { "@value": "This query returns all properties that specify to be part of a given ontology. Of several versions of the same term, 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 an ontology" } ], "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 (group_concat(distinct str(?domain); separator=\" \") as ?domain_multi_iri)\n (group_concat(distinct str(?range); separator=\" \") as ?range_multi_iri)\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 (iri(strafter(max(concat(str(?date0), \"|\", str(?np0))), \"|\")) as ?np) 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 ?property (dct:partOf|dct:isPartOf) ?_ontology_multi_iri .\n }\n } group by ?property\n }\n graph npa:graph { ?np np:hasAssertion ?a . }\n graph ?a {\n ?property (dct:partOf|dct:isPartOf) ?_ontology_multi_iri .\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 optional { ?property rdfs:domain ?domain . filter(isIRI(?domain)) }\n optional { ?property rdfs:range ?range . filter(isIRI(?range)) }\n }\n}\ngroup by ?property ?np\norder by lcase(str(coalesce(?property_label, \"\")))" } ] } ] }, { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/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/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-11T09:44:21Z", "@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/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/get-properties-of-ontology" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAA9ivHlu0zTIXFBcOSoVO1nBWiEYx8eDNwg9inPC5VTQ" } ], "http://www.w3.org/2004/02/skos/core#changeNote": [ { "@value": "Show only the newest valid declaration of each term (argmax by creation date, ties broken by nanopub URI), so terms with several versions, forked chains or overrides by another key appear once. Prefer untagged labels and definitions, sort labels case-insensitively, and keep a required pattern in the assertion-graph block, which RDF4J otherwise sometimes plans so that rows are lost. Domains and ranges are aggregated into multi-value columns, so a property with several of them stays one row." } ], "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/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@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/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE/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": "VSeORAGPiarOUgBUB0Colz0m5TPUoD4M8I50Fw/9d+HqfmyH+j7bBVDamhlyt+B75MXRG9uwSm6WwaEaKJLXWaqzrF5yoltKqtC/cMLLDUKhspZdxIWnwxlOSOwrhKCleNwvXelzYsFnzsc0/HRy0ueF0n5Pmj4tK3MBC3Yo6c4=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAZKVVXBGd9wyOWyFhMYnqT4NBDLPRhTRMz9Hk1k3gRIE" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]