[ { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/get-individuals-of-ontology-ns", "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. Adds two action-data columns for a per-row in-place re-edit action: override_target carries the row's own nanopublication, and override_template the template that nanopublication was created from, so each individual reopens in the template it was actually made with. Individuals whose nanopublication records no template -- for example the hand-authored FIP-Ontology ones -- fall back to the generic \"Publishing hand-coded statements\" template, whose single repeatable subject/predicate/object statement matches any triple, so the re-edit form is offered on every row and no existing content is reported as unfillable. Both columns are action-mapping sources and are therefore not rendered as table columns." } ], "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 individuals of an ontology including via namespace, with override columns" } ], "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: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix skos: \nprefix nt: \n\nselect distinct ?individual ?individual_label ?class (coalesce(?desc, ?def) as ?description)\n (str(?np) as ?override_target) (str(coalesce(?srcTemplate, )) as ?override_template)\n ?np (\"^\" as ?np_label) where {\n values ?_ontology_multi_iri {}\n graph npa:graph {\n ?np npx:hasNanopubType owl:NamedIndividual .\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 ?individual .\n ?np np:hasAssertion ?a .\n }\n optional {\n graph npa:graph { ?np np:hasPublicationInfo ?srcPubinfo . }\n graph ?srcPubinfo { ?np nt:wasCreatedFromTemplate ?srcTemplate . }\n }\n graph ?a {\n {{\n ?individual a owl:NamedIndividual .\n filter(strstarts(str(?individual), ?__ontologyNamespace))\n } union {\n ?individual a owl:NamedIndividual .\n ?individual dct:partOf ?_ontology_multi_iri .\n }}\n optional {\n ?individual a ?class .\n filter(?class != owl:NamedIndividual)\n }\n optional { ?individual rdfs:label ?individual_label . }\n optional { ?individual skos:definition ?def . }\n optional { ?individual dct:description ?desc . }\n }\n}\norder by ?class ?individual_label" } ] } ] }, { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/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/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc", "http://purl.org/dc/terms/created": [ { "@value": "2026-09-16T13:06:08Z", "@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/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/get-individuals-of-ontology-ns" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAosv51-_RxC3U1nSEkOusJ2Nh_0RKtJp8SaxrklVa2ss" } ], "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/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/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": "P/8dDmJVuTycvgYmkUfcjEAR9yEvShMecNCTKnrZOamJ1RbN2O+7ve3JBe92OrIGhjASfZeslTTr89Fhp4vDsb7URNm+GMlmZrGwotTU1ejo6vuJTFBILuIIv8m9uNK8ACr1+OQnsxVaP/Ho6+VbR1rfrLUlOWteyJNEcFvj7cg=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/Head", "@graph": [ { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAnCJCUuJrJHjUQTjSZGfJ7h4EL-2BP5Xtb5uReb182Pc/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]