[ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/get-docs-paragraph-examples", "http://purl.org/dc/terms/description": [ { "@value": "Examples linked to one documentation paragraph (gen:isExampleFor) by a member of the maintaining space. An example is any URI: a nanopublication, a page, a service URL, a file. Returns the example with a label (the nanopublication's label where it is one), the note saying what to look at, and the linking nanopublication as source and edit target." } ], "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 examples of a documentation paragraph" } ], "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 rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \n\n# Examples linked to ONE documentation paragraph ( gen:isExampleFor ) by a\n# member of the maintaining space. An example is any URI: a nanopublication, a page, a service\n# URL. ?example_label is the nanopublication's label where the example is one, else the URI\n# itself. ?np is the linking nanopublication (source link and edit target).\nselect ?example ?example_label ?note ?date (str(?np) as ?override_target) ?np (\"^\" as ?np_label) where {\n {\n select ?example ?np ?date (min(?n) as ?note) (min(?l) as ?label) where {\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?stateG . }\n values ?__context_multi_iri {}\n graph ?stateG {\n ?__context_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n }\n }\n values ?_resource_multi_iri {}\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?npPubkey ; dct:created ?date ; np:hasAssertion ?a .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?npPubkey . }\n }\n filter(contains(?memberPubkeys, ?npPubkey))\n graph ?a {\n ?example gen:isExampleFor ?_resource_multi_iri .\n optional { ?example rdfs:comment ?n . }\n }\n optional { graph npa:graph { ?example rdfs:label ?l . } }\n } group by ?example ?np ?date\n }\n bind(coalesce(?label, str(?example)) as ?example_label)\n}\norder by ?date" } ] } ] }, { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot" } ] } ] }, { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/pubinfo", "@graph": [ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0", "http://purl.org/dc/terms/created": [ { "@value": "2026-09-15T07:34:02Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot" } ], "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/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/get-docs-paragraph-examples" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RA-YGf2uHpZKq7aLp4iWCzL2qaRlZ5B2APni1vIq08s4U" } ], "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/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA" }, { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8cMusqtNyKA6UIsi3f7BAcZmHQXWxU0qk0PLsboMWQxYrGBfGgHTgRHJrBRxL+Zn9kJHKVmz2smDcjCBptXi/OwWy80gjsx+Pbe6IWz3zFPWF1UoFIKfPnC0slV67CQgdM853zW7Bmk9/uflCtK4EtZKmPdRGtUHVC7DTVvDBMDzLRGdE2KCBVN29EbM5GGVNvijYbaZQ9OFQPBkQshayqSIyGRr6rreJdkrRVLIzu3uuAjKYydaeXZWSN2JLnVBwrClKUxaEdCwhb5nXpMtKOMD+R+LgaXLeJUWM8BdRSYnta9ZqI5pHY4y3v+eW7J+HHeTvRbHvlik+Z4hFUXmQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "kYnQQ3B8i68LmYcpIzCbnWTaF/lV4pC+QdPa8Y+MDd95rH7x5XkkR38BItB0rONGxLZiw2VGFGRL1hOy5/3/Dl9UuaxRXPgEP4KDMt+cAsCB/eiiBJnnmGFiAJ8zGa8S/7Rb1PyW9iIiIxZS/3/xg6gl2DonC07g+3d1S4pRRKJJ0Yfi/lXrExtrslZfBuCw73cafrfJz5NLHSHyl308w2ylD6Oz5oSYnM0ulVu3/xxJqhymAY8l0PunNFj3LBMAnPm9vlQjqFUp+u3hZ7YuGZwuA98yWbMQUl5ZojX1guJx6Ahhtk/03a6pNWjU4kqSB4wyjXdeuzRZPByYaxgojg==" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot" } ] } ] }, { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/Head", "@graph": [ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAULATZx0ceczSDhkuoT_wg1lM93KPDPAMmjWadJWp8n0/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]