. . . . "Key-value Info card for a sequence variant record ('partid') of the MVIKG knowledge graph: name, comment, Sequence Ontology type, gene, sample, effect, alleles, coordinates, length, frequency, evidence text, review status and defining nanopub. Rows of absent fields are omitted. Only records signed by a current admin, maintainer or member of the mvikg space count, in their newest non-invalidated version; the review status is the latest npx:approvesOf / npx:disapprovesOf verdict of a current mvikg admin on that version (none: pending)." . . . "Get MVIKG variant info" . . "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\n (group_concat(replace(str(?val), '[\\r\\n]+', ' '); separator='\\n') as ?Value_multi_val_noheader)\n (group_concat(replace(str(?vallabel), '[\\r\\n]+', ' '); separator='\\n') as ?Value_label_multi)\nwhere {\n {\n select ?ord ?Property_noheader ?Property_label ?val (min(?vallabelRaw) as ?vallabel) where {\n {\n select ?dnp ?da (max(?verdict) as ?mv) 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 ?dnp npx:introduces ?_partid_iri ; np:hasAssertion ?da ; dct:created ?ddate ;\n npa:hasValidSignatureForPublicKeyHash ?dpk .\n filter not exists { ?dinv npx:invalidates ?dnp ; npa:hasValidSignatureForPublicKeyHash ?dpk . }\n }\n filter(contains(?memberKeys, ?dpk))\n optional {\n values ?vpred { npx:approvesOf npx:disapprovesOf }\n graph ?va { ?vagent ?vpred ?dnp . }\n graph npa:graph {\n ?vnp np:hasAssertion ?va ; dct:created ?vdate ; npa:hasValidSignatureForPublicKeyHash ?vpk .\n filter not exists { ?vinv npx:invalidates ?vnp ; npa:hasValidSignatureForPublicKeyHash ?vpk . }\n }\n filter(contains(?adminKeys, ?vpk))\n bind(concat(str(?vdate), '>', if(?vpred = npx:disapprovesOf, 'd', 'a')) as ?verdict)\n }\n } group by ?dnp ?da ?ddate order by desc(?ddate) limit 1\n }\n { select ?da ?ord ?Property_noheader ?Property_label ?val0 ?lab0 where {\n {\n graph ?da { ?_partid_iri rdfs:label ?v }\n bind(1 as ?ord) bind(rdfs:label as ?Property_noheader) bind('Name:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri rdfs:comment ?v }\n bind(2 as ?ord) bind(rdfs:comment as ?Property_noheader) bind('Comment:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri rdf:type ?iri . filter(?iri != biolink:SequenceVariant) }\n bind(3 as ?ord) bind(rdf:type as ?Property_noheader) bind('Type:' as ?Property_label)\n bind(str(?iri) as ?val0) bind(if(?iri = obo:SO_0000159, 'deletion', if(?iri = obo:SO_0000667, 'insertion', if(?iri = obo:SO_0000694, 'SNP', if(?iri = obo:SO_0001483, 'SNV', if(?iri = obo:SO_0001059, 'sequence alteration', if(?iri = obo:SO_1000002, 'substitution', if(?iri = obo:SO_1000032, 'delins', if(?iri = obo:SO_0002007, 'MNV', replace(replace(str(?iri), '^.*[/#]', ''), '_', ':'))))))))) as ?lab0)\n }\n union\n {\n graph ?da { ?iri biolink:has_sequence_variant ?_partid_iri }\n bind(4 as ?ord) bind(biolink:has_sequence_variant as ?Property_noheader) bind('Gene:' as ?Property_label)\n bind(str(?iri) as ?val0) bind(replace(str(?iri), '^.*[/#]', '') as ?lab0)\n }\n union\n {\n graph ?da { ?gene biolink:has_sequence_variant ?_partid_iri ; sosa:isFeatureOfInterestOf ?iri }\n optional {\n graph npa:graph {\n ?onp npx:introduces ?iri . ?cnp npx:supersedes* ?onp ; npx:introduces ?ciri ; rdfs:label ?llab ;\n npa:hasValidSignatureForPublicKeyHash ?cpk .\n filter not exists { ?cinv npx:invalidates ?cnp ; npa:hasValidSignatureForPublicKeyHash ?cpk . }\n }\n }\n bind(5 as ?ord) bind(sosa:isFeatureOfInterestOf as ?Property_noheader) bind('Sample:' as ?Property_label)\n bind(str(coalesce(?ciri, ?iri)) as ?val0) bind(coalesce(str(?llab), replace(str(?iri), '^.*[/#]', '')) as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri mvikg:effect ?v }\n bind(6 as ?ord) bind(mvikg:effect as ?Property_noheader) bind('Effect:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri mvikg:ref ?v }\n bind(7 as ?ord) bind(mvikg:ref as ?Property_noheader) bind('Reference allele:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri mvikg:alt ?v }\n bind(8 as ?ord) bind(mvikg:alt as ?Property_noheader) bind('Alternate allele:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri biolink:start_coordinate ?v }\n bind(9 as ?ord) bind(biolink:start_coordinate as ?Property_noheader) bind('Start:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri biolink:end_coordinate ?v }\n bind(10 as ?ord) bind(biolink:end_coordinate as ?Property_noheader) bind('End:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri mvikg:length ?v }\n bind(11 as ?ord) bind(mvikg:length as ?Property_noheader) bind('Length:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri mvikg:frequencyValue ?v . optional { ?_partid_iri mvikg:frequencyUnit ?fu } }\n bind(12 as ?ord) bind(mvikg:frequencyValue as ?Property_noheader) bind('Frequency:' as ?Property_label)\n bind(concat(str(?v), if(coalesce(strends(str(?fu), 'PERCENT'), false), ' %', '')) as ?val0) bind('' as ?lab0)\n }\n union\n {\n graph ?da { ?_partid_iri mvikg:evidenceText ?v }\n bind(13 as ?ord) bind(mvikg:evidenceText as ?Property_noheader) bind('Evidence:' as ?Property_label)\n bind(str(?v) as ?val0) bind('' as ?lab0)\n }\n union\n {\n bind(15 as ?ord) bind(dct:isPartOf as ?Property_noheader) bind('Part of:' as ?Property_label)\n graph ?da { ?_partid_iri dct:isPartOf ?iri }\n bind(str(?iri) as ?val0) bind('MVIKG knowledge graph' as ?lab0)\n }\n } }\n union\n {\n bind(16 as ?ord) bind(npa:viaNanopub as ?Property_noheader) bind('Defined in:' as ?Property_label)\n bind('DNP' as ?val0)\n }\n union\n {\n bind(14 as ?ord) bind(npx:approvesOf as ?Property_noheader) bind('Review status:' as ?Property_label)\n bind('STATUS' as ?val0)\n }\n bind(if(?val0 = 'DNP', str(?dnp), if(?val0 = 'STATUS', if(!bound(?mv), '⏳ pending', if(strends(?mv, 'd'), '🚫 rejected', '✅ approved')), ?val0)) as ?val)\n bind(if(?val0 = 'DNP', substr(replace(str(?dnp), '^.*/np/', ''), 1, 10), if(?val0 = 'STATUS', '', ?lab0)) as ?vallabelRaw)\n } group by ?ord ?Property_noheader ?Property_label ?val\n }\n}\ngroup by ?ord ?Property_noheader ?Property_label\norder by ?ord" . . "2026-11-12T12:26:36.903+01:00"^^ . . . . "Get MVIKG variant info" . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "SrhQl1ghhRC0xXxZIgRaou8aoYiE61L6nqMUbf6IRikG9Za4wR4ZQPTPTFbaA3uKarAYr/qq5u5bpqqvf/OUfY9GnndZRgGMl4Nq1GLq7DnkBM6XS3Z4muQaeudQqfDR1f2NRkk0x75AEyzw/IE59IFmJ4FiPpj2T6r4ewmPIN4=" . . .