[ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/Head", "@graph": [ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/pubinfo", "@graph": [ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-12T13:26:12.560+01:00", "@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/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/get-mvikg-entity-info" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get MVIKG external entity info" } ], "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" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/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": "b7p3Nt6zsIZ0qz6rXSJzoKmz4hS4Qx797CjYKb56YL/aUaQLS9R1gsutFjZNBkUcSuzd0Eb/3ZhlUctzIdIfHTyYvSd7D4dGwzm/Hc1oaW4B7AKtN+zKKlaX70UkSh8kmvCxrO7eWU5h3B+dszlSWzQeD9q46Xs6Il822MMYPYE=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAnvW1KtKMtPnQPuYD9KdXkp_eisHvZrZRW7s4psqRLW4/get-mvikg-entity-info", "http://purl.org/dc/terms/description": [ { "@value": "Key-value Info card for an external entity ('partid') that records of the MVIKG knowledge graph point at: an NCBI Taxonomy taxon, a UniProt gene entry or a PubMed Central article. Shows its identifier, kind and a link to its external page, and its name where a member of the mvikg space has published a nanopub describing the entity with an rdfs:label." } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get MVIKG external entity info" } ], "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 rdf: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \nprefix sosa: \nprefix biolink: \nprefix mvikg: \nprefix obo: \n\nselect ?Property_noheader ?Property_label ?Value_noheader ?Value_label where {\n {\n bind(1 as ?ord) bind(dct:identifier as ?Property_noheader) bind('Identifier:' as ?Property_label)\n bind(replace(replace(str(?_partid_iri), '^.*[/#]', ''), '_', ':') as ?Value_noheader) bind('' as ?Value_label)\n }\n union\n {\n {\n select (min(?l) as ?name) where {\n service {\n select (group_concat(distinct ?pk; separator=' ') as ?memberKeys) (group_concat(distinct ?apk; separator=' ') as ?adminKeys) where {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?sg . }\n graph ?sg {\n ?ri a gen:RoleInstantiation ; npa:forSpace ; npa:hasRoleType ?tier ; npa:forAgent ?agent .\n filter(?tier in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?pk .\n bind(if(?tier = gen:AdminRole, ?pk, '') as ?apk)\n }\n }\n }\n graph npa:graph {\n ?lnp npx:describes|npx:introduces ?_partid_iri ; np:hasAssertion ?la ; npa:hasValidSignatureForPublicKeyHash ?lpk .\n filter not exists { ?linv npx:invalidates ?lnp ; npa:hasValidSignatureForPublicKeyHash ?lpk . }\n }\n filter(contains(?memberKeys, ?lpk))\n graph ?la { ?_partid_iri rdfs:label ?l }\n }\n }\n filter(bound(?name))\n bind(2 as ?ord) bind(rdfs:label as ?Property_noheader) bind('Name:' as ?Property_label)\n bind(str(?name) as ?Value_noheader) bind('' as ?Value_label)\n }\n union\n {\n bind(3 as ?ord) bind(rdf:type as ?Property_noheader) bind('Kind:' as ?Property_label)\n bind(if(strstarts(str(?_partid_iri), 'http://purl.obolibrary.org/obo/NCBITaxon_'), 'Organism taxon (NCBI Taxonomy)',\n if(strstarts(str(?_partid_iri), 'https://www.uniprot.org/uniprot/'), 'Gene (UniProt entry)',\n if(strstarts(str(?_partid_iri), 'https://www.ncbi.nlm.nih.gov/pmc/articles/'), 'Source article (PubMed Central)', 'External entity'))) as ?Value_noheader)\n bind('' as ?Value_label)\n }\n union\n {\n bind(4 as ?ord) bind(rdfs:seeAlso as ?Property_noheader) bind('External page:' as ?Property_label)\n bind(if(strstarts(str(?_partid_iri), 'http://purl.obolibrary.org/obo/NCBITaxon_'), concat('https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=', strafter(str(?_partid_iri), 'http://purl.obolibrary.org/obo/NCBITaxon_')), str(?_partid_iri)) as ?url)\n bind(if(strstarts(str(?_partid_iri), 'http://purl.obolibrary.org/obo/NCBITaxon_'), 'NCBI Taxonomy', if(strstarts(str(?_partid_iri), 'https://www.uniprot.org/uniprot/'), 'UniProt', if(strstarts(str(?_partid_iri), 'https://www.ncbi.nlm.nih.gov/pmc/articles/'), 'PubMed Central', 'source'))) as ?site)\n bind(concat('', ?site, ' ↗') as ?Value_noheader) bind('' as ?Value_label)\n }\n}\norder by ?ord" } ] } ] } ]