[
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/pubinfo",
"@graph": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E",
"http://purl.org/dc/terms/created": [
{
"@value": "2026-11-09T16:24:24Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"http://purl.org/dc/terms/creator": [
{
"@id": "https://orcid.org/0009-0005-5515-1230"
}
],
"http://purl.org/dc/terms/license": [
{
"@id": "https://creativecommons.org/licenses/by/4.0/"
}
],
"http://purl.org/nanopub/x/embeds": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/get-kg-pending-phenotypes"
}
],
"http://purl.org/nanopub/x/supersedes": [
{
"@id": "https://w3id.org/np/RASVMNF3n8Nfdvhl5k2bCb5vMTnsog0Fzf6BD9TRsz4OY"
},
{
"@id": "https://w3id.org/np/RAWRiPLt84YkXP3l4MZe1P9sKYswFY_8bXFRCke1kITck"
}
],
"http://www.w3.org/2000/01/rdf-schema#label": [
{
"@value": "Get mvikg/r/kg pending phenotypes"
}
],
"http://www.w3.org/2004/02/skos/core#changeNote": [
{
"@value": "Replaced the supersedes-chain exclusion filter with the project's standard resolution pattern (npa:graph + npx:introduces + npa:hasValidSignatureForPublicKey, excluding npx:invalidates), matching how the real builder picks a resource's current defining nanopub. This requires the content nanopub to re-introduce the SAME stable entity IRI on every version (now fixed for the two phenotype records that had drifted to a fresh IRI per publish). Label now checks both the entity's own label and the nanopub-level label, preferring whichever is present (samples only have the latter, phenotypes only the former)."
}
],
"https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [
{
"@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU"
}
],
"https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [
{
"@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8"
},
{
"@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI"
}
],
"https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [
{
"@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k"
}
]
},
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/sig",
"http://purl.org/nanopub/x/hasAlgorithm": [
{
"@value": "RSA"
}
],
"http://purl.org/nanopub/x/hasPublicKey": [
{
"@value": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjO3oH8Lq/l1oZIUY3FlCz5DnndybGvAhBdmEJ/yq7Nv3GZEYPrEro23rCBCp0GiriOXlVbk61pA/7JFE6tqzTresINW6QQMxE9sIhCBlX4cG66JFD8ud6bMvUyzCR8LQA6zfrSbafGE06rvglJd4MDUcTwvUKqtL9UCnOaowVfnZ3sPOe9EqlmJuO3iHGxBSXMPOPEJZUzMXsFDWFuMZTnrR8gY3r5nVF5a8L/MD135ZH8qW5yGXOB28CmVYCAbw2o07QEKzyzFKN+W1gfnprYZvuKzwGexnzcdzc1S8N/M5bzhWQ40EKCEqgUE8c81OzEMm1HUlUKEJ/o5I/FKKAwIDAQAB"
}
],
"http://purl.org/nanopub/x/hasSignature": [
{
"@value": "MQZsMM2iRRmb/OsqKz7MO5V72QEYGf/TuKCpuq/NcPEl0ZPatePsbyaeqr/0LUqxvTMm66nSMg2YK1LZ98j1ik/dsBU88yVJ/OrdwdUQD7QSxmYx/wEq7zp8RvaQL6dYR72zkrGBIMjBK0fOXb8Tq5vLku+4K+/ZjMNWvtOOj3XzTeOUlh62TFvRvo0w1S69WyoTfIIchap+BPwMZ7+moY3KoWUploCbJDd9C8vLQ4sek/PruYz/qbip2H8zCSdw1N0UoEL4BgXdUMiUou+uX6Hg+TTue5japL8HXkp8d8KPbs7uTghJtrN+uHJHwJOjBsLqQHHUwe1pD0K/JGdn5Q=="
}
],
"http://purl.org/nanopub/x/hasSignatureTarget": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E"
}
],
"http://purl.org/nanopub/x/signedBy": [
{
"@id": "https://orcid.org/0009-0005-5515-1230"
}
]
}
]
},
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/assertion",
"@graph": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/get-kg-pending-phenotypes",
"http://purl.org/dc/terms/description": [
{
"@value": "Lists mvikg/r/kg phenotype records whose approval status is 'pending' (latest admin npx:approvesOf/disapprovesOf verdict from a current mvikg admin decides the status; no verdict means pending). One row per record: its label, who created it and when."
}
],
"http://purl.org/dc/terms/license": [
{
"@id": "https://creativecommons.org/licenses/by/4.0/"
}
],
"@type": [
"https://w3id.org/kpxl/grlc/grlc-query"
],
"http://www.w3.org/2000/01/rdf-schema#label": [
{
"@value": "Get mvikg/r/kg pending phenotypes"
}
],
"https://w3id.org/kpxl/grlc/endpoint": [
{
"@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full"
}
],
"https://w3id.org/kpxl/grlc/sparql": [
{
"@value": "prefix npa: \nprefix gen: \nprefix npx: \nprefix dct: \nprefix rdfs: \nprefix foaf: \n\nselect distinct ?Name ?ModifiedBy ?Modified_noheader ?approve_target ?reject_target ?np ?np_label where {\n {\n select distinct ?dnp ?label ?creator ?created where {\n {\n select ?stableThing ?dnp where {\n graph npa:graph {\n ?dnp npx:introduces ?stableThing ; dct:created ?ddateRaw ; npa:hasValidSignatureForPublicKey ?pubkey .\n filter not exists { ?inv npx:invalidates ?dnp ; npa:hasValidSignatureForPublicKey ?pubkey . }\n }\n filter not exists {\n graph npa:graph {\n ?dnp2 npx:introduces ?stableThing ; dct:created ?ddate2Raw ; npa:hasValidSignatureForPublicKey ?pubkey2 .\n filter not exists { ?inv2 npx:invalidates ?dnp2 ; npa:hasValidSignatureForPublicKey ?pubkey2 . }\n }\n filter(?ddate2Raw > ?ddateRaw)\n }\n }\n }\n bind(iri(concat(str(?dnp), '/assertion')) as ?da)\n graph ?da { ?stableThing a ; dct:isPartOf . }\n bind(iri(concat(str(?dnp), '/pubinfo')) as ?pi)\n graph ?pi { ?dnp dct:creator ?creator ; dct:created ?createdRaw . }\n bind(replace(str(?createdRaw), '[.]000Z$', 'Z') as ?created)\n optional { graph ?da { ?stableThing rdfs:label ?lblEntity } }\n optional { graph ?pi { ?dnp rdfs:label ?lblPub } }\n bind(coalesce(?lblEntity, ?lblPub, str(?stableThing)) as ?label)\n }\n }\n optional {\n graph ?vda { ?admin ?verdictPred ?dnp . filter(?verdictPred in (npx:approvesOf, npx:disapprovesOf)) }\n filter(exists {\n service {\n graph npa:graph { npa:hasCurrentSpaceState ?g . }\n graph ?g { ?ri a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin ; npa:hasRoleType gen:AdminRole . }\n }\n })\n bind(iri(replace(str(?vda), '/assertion$', '')) as ?vnp)\n graph ?vpi { ?vnp dct:created ?vcreatedRaw . }\n bind(xsd:dateTime(?vcreatedRaw) as ?vcreated)\n filter not exists {\n graph ?vda2 { ?admin2 ?verdictPred2 ?dnp . filter(?verdictPred2 in (npx:approvesOf, npx:disapprovesOf)) }\n filter(exists {\n service {\n graph npa:graph { npa:hasCurrentSpaceState ?g2 . }\n graph ?g2 { ?ri2 a gen:RoleInstantiation ; npa:forSpace ; npa:forAgent ?admin2 ; npa:hasRoleType gen:AdminRole . }\n }\n })\n bind(iri(replace(str(?vda2), '/assertion$', '')) as ?vnp2)\n graph ?vpi2 { ?vnp2 dct:created ?vcreated2Raw . }\n filter(xsd:dateTime(?vcreated2Raw) > ?vcreated)\n }\n optional { graph ?vda { ?vda rdfs:comment ?reason } }\n }\n bind(if(bound(?verdictPred), if(?verdictPred = npx:approvesOf, 'approved', 'rejected'), 'pending') as ?finalStatus)\n filter(?finalStatus = 'pending')\n bind(str(?dnp) as ?np) bind('^' as ?np_label)\n bind(?label as ?Name)\n optional { ?creator foaf:name ?cname }\n bind(coalesce(?cname, replace(str(?creator), '^.*/', '')) as ?ModifiedBy)\n bind(?created as ?Modified_noheader)\n bind(npx:approvesOf as ?approve_target)\n bind(npx:disapprovesOf as ?reject_target)\n }"
}
]
}
]
},
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/Head",
"@graph": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E",
"http://www.nanopub.org/nschema#hasAssertion": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/assertion"
}
],
"http://www.nanopub.org/nschema#hasProvenance": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/provenance"
}
],
"http://www.nanopub.org/nschema#hasPublicationInfo": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/pubinfo"
}
],
"@type": [
"http://www.nanopub.org/nschema#Nanopublication"
]
}
]
},
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/provenance",
"@graph": [
{
"@id": "https://w3id.org/np/RAqTBqyZje23Q00EZhkDOd4GyncgH3nxXSS82vz6WaM2E/assertion",
"http://www.w3.org/ns/prov#wasAttributedTo": [
{
"@id": "https://orcid.org/0009-0005-5515-1230"
}
]
}
]
}
]