. . . . "Lists the sequence variant records of the MVIKG knowledge graph that belong to a gene ('partid'), with the sample they were observed in, Sequence Ontology type, effect and review status. 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 variants of a gene" . . "prefix rdf: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \nprefix sosa: \nprefix biolink: \nprefix mvikg: \nprefix obo: \n\nselect ?variant ?variant_label ?sample ?sample_label ?type ?effect ?status ?np ?np_label where {\n {\n select ?variant ?np (sample(?l) as ?vl) (sample(coalesce(?samc, ?sam)) as ?sample) (min(?saml) as ?sl) (group_concat(distinct ?tl; separator=', ') as ?type) (sample(?e) as ?effect) (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\n graph ?a { ?_partid_iri biolink:has_sequence_variant ?variant . ?variant a biolink:SequenceVariant ; dct:isPartOf . }\n graph npa:graph {\n ?np np:hasAssertion ?a ; npx:introduces ?variant ; dct:created ?date ;\n npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n }\n filter(contains(?memberKeys, ?pubkey))\n optional {\n graph npa:graph {\n ?np2 npx:introduces ?variant ; dct:created ?date2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 .\n filter not exists { ?inv2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . }\n }\n filter(contains(?memberKeys, ?pubkey2) && concat(str(?date2), '>', str(?np2)) > concat(str(?date), '>', str(?np)))\n }\n filter(!bound(?np2))\n optional { graph ?a { ?variant rdfs:label ?l } }\n optional { graph ?a { ?variant mvikg:effect ?e } }\n optional { graph ?a { ?variant a ?t . filter(?t != biolink:SequenceVariant) } bind(if(?t = obo:SO_0000159, 'deletion', if(?t = obo:SO_0000667, 'insertion', if(?t = obo:SO_0000694, 'SNP', if(?t = obo:SO_0001483, 'SNV', if(?t = obo:SO_0001059, 'sequence alteration', if(?t = obo:SO_1000002, 'substitution', if(?t = obo:SO_1000032, 'delins', if(?t = obo:SO_0002007, 'MNV', replace(replace(str(?t), '^.*[/#]', ''), '_', ':'))))))))) as ?tl) }\n optional { graph ?a { ?_partid_iri sosa:isFeatureOfInterestOf ?sam } }\n optional {\n graph npa:graph {\n ?samonp npx:introduces ?sam . ?samnp npx:supersedes* ?samonp ; npx:introduces ?samc ; rdfs:label ?saml ;\n npa:hasValidSignatureForPublicKeyHash ?sampk .\n filter not exists { ?saminv npx:invalidates ?samnp ; npa:hasValidSignatureForPublicKeyHash ?sampk . }\n }\n }\n optional {\n values ?vpred { npx:approvesOf npx:disapprovesOf }\n graph ?va { ?vagent ?vpred ?np . }\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 ?variant ?np\n }\n bind(coalesce(str(?vl), replace(str(?variant), '^.*/np/', '')) as ?variant_label)\n bind(coalesce(str(?sl), replace(str(?sample), '^.*/np/', '')) as ?sample_label)\n bind(if(!bound(?mv), '⏳ pending', if(strends(?mv, 'd'), '🚫 rejected', '✅ approved')) as ?status)\n bind('^' as ?np_label)\n}\norder by ?variant_label" . . "2026-11-12T13:26:12.587+01:00"^^ . . . . "Get MVIKG variants of a gene" . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "HguU3mxaPNid16sHokcs+pOAYbB53kW3StSFQeQ6cCM7aJ1oqSf32YiqLfuv6cLMe3v+wpdKu36BPb/P5tao81zJfM+n+Uw9oHCua7c4CIETXzeIoVC9je+gouSIMKMg1/jwMEr/fdETkgq88Ia38jVjt0id552Ty7QbOXrBr+Y=" . . .