[ { "@graph" : [ { "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/pubinfo" } ] } ], "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/Head" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/get-individuals-of-ontology-ns", "@type" : [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://purl.org/dc/terms/description" : [ { "@value" : "This query returns all individuals that specify to be part of a given ontology or use its namespace." } ], "http://purl.org/dc/terms/license" : [ { "@id" : "http://www.apache.org/licenses/LICENSE-2.0" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Get the individuals of an ontology including via namespace" } ], "https://w3id.org/kpxl/grlc/endpoint" : [ { "@id" : "https://w3id.org/np/l/nanopub-query-1.1/repo/type/f2a0ff8319823c7eb4c1e93c8c6b25c6ebc8a46454801e856e8cc1f98e4641f4" } ], "https://w3id.org/kpxl/grlc/sparql" : [ { "@value" : "prefix owl: \r\nprefix rdfs: \r\nprefix dct: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix skos: \r\n\r\nselect distinct ?individual ?individual_label ?class (coalesce(?desc, ?def) as ?description) ?np (\"^\" as ?np_label) where {\r\n values ?_ontology_multi_iri {}\r\n graph npa:graph {\r\n ?np npx:hasNanopubType owl:NamedIndividual .\r\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .\r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\r\n ?np dct:created ?date .\r\n ?np npx:introduces ?individual .\r\n ?np np:hasAssertion ?a .\r\n }\r\n graph ?a {\r\n {{\r\n ?individual a owl:NamedIndividual .\r\n filter(strstarts(str(?individual), ?__ontologyNamespace))\r\n } union {\r\n ?individual a owl:NamedIndividual .\r\n ?individual dct:partOf ?_ontology_multi_iri .\r\n }}\r\n optional {\r\n ?individual a ?class .\r\n filter(?class != owl:NamedIndividual)\r\n }\r\n optional { ?individual rdfs:label ?individual_label . }\r\n optional { ?individual skos:definition ?def . }\r\n optional { ?individual dct:description ?desc . }\r\n }\r\n}\r\norder by ?class ?individual_label" } ] } ], "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/assertion" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/assertion", "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/provenance" }, { "@graph" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name" : [ { "@value" : "Tobias Kuhn" } ] }, { "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU", "http://purl.org/dc/terms/created" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2026-01-14T12:35:48.259Z" } ], "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/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/get-individuals-of-ontology-ns" } ], "http://purl.org/nanopub/x/supersedes" : [ { "@id" : "https://w3id.org/np/RA0s2mU0hFKbIRgubAqVkmYV4h3BtVjz-20M-lIiaaIus" } ], "http://purl.org/nanopub/x/wasCreatedAt" : [ { "@id" : "https://nanodash.knowledgepixels.com/" } ], "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/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@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/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/sig", "http://purl.org/nanopub/x/hasAlgorithm" : [ { "@value" : "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey" : [ { "@value" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature" : [ { "@value" : "dF4feOd+5iFZrRTv70es46RtMbB8FFZaBXlIoJlw/VAL93FW6YcHHt431sSq5bB/llI583MJ+IGzusbO6IZevIdwQsg+x/Erdb/rjos42Ef5B4J7a9zvGAkOMPcReE4vDzGwM/nZF0gN1tHnHlQk228C4xt2MERi7Kd6x36Rbns=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU" } ], "http://purl.org/nanopub/x/signedBy" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RA6Cc0zgnWS-G5oVTOEMLgcWXQA24sLSh5FfZ30jazAzU/pubinfo" } ]