@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-kg-landscape-svg a ; dct:description "Count-only landscape figure for mvikg/r/kg: the number of currently-approved samples, variants and phenotypes, and the number of approved cross-type associations among them (sample-variant via the shared gene, variant-phenotype via mvikg:isAssociatedWithVariant, sample-phenotype via sosa:isResultOf). Returns one row with a single ready-to-embed svg column; no geometric area-proportional layout, just three labelled circles with the counts written on them."; dct:license ; rdfs:label "Get mvikg/r/kg landscape SVG"; ; """prefix npa: prefix gen: prefix npx: prefix dct: prefix sosa: prefix biolink: prefix mvikg: select ?svg where { { select (count(distinct ?sampleThing) as ?nSample) where { graph ?da_s { ?sampleThing a ; dct:isPartOf . } bind(iri(replace(str(?da_s), '/assertion$', '')) as ?dnp_s) graph ?vda_s { ?admin_s ?verdictPred_s ?dnp_s . filter(?verdictPred_s in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_s . } graph ?g_s { ?ri_s a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_s ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_s), '/assertion$', '')) as ?vnp_s) graph ?vpi_s { ?vnp_s dct:created ?vcreatedRaw_s . } bind(xsd:dateTime(?vcreatedRaw_s) as ?vcreated_s) filter not exists { graph ?vda2_s { ?admin2_s ?verdictPred2_s ?dnp_s . filter(?verdictPred2_s in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_s . } graph ?g2_s { ?ri2_s a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_s ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_s), '/assertion$', '')) as ?vnp2_s) graph ?vpi2_s { ?vnp2_s dct:created ?vcreated2Raw_s . } filter(xsd:dateTime(?vcreated2Raw_s) > ?vcreated_s) } filter(?verdictPred_s = npx:approvesOf) } } { select (count(distinct ?variantThing) as ?nVariant) where { graph ?da_v { ?variantThing a ; dct:isPartOf . } bind(iri(replace(str(?da_v), '/assertion$', '')) as ?dnp_v) graph ?vda_v { ?admin_v ?verdictPred_v ?dnp_v . filter(?verdictPred_v in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_v . } graph ?g_v { ?ri_v a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_v ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_v), '/assertion$', '')) as ?vnp_v) graph ?vpi_v { ?vnp_v dct:created ?vcreatedRaw_v . } bind(xsd:dateTime(?vcreatedRaw_v) as ?vcreated_v) filter not exists { graph ?vda2_v { ?admin2_v ?verdictPred2_v ?dnp_v . filter(?verdictPred2_v in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_v . } graph ?g2_v { ?ri2_v a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_v ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_v), '/assertion$', '')) as ?vnp2_v) graph ?vpi2_v { ?vnp2_v dct:created ?vcreated2Raw_v . } filter(xsd:dateTime(?vcreated2Raw_v) > ?vcreated_v) } filter(?verdictPred_v = npx:approvesOf) } } { select (count(distinct ?phenoThing) as ?nPheno) where { graph ?da_p { ?phenoThing a ; dct:isPartOf . } bind(iri(replace(str(?da_p), '/assertion$', '')) as ?dnp_p) graph ?vda_p { ?admin_p ?verdictPred_p ?dnp_p . filter(?verdictPred_p in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_p . } graph ?g_p { ?ri_p a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_p ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_p), '/assertion$', '')) as ?vnp_p) graph ?vpi_p { ?vnp_p dct:created ?vcreatedRaw_p . } bind(xsd:dateTime(?vcreatedRaw_p) as ?vcreated_p) filter not exists { graph ?vda2_p { ?admin2_p ?verdictPred2_p ?dnp_p . filter(?verdictPred2_p in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_p . } graph ?g2_p { ?ri2_p a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_p ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_p), '/assertion$', '')) as ?vnp2_p) graph ?vpi2_p { ?vnp2_p dct:created ?vcreated2Raw_p . } filter(xsd:dateTime(?vcreated2Raw_p) > ?vcreated_p) } filter(?verdictPred_p = npx:approvesOf) } } { select (count(distinct ?gene) as ?nSampleVariant) where { graph ?da_sv_s { ?sampleThing a ; dct:isPartOf . } bind(iri(replace(str(?da_sv_s), '/assertion$', '')) as ?dnp_sv_s) graph ?vda_sv_s { ?admin_sv_s ?verdictPred_sv_s ?dnp_sv_s . filter(?verdictPred_sv_s in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_sv_s . } graph ?g_sv_s { ?ri_sv_s a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_sv_s ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_sv_s), '/assertion$', '')) as ?vnp_sv_s) graph ?vpi_sv_s { ?vnp_sv_s dct:created ?vcreatedRaw_sv_s . } bind(xsd:dateTime(?vcreatedRaw_sv_s) as ?vcreated_sv_s) filter not exists { graph ?vda2_sv_s { ?admin2_sv_s ?verdictPred2_sv_s ?dnp_sv_s . filter(?verdictPred2_sv_s in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_sv_s . } graph ?g2_sv_s { ?ri2_sv_s a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_sv_s ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_sv_s), '/assertion$', '')) as ?vnp2_sv_s) graph ?vpi2_sv_s { ?vnp2_sv_s dct:created ?vcreated2Raw_sv_s . } filter(xsd:dateTime(?vcreated2Raw_sv_s) > ?vcreated_sv_s) } filter(?verdictPred_sv_s = npx:approvesOf) graph ?da_sv_v { ?variantThing a ; dct:isPartOf . } bind(iri(replace(str(?da_sv_v), '/assertion$', '')) as ?dnp_sv_v) graph ?vda_sv_v { ?admin_sv_v ?verdictPred_sv_v ?dnp_sv_v . filter(?verdictPred_sv_v in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_sv_v . } graph ?g_sv_v { ?ri_sv_v a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_sv_v ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_sv_v), '/assertion$', '')) as ?vnp_sv_v) graph ?vpi_sv_v { ?vnp_sv_v dct:created ?vcreatedRaw_sv_v . } bind(xsd:dateTime(?vcreatedRaw_sv_v) as ?vcreated_sv_v) filter not exists { graph ?vda2_sv_v { ?admin2_sv_v ?verdictPred2_sv_v ?dnp_sv_v . filter(?verdictPred2_sv_v in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_sv_v . } graph ?g2_sv_v { ?ri2_sv_v a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_sv_v ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_sv_v), '/assertion$', '')) as ?vnp2_sv_v) graph ?vpi2_sv_v { ?vnp2_sv_v dct:created ?vcreated2Raw_sv_v . } filter(xsd:dateTime(?vcreated2Raw_sv_v) > ?vcreated_sv_v) } filter(?verdictPred_sv_v = npx:approvesOf) graph ?gda { ?gene sosa:isFeatureOfInterestOf ?sampleThing ; biolink:has_sequence_variant ?variantThing . } } } { select (count(distinct ?phenoThing) as ?nVariantPheno) where { graph ?da_vp_v { ?variantThing a ; dct:isPartOf . } bind(iri(replace(str(?da_vp_v), '/assertion$', '')) as ?dnp_vp_v) graph ?vda_vp_v { ?admin_vp_v ?verdictPred_vp_v ?dnp_vp_v . filter(?verdictPred_vp_v in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_vp_v . } graph ?g_vp_v { ?ri_vp_v a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_vp_v ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_vp_v), '/assertion$', '')) as ?vnp_vp_v) graph ?vpi_vp_v { ?vnp_vp_v dct:created ?vcreatedRaw_vp_v . } bind(xsd:dateTime(?vcreatedRaw_vp_v) as ?vcreated_vp_v) filter not exists { graph ?vda2_vp_v { ?admin2_vp_v ?verdictPred2_vp_v ?dnp_vp_v . filter(?verdictPred2_vp_v in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_vp_v . } graph ?g2_vp_v { ?ri2_vp_v a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_vp_v ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_vp_v), '/assertion$', '')) as ?vnp2_vp_v) graph ?vpi2_vp_v { ?vnp2_vp_v dct:created ?vcreated2Raw_vp_v . } filter(xsd:dateTime(?vcreated2Raw_vp_v) > ?vcreated_vp_v) } filter(?verdictPred_vp_v = npx:approvesOf) graph ?da_vp_p { ?phenoThing a ; dct:isPartOf . } bind(iri(replace(str(?da_vp_p), '/assertion$', '')) as ?dnp_vp_p) graph ?vda_vp_p { ?admin_vp_p ?verdictPred_vp_p ?dnp_vp_p . filter(?verdictPred_vp_p in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_vp_p . } graph ?g_vp_p { ?ri_vp_p a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_vp_p ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_vp_p), '/assertion$', '')) as ?vnp_vp_p) graph ?vpi_vp_p { ?vnp_vp_p dct:created ?vcreatedRaw_vp_p . } bind(xsd:dateTime(?vcreatedRaw_vp_p) as ?vcreated_vp_p) filter not exists { graph ?vda2_vp_p { ?admin2_vp_p ?verdictPred2_vp_p ?dnp_vp_p . filter(?verdictPred2_vp_p in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_vp_p . } graph ?g2_vp_p { ?ri2_vp_p a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_vp_p ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_vp_p), '/assertion$', '')) as ?vnp2_vp_p) graph ?vpi2_vp_p { ?vnp2_vp_p dct:created ?vcreated2Raw_vp_p . } filter(xsd:dateTime(?vcreated2Raw_vp_p) > ?vcreated_vp_p) } filter(?verdictPred_vp_p = npx:approvesOf) graph ?vpda { ?phenoThing mvikg:isAssociatedWithVariant ?variantThing . } } } { select (count(distinct ?phenoThing) as ?nSamplePheno) where { graph ?da_sp_s { ?sampleThing a ; dct:isPartOf . } bind(iri(replace(str(?da_sp_s), '/assertion$', '')) as ?dnp_sp_s) graph ?vda_sp_s { ?admin_sp_s ?verdictPred_sp_s ?dnp_sp_s . filter(?verdictPred_sp_s in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_sp_s . } graph ?g_sp_s { ?ri_sp_s a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_sp_s ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_sp_s), '/assertion$', '')) as ?vnp_sp_s) graph ?vpi_sp_s { ?vnp_sp_s dct:created ?vcreatedRaw_sp_s . } bind(xsd:dateTime(?vcreatedRaw_sp_s) as ?vcreated_sp_s) filter not exists { graph ?vda2_sp_s { ?admin2_sp_s ?verdictPred2_sp_s ?dnp_sp_s . filter(?verdictPred2_sp_s in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_sp_s . } graph ?g2_sp_s { ?ri2_sp_s a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_sp_s ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_sp_s), '/assertion$', '')) as ?vnp2_sp_s) graph ?vpi2_sp_s { ?vnp2_sp_s dct:created ?vcreated2Raw_sp_s . } filter(xsd:dateTime(?vcreated2Raw_sp_s) > ?vcreated_sp_s) } filter(?verdictPred_sp_s = npx:approvesOf) graph ?da_sp_p { ?phenoThing a ; dct:isPartOf . } bind(iri(replace(str(?da_sp_p), '/assertion$', '')) as ?dnp_sp_p) graph ?vda_sp_p { ?admin_sp_p ?verdictPred_sp_p ?dnp_sp_p . filter(?verdictPred_sp_p in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g_sp_p . } graph ?g_sp_p { ?ri_sp_p a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin_sp_p ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda_sp_p), '/assertion$', '')) as ?vnp_sp_p) graph ?vpi_sp_p { ?vnp_sp_p dct:created ?vcreatedRaw_sp_p . } bind(xsd:dateTime(?vcreatedRaw_sp_p) as ?vcreated_sp_p) filter not exists { graph ?vda2_sp_p { ?admin2_sp_p ?verdictPred2_sp_p ?dnp_sp_p . filter(?verdictPred2_sp_p in (npx:approvesOf, npx:disapprovesOf)) } filter(exists { service { graph npa:graph { npa:hasCurrentSpaceState ?g2_sp_p . } graph ?g2_sp_p { ?ri2_sp_p a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2_sp_p ; npa:hasRoleType gen:AdminRole . } } }) bind(iri(replace(str(?vda2_sp_p), '/assertion$', '')) as ?vnp2_sp_p) graph ?vpi2_sp_p { ?vnp2_sp_p dct:created ?vcreated2Raw_sp_p . } filter(xsd:dateTime(?vcreated2Raw_sp_p) > ?vcreated_sp_p) } filter(?verdictPred_sp_p = npx:approvesOf) graph ?spda { ?phenoThing sosa:isResultOf ?sampleThing . } } } bind(concat( '', '', '', '', 'Samples: ', str(?nSample), '', 'Variants: ', str(?nVariant), '', 'Phenotypes: ', str(?nPheno), '', 'Sample-Variant: ', str(?nSampleVariant), '', 'Variant-Phenotype: ', str(?nVariantPheno), '', 'Sample-Phenotype: ', str(?nSamplePheno), '', '' ) as ?svg) }""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0009-0005-5515-1230 . } sub:pubinfo { this: dct:created "2026-11-09T12:32:36Z"^^xsd:dateTime; dct:creator orcid:0009-0005-5515-1230; dct:license ; npx:embeds sub:get-kg-landscape-svg; rdfs:label "Get mvikg/r/kg landscape SVG"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjO3oH8Lq/l1oZIUY3FlCz5DnndybGvAhBdmEJ/yq7Nv3GZEYPrEro23rCBCp0GiriOXlVbk61pA/7JFE6tqzTresINW6QQMxE9sIhCBlX4cG66JFD8ud6bMvUyzCR8LQA6zfrSbafGE06rvglJd4MDUcTwvUKqtL9UCnOaowVfnZ3sPOe9EqlmJuO3iHGxBSXMPOPEJZUzMXsFDWFuMZTnrR8gY3r5nVF5a8L/MD135ZH8qW5yGXOB28CmVYCAbw2o07QEKzyzFKN+W1gfnprYZvuKzwGexnzcdzc1S8N/M5bzhWQ40EKCEqgUE8c81OzEMm1HUlUKEJ/o5I/FKKAwIDAQAB"; npx:hasSignature "ioZZ3ZEs8kxJtZSkyaBHse2nBaEcjiE4tWuU0HyxBZC+RYCOCLAVKlGJjswYhgdWCQK5qvxhwEKKA3rumZzoFcYLUyRvLk77TBhhophEGEIEpg6HC2f+7tAPUo6rsdle+LhfPmqNtLrmWlFeiB/lra262KKOu9hlAIBUMXb19FwxRohOTSNp/eROSuVQKaZxXRUa7jt6Y/ZB0BzUZWMmLUzDUOP2xmG1uMEI3cDc8Ms7OEKwPEoc3OkqKrvCxE/B+Hj6eKLOrSR86U2BKKIOMGu7lC4VVEFLSPS8cSmc8Iaxx6WBTT1j3L2C16ko1j0V8INfW3ZRr0kyHtia21xf3Q=="; npx:hasSignatureTarget this:; npx:signedBy orcid:0009-0005-5515-1230 . }