[ { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/Head", "@graph": [ { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0001-8492-0354", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Ashley Caselli" } ] }, { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-06T17:49:06.108Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0001-8492-0354" } ], "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/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/get-claim-assessments" } ], "http://purl.org/nanopub/x/wasCreatedAt": [ { "@id": "https://nanodash.knowledgepixels.com/" } ], "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "https://w3id.org/np/RAIeuY8SxuEhwwHaXrCBRpdet36U0_7QGqSwChYxly6fs" } ], "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/RAKc76yHLDbloE6ObluzYQsfX37v6qrZXbYeIKpe8-YUo" }, { "@id": "https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" }, { "@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/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCaQXE2B2hJ6QdWxaWerU4F/XOtCQdj2OkdrIYd1kpMY9hIUh8boxaO3uOBeqvvqKLf5HjpRF4DT1eghOSsa2Dhd5HRTM/XIamvwWkHpN4oB3Ml19pAAzjTqczYmFLfgG67mGL5+vSA8VEdHtKQCrvP4SpTibMBP1qaxt3k1tqD6wIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "R6dyenI1OEG/b/PP34b4Btw4EnPaXyA6RgXoi2NcAPh0TgfiiUxj6Lfox8WJ2MRkq/V3vOUhUoW7xWjG6uzqR2Foh0dVOFwsTz3BRoPnrGKHENyPgqu1zN2ehhzTG2eojH1f/JPL5IdB0vSELytY57RIuoSPINs81WNqm3jcL3I=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0001-8492-0354" } ] } ] }, { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAYm1myemYanJ4R7zk0Sj7ay6rYJhCzDRUSpW5HKOKong/get-claim-assessments", "http://purl.org/dc/terms/description": [ { "@value": "Lists the assessments of a claim, one row per assessment, for the page of that claim (its IRI passed as the 'claim' parameter). The assessments are the ones the claim is linked to by delphi:hasAssessment, wherever that triple is asserted -- in the claim's nanopublication or in the assessment's -- which is why this query runs on the full repository rather than on a type repository. An assessment is read from the nanopublication that introduces it or, for a per-dimension score, from the one that introduces the overall assessment it is part of (dct:isPartOf), since Project Delphi publishes the dimension scores inside the overall assessment's nanopublication; of all validly signed, non-invalidated nanopublications introducing that resource, only the newest is read (ties broken by nanopublication URI), so a re-assessed claim appears once, with its current scores. The criterion is the rubric concept the assessment names with dct:subject, a delphi:Concept, shown by its label; an assessment whose delphi:assessmentType (on the assessment in the assertion graph, or on the nanopublication in pubinfo) is a rubric and version alone, such as dataset-resolvability/0.2.0, or ends in '/overall' is the overall assessment, named 'Overall'; a criterion with no published concept falls back to the last segment of its assessment type. The score is the assessment's delphi:hasScore, else its delphi:hasProbability or delphi:weightOfEvidence, on the rubric's scale from 0 to 1 rounded to two decimals. The model is the one the assessment names with delphi:assessedBy, or the one the software agent it is attributed to (prov:wasAttributedTo) uses (delphi:usesModel), labelled from the assessment's nanopublication. A claim assessed by several models has one block of rows per model. Ordered by model, then with the overall assessment first, then alphabetically by criterion." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the assessments of a claim" } ], "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 rdfs: \r\nprefix dct: \r\nprefix xsd: \r\nprefix prov: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix delphi: \r\n\r\nselect ?criterion ?score ?verdict ?model ?model_label ?np (\"^\" as ?np_label) where {\r\n {\r\n select ?as ?np\r\n (min(?criterionV) as ?criterion)\r\n (min(?ordV) as ?ord)\r\n (min(?scoreV) as ?score)\r\n (min(?verdictV) as ?verdict)\r\n (min(?modelStrV) as ?modelStr)\r\n (min(?modelLabelV) as ?model_label)\r\n where {\r\n values ?_claim_multi_iri {}\r\n graph ?gl { ?_claim_multi_iri delphi:hasAssessment ?as }\r\n # An assessment is defined by the nanopublication that introduces it, or, for a\r\n # per-dimension score, by the one that introduces the overall assessment it is part of.\r\n {\r\n graph npa:graph { ?np npx:introduces ?as }\r\n bind(?as as ?root)\r\n } union {\r\n graph ?gp { ?as dct:isPartOf ?root }\r\n graph npa:graph { ?np npx:introduces ?root }\r\n }\r\n graph npa:graph {\r\n ?np np:hasAssertion ?aa ;\r\n np:hasPublicationInfo ?api ;\r\n dct:created ?date ;\r\n npa:hasValidSignatureForPublicKeyHash ?pubkey .\r\n filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\r\n }\r\n graph ?aa { ?as a delphi:LLMClaimAssessment }\r\n filter not exists {\r\n graph npa:graph {\r\n ?np2 npx:introduces ?root ;\r\n np:hasAssertion ?a2 ;\r\n dct:created ?date2 ;\r\n npa:hasValidSignatureForPublicKeyHash ?pubkey2 .\r\n filter not exists { ?inv2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . }\r\n }\r\n graph ?a2 { ?root a delphi:LLMClaimAssessment }\r\n filter(?date2 > ?date || (?date2 = ?date && str(?np2) > str(?np)))\r\n }\r\n { graph ?aa { ?as delphi:assessmentType ?atype } }\r\n union\r\n { graph ?api { ?np delphi:assessmentType ?atype } }\r\n bind(strends(str(?atype), \"/overall\") || regex(str(?atype), \"^[^/]+/[^/]+$\") as ?isOverall)\r\n optional {\r\n graph ?aa { ?as dct:subject ?rubric }\r\n graph ?cg { ?rubric a delphi:Concept ; rdfs:label ?rubricLabel }\r\n }\r\n bind(if(?isOverall, \"Overall\",\r\n coalesce(?rubricLabel, replace(str(?atype), \"^.*/\", \"\"))) as ?criterionV)\r\n bind(if(?isOverall, \"0\", concat(\"1\", ?criterionV)) as ?ordV)\r\n optional { graph ?aa { ?as delphi:hasScore ?p0 } }\r\n optional { graph ?aa { ?as delphi:hasProbability ?p1 } }\r\n optional { graph ?aa { ?as delphi:weightOfEvidence ?p2 } }\r\n bind(coalesce(?p0, ?p1, ?p2) as ?sc)\r\n bind(xsd:integer(round(?sc * 100)) as ?pct)\r\n bind(if(?pct >= 100, \"1.00\",\r\n concat(\"0.\", if(?pct < 10, concat(\"0\", str(?pct)), str(?pct)))) as ?scoreV)\r\n optional { graph ?aa { ?as delphi:hasVerdict ?verdictV } }\r\n optional {\r\n { graph ?aa { ?as delphi:assessedBy ?modelV } }\r\n union\r\n { graph ?aa { ?as prov:wasAttributedTo ?agent . ?agent delphi:usesModel ?modelV } }\r\n bind(str(?modelV) as ?modelStrV)\r\n optional { graph ?aa { ?modelV rdfs:label ?modelLabelV } }\r\n }\r\n } group by ?as ?np\r\n }\r\n bind(iri(?modelStr) as ?model)\r\n}\r\norder by ?model_label ?ord ?criterion" } ] } ] } ]