https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/Head https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://www.nanopub.org/nschema#hasAssertion https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/assertion https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://www.nanopub.org/nschema#hasProvenance https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/provenance https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://www.nanopub.org/nschema#hasPublicationInfo https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/pubinfo https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/assertion https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/get-mvikg-variant-phenotypes http://purl.org/dc/terms/description Lists the phenotype and antibiogram observation records associated with a sequence variant ('partid') of the MVIKG knowledge graph, with description, baseline, sample 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). https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/get-mvikg-variant-phenotypes http://purl.org/dc/terms/license https://creativecommons.org/licenses/by/4.0/ https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/get-mvikg-variant-phenotypes http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://w3id.org/kpxl/grlc/grlc-query https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/get-mvikg-variant-phenotypes http://www.w3.org/2000/01/rdf-schema#label Get MVIKG phenotypes of a variant https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/get-mvikg-variant-phenotypes https://w3id.org/kpxl/grlc/endpoint https://w3id.org/np/l/nanopub-query-1.1/repo/full https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/get-mvikg-variant-phenotypes https://w3id.org/kpxl/grlc/sparql prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dct: <http://purl.org/dc/terms/> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix npx: <http://purl.org/nanopub/x/> prefix gen: <https://w3id.org/kpxl/gen/terms/> prefix sosa: <http://www.w3.org/ns/sosa/> prefix biolink: <https://w3id.org/biolink/vocab/> prefix mvikg: <http://example.org/mvikg/> prefix obo: <http://purl.obolibrary.org/obo/> select ?phenotype ?phenotype_label ?description ?compared_to ?sample ?sample_label ?status ?np ?np_label where { { select ?phenotype ?np (sample(?l) as ?pl) (sample(?c) as ?description) (sample(?ct) as ?compared_to) (sample(coalesce(?samc, ?sam)) as ?sample) (min(?saml) as ?sl) (max(?verdict) as ?mv) where { service <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> { select (group_concat(distinct ?pk; separator=' ') as ?memberKeys) (group_concat(distinct ?apk; separator=' ') as ?adminKeys) where { graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?sg . } graph ?sg { ?ri a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/mvikg> ; npa:hasRoleType ?tier ; npa:forAgent ?agent . filter(?tier in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole)) ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?pk . bind(if(?tier = gen:AdminRole, ?pk, '') as ?apk) } } } { select distinct ?alias where { { bind(?_partid_iri as ?alias) } union { graph npa:graph { ?cur npx:introduces ?_partid_iri . ?cur npx:supersedes* ?old . ?old npx:introduces ?alias . } } } } graph ?a { ?phenotype mvikg:isAssociatedWithVariant ?alias . ?phenotype a biolink:PhenotypicFeature ; dct:isPartOf <https://w3id.org/spaces/mvikg/r/kg> . } graph npa:graph { ?np np:hasAssertion ?a ; npx:introduces ?phenotype ; dct:created ?date ; npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } } filter(contains(?memberKeys, ?pubkey)) optional { graph npa:graph { ?np2 npx:introduces ?phenotype ; dct:created ?date2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . filter not exists { ?inv2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . } } filter(contains(?memberKeys, ?pubkey2) && concat(str(?date2), '>', str(?np2)) > concat(str(?date), '>', str(?np))) } filter(!bound(?np2)) optional { graph ?a { ?phenotype rdfs:label ?l } } optional { graph ?a { ?phenotype rdfs:comment ?c } } optional { graph ?a { ?phenotype mvikg:comparedTo ?ct } } optional { graph ?a { ?phenotype sosa:isResultOf ?sam } } optional { graph npa:graph { ?samonp npx:introduces ?sam . ?samnp npx:supersedes* ?samonp ; npx:introduces ?samc ; rdfs:label ?saml ; npa:hasValidSignatureForPublicKeyHash ?sampk . filter not exists { ?saminv npx:invalidates ?samnp ; npa:hasValidSignatureForPublicKeyHash ?sampk . } } } optional { values ?vpred { npx:approvesOf npx:disapprovesOf } graph ?va { ?vagent ?vpred ?np . } graph npa:graph { ?vnp np:hasAssertion ?va ; dct:created ?vdate ; npa:hasValidSignatureForPublicKeyHash ?vpk . filter not exists { ?vinv npx:invalidates ?vnp ; npa:hasValidSignatureForPublicKeyHash ?vpk . } } filter(contains(?adminKeys, ?vpk)) bind(concat(str(?vdate), '>', if(?vpred = npx:disapprovesOf, 'd', 'a')) as ?verdict) } } group by ?phenotype ?np } bind(coalesce(str(?pl), replace(str(?phenotype), '^.*/np/', '')) as ?phenotype_label) bind(coalesce(str(?sl), replace(str(?sample), '^.*/np/', '')) as ?sample_label) bind(if(!bound(?mv), '⏳ pending', if(strends(?mv, 'd'), '🚫 rejected', '✅ approved')) as ?status) bind('^' as ?np_label) } order by ?phenotype_label https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/provenance https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/pubinfo https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://purl.org/dc/terms/created 2026-11-12T12:26:36.915+01:00 https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://purl.org/dc/terms/creator https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://purl.org/dc/terms/license https://creativecommons.org/licenses/by/4.0/ https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://purl.org/nanopub/x/embeds https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/get-mvikg-variant-phenotypes https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M http://www.w3.org/2000/01/rdf-schema#label Get MVIKG phenotypes of a variant https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8 https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/sig http://purl.org/nanopub/x/hasAlgorithm RSA https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/sig http://purl.org/nanopub/x/hasPublicKey MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/sig http://purl.org/nanopub/x/hasSignature e4dEqZgq4em6l1ELmPiEyiJPrZ75EEPOyi5gs9NxNZgch8uG6KsA+GD2EP/Adc0Scz5vpJ6BeurMxNZPZa5Y2tZXMwChyYQZm8jN2FK5OIybvklwkZLB52mHFP/oaPNLi/+SfSGeXfanODVte+6LF2P50oVWnpZ2lCj7yNfH3EE= https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/sig http://purl.org/nanopub/x/hasSignatureTarget https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M https://w3id.org/np/RAg11HQ_ijrRE1ufnrWBPISgSH4scD7WBb_gVOYhLwh6M/sig http://purl.org/nanopub/x/signedBy https://orcid.org/0000-0002-1267-0234