Nanopublication

< Home

ID

https://w3id.org/np/RAMJWiSJ0GvaRcSSOAlm5yAKl4bSHVZDFiAYX2BRpfk7s

Formats

.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt

Content

@prefix this: <https://w3id.org/np/RAMJWiSJ0GvaRcSSOAlm5yAKl4bSHVZDFiAYX2BRpfk7s> .
@prefix sub: <https://w3id.org/np/RAMJWiSJ0GvaRcSSOAlm5yAKl4bSHVZDFiAYX2BRpfk7s/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/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 <https://w3id.org/kpxl/grlc/grlc-query>;
    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 <https://creativecommons.org/licenses/by/4.0/>;
    rdfs:label "Get mvikg/r/kg landscape SVG";
    <https://w3id.org/kpxl/grlc/endpoint> <https://w3id.org/np/l/nanopub-query-1.1/repo/full>;
    <https://w3id.org/kpxl/grlc/sparql> """prefix npa: <http://purl.org/nanopub/admin/>
prefix gen: <https://w3id.org/kpxl/gen/terms/>
prefix npx: <http://purl.org/nanopub/x/>
prefix dct: <http://purl.org/dc/terms/>
prefix sosa: <http://www.w3.org/ns/sosa/>
prefix biolink: <https://w3id.org/biolink/vocab/>
prefix mvikg: <http://example.org/mvikg/>

select ?svg where {

  {
    select (count(distinct ?sampleThing) as ?nSample) where {
      
      graph ?da_s { ?sampleThing a <http://www.w3.org/ns/sosa/Sample> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_s . }
          graph ?g_s { ?ri_s a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_s . }
            graph ?g2_s { ?ri2_s a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/biolink/vocab/SequenceVariant> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_v . }
          graph ?g_v { ?ri_v a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_v . }
            graph ?g2_v { ?ri2_v a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/biolink/vocab/PhenotypicFeature> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_p . }
          graph ?g_p { ?ri_p a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_p . }
            graph ?g2_p { ?ri2_p a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <http://www.w3.org/ns/sosa/Sample> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_sv_s . }
          graph ?g_sv_s { ?ri_sv_s a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_sv_s . }
            graph ?g2_sv_s { ?ri2_sv_s a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/biolink/vocab/SequenceVariant> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_sv_v . }
          graph ?g_sv_v { ?ri_sv_v a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_sv_v . }
            graph ?g2_sv_v { ?ri2_sv_v a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/biolink/vocab/SequenceVariant> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_vp_v . }
          graph ?g_vp_v { ?ri_vp_v a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_vp_v . }
            graph ?g2_vp_v { ?ri2_vp_v a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/biolink/vocab/PhenotypicFeature> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_vp_p . }
          graph ?g_vp_p { ?ri_vp_p a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_vp_p . }
            graph ?g2_vp_p { ?ri2_vp_p a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <http://www.w3.org/ns/sosa/Sample> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_sp_s . }
          graph ?g_sp_s { ?ri_sp_s a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_sp_s . }
            graph ?g2_sp_s { ?ri2_sp_s a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/biolink/vocab/PhenotypicFeature> ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . }
      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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
          graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g_sp_p . }
          graph ?g_sp_p { ?ri_sp_p a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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 <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
            graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?g2_sp_p . }
            graph ?g2_sp_p { ?ri2_sp_p a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; 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(
    '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 260\" width=\"640\" height=\"260\">',
    '<circle cx=\"200\" cy=\"110\" r=\"90\" fill=\"#8ecae6\" opacity=\"0.55\"></circle>',
    '<circle cx=\"320\" cy=\"110\" r=\"90\" fill=\"#ffb703\" opacity=\"0.55\"></circle>',
    '<circle cx=\"260\" cy=\"190\" r=\"90\" fill=\"#90be6d\" opacity=\"0.55\"></circle>',
    '<text x=\"140\" y=\"70\" font-size=\"14\">Samples: ', str(?nSample), '</text>',
    '<text x=\"340\" y=\"70\" font-size=\"14\">Variants: ', str(?nVariant), '</text>',
    '<text x=\"230\" y=\"250\" font-size=\"14\">Phenotypes: ', str(?nPheno), '</text>',
    '<text x=\"255\" y=\"110\" font-size=\"13\">Sample-Variant: ', str(?nSampleVariant), '</text>',
    '<text x=\"290\" y=\"150\" font-size=\"13\">Variant-Phenotype: ', str(?nVariantPheno), '</text>',
    '<text x=\"190\" y=\"150\" font-size=\"13\">Sample-Phenotype: ', str(?nSamplePheno), '</text>',
    '</svg>'
  ) 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 <https://creativecommons.org/licenses/by/4.0/>;
    npx:embeds sub:get-kg-landscape-svg;
    rdfs:label "Get mvikg/r/kg landscape SVG";
    nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
    nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>,
      <https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
    nt:wasCreatedFromTemplate <https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k> .
  
  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 .
}