[ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/get-nanopub-link-network", "http://purl.org/dc/terms/description": [ { "@value": "Returns every pair of nanopublications on the network where one links to the other, one row per link, with the type of each end so the network can be grouped and coloured by type. A link is any IRI in the assertion of one nanopublication that carries the artifact code of another loaded nanopublication, in any namespace (w3id.org/np/, w3id.org/spaces/..., Science Live, purl.org/np/, ...) and including sub-IRIs such as introduced or embedded resources. Column names follow the network view contract (gen:NetworkView). Used for the network figure in the talk 'Nanopublications in practice' at the Research Data Conference 2026." } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/publicdomain/zero/1.0/" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get all nanopublications that link to each other, with their types" } ], "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 np: \nprefix npx: \nprefix npa: \n\nselect ?source ?target (sample(?st) as ?source_type) (sample(?tt) as ?target_type) where {\n {\n select distinct ?source ?target where {\n # A link: the assertion of one nanopublication mentions an IRI that carries\n # another nanopublication's artifact code, in any namespace\n # (w3id.org/np/, w3id.org/spaces/..., Science Live, ...), including sub-IRIs.\n graph ?h { ?source np:hasAssertion ?a . }\n graph ?a { ?s ?p ?o . }\n filter(isIRI(?o) && regex(str(?o), \"RA[A-Za-z0-9_-]{43}\"))\n bind(replace(str(?o), \"^.*(RA[A-Za-z0-9_-]{43}).*$\", \"$1\") as ?code)\n graph npa:graph { ?target npa:artifactCode ?code . }\n filter(?target != ?source)\n }\n }\n # The type of each end, for grouping and colouring.\n optional { graph npa:graph { ?source npx:hasNanopubType ?st . } }\n optional { graph npa:graph { ?target npx:hasNanopubType ?tt . } }\n} group by ?source ?target\n" } ] } ] }, { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/Head", "@graph": [ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/pubinfo", "@graph": [ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-18T18:35:25.133+01:00", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0001-8492-0354" } ], "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/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/get-nanopub-link-network" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get all nanopublications that link to each other, with their types" } ], "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/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+i9DV8ynzO944pYkYsDwtlqJHuk+b7FQt6Bb4TIQSDX3jGUURn6WpaNwESHmgMLWSydaH5XlabMzuqpPL4iyB+IAzvwIxdJBLhe39EQMu2j+FZ/5d/xu/gO3nZw2KoEvJ7cJisabuI05OylIRSJ+OG5CmzFxnjojUEJeCFi1njY1InhXrb0yHud9b1ifzweoN6YYOBecKs1gTOaT2bf+t4Wgzg3M0PmRVZ4F0OALsnh4T5+x7kFtiPcDKNpORi585JjKCZ4kczIF6oUKcwgC0kmIY97jtLqSLcXRkxHx5CDI6qz4XlRFs1ZbCUdSlzjdPZAkaBcNem1gIhWzkHkEnQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "5LSEYTF4/q+OY8bYgnoVLpApa2ir+0pRQxpRCCafVZWCNfMV0+lMq9QGQii1pa8wl9eOTKgD8YNE8uTD530piaPnLU6Zoym8jKGO3K+zH9XKBisqrKWQYw9T9N8kgkGh2naKirg14IWDJmUOUD6JBiyGlG78O7rvteqYqxjwqioGzRHt1JZDvgdp0Kqb2yAcCp/n7v3VFICmP2ESryryYr5A4Kwobm/+bJtkaMJJBWsilyqsk+mQmZVdrwJasPRl2KbejjsRxFBuvQDrc/8T8t43hE6ARPjB68BOOrHx8scv8k4K/WlNiLQaFNGmHQ9Ormhln+cBV6GP6BKoL2Ipsg==" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0001-8492-0354" } ] } ] }, { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAklGDmnPQ7fFQHooT6ZRiCeeCMClN3ENOS3NdMKjyaFI/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0001-8492-0354" } ] } ] } ]