@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:list-strongest-claims a ; dct:description "Lists the Project Delphi claims whose weight of evidence reaches a given threshold, one row per claim, strongest first. The threshold is the optional parameter min_weight on the claim's own scale from 0 to 1; left empty it defaults to 0.7. Claims are found through the nanopublication type delphi:Claim (https://w3id.org/delphi/ontology/Claim), and of all validly signed, non-invalidated nanopublications that introduce a given claim only the newest by timestamp is read (ties broken by nanopublication URI), so a claim that was published more than once appears once, with its current content. The weight of evidence is the claim's own weight where it declares one -- delphi:weightOfEvidence, delphi:hasScore or npx:hasEvidenceWeight -- and is otherwise the score of the claim's overall assessment, that is the assessment it links to with delphi:hasAssessment whose delphi:assessmentType is a rubric and version alone (e.g. dataset-resolvability/0.2.0) or ends in '/overall', read from delphi:hasScore, delphi:hasProbability or delphi:weightOfEvidence, whichever that assessment carries. The verdict comes from the same overall assessment. Where a claim has several overall assessments, the newest one by nanopublication timestamp wins both columns. Claims with no weight at all are left out rather than treated as zero. Ordered by weight of evidence, highest first, then alphabetically by label."; dct:license ; rdfs:label "List the strongest Project Delphi claims"; ; """prefix rdfs: prefix dct: prefix xsd: prefix np: prefix npa: prefix npx: prefix delphi: select ?claim ?claim_label ?weight_of_evidence ?verdict ?date ?np (\"^\" as ?np_label) where { { select ?claim ?np ?date (min(?labelRank) as ?labelWin) (min(?claimWeightStr) as ?claimWeightWin) (max(?scoreRank) as ?scoreWin) (max(?verdictRank) as ?verdictWin) where { graph npa:graph { ?np npx:hasNanopubType delphi:Claim ; npa:hasValidSignatureForPublicKeyHash ?pubkey ; dct:created ?date ; npx:introduces ?claim ; np:hasAssertion ?a . filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } } filter not exists { graph npa:graph { ?np2 npx:hasNanopubType delphi:Claim ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 ; dct:created ?date2 ; npx:introduces ?claim . filter not exists { ?inv2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . } } filter(?date2 > ?date || (?date2 = ?date && str(?np2) > str(?np))) } graph ?a { ?claim a delphi:Claim . optional { ?claim rdfs:label ?label } } bind(concat(if(lang(?label) = \"\", \"1\", \"2\"), \"|\", str(?label)) as ?labelRank) optional { { graph ?a { ?claim delphi:weightOfEvidence ?claimWeight } } union { graph ?a { ?claim delphi:hasScore ?claimWeight } } union { graph ?a { ?claim npx:hasEvidenceWeight ?claimWeight } } bind(xsd:integer(round(?claimWeight * 100)) as ?claimWeightPct) bind(if(?claimWeightPct >= 100, \"1.00\", concat(\"0.\", if(?claimWeightPct < 10, concat(\"0\", str(?claimWeightPct)), str(?claimWeightPct)))) as ?claimWeightStr) } optional { graph ?gb { ?claim delphi:hasAssessment ?overall } graph npa:graph { ?onp npx:introduces ?overall ; np:hasAssertion ?oa ; np:hasPublicationInfo ?opi ; dct:created ?odate ; npa:hasValidSignatureForPublicKeyHash ?opubkey . filter not exists { ?oinv npx:invalidates ?onp ; npa:hasValidSignatureForPublicKeyHash ?opubkey . } } { graph ?oa { ?overall delphi:assessmentType ?atype } } union { graph ?opi { ?onp delphi:assessmentType ?atype } } filter(strends(str(?atype), \"/overall\") || regex(str(?atype), \"^[^/]+/[^/]+$\")) optional { graph ?oa { ?overall delphi:hasScore ?p0 } } optional { graph ?oa { ?overall delphi:hasProbability ?p1 } } optional { graph ?oa { ?overall delphi:weightOfEvidence ?p2 } } optional { graph ?oa { ?overall delphi:hasVerdict ?overallVerdict } } bind(coalesce(?p0, ?p1, ?p2) as ?overallScore) bind(xsd:integer(round(?overallScore * 100)) as ?overallPct) bind(concat(str(?odate), \"|\", if(?overallPct >= 100, \"1.00\", concat(\"0.\", if(?overallPct < 10, concat(\"0\", str(?overallPct)), str(?overallPct))))) as ?scoreRank) bind(concat(str(?odate), \"|\", str(?overallVerdict)) as ?verdictRank) } } group by ?claim ?np ?date } bind(strafter(?labelWin, \"|\") as ?claim_label) bind(if(bound(?verdictWin), strafter(?verdictWin, \"|\"), \"\") as ?verdict) bind(if(bound(?claimWeightWin), ?claimWeightWin, if(bound(?scoreWin), strafter(?scoreWin, \"|\"), \"\")) as ?weight_of_evidence) bind(coalesce(?__min_weight, \"0.7\") as ?minWeightStr) filter(?weight_of_evidence != \"\" && xsd:decimal(?weight_of_evidence) >= xsd:decimal(?minWeightStr)) } order by desc(xsd:decimal(?weight_of_evidence)) lcase(?claim_label)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0001-8492-0354 foaf:name "Ashley Caselli" . this: dct:created "2026-11-06T19:00:12.151Z"^^xsd:dateTime; dct:creator orcid:0000-0001-8492-0354; dct:license ; npx:embeds sub:list-strongest-claims; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCaQXE2B2hJ6QdWxaWerU4F/XOtCQdj2OkdrIYd1kpMY9hIUh8boxaO3uOBeqvvqKLf5HjpRF4DT1eghOSsa2Dhd5HRTM/XIamvwWkHpN4oB3Ml19pAAzjTqczYmFLfgG67mGL5+vSA8VEdHtKQCrvP4SpTibMBP1qaxt3k1tqD6wIDAQAB"; npx:hasSignature "bLE28VJbazXAtcTgPwCBDSGsHNP3t4RcdFCjs7HV8PgH22x44hHzxHnP4I3KfB4EtMT/MBlaKp67xwYz5fDvSmdchDgO8SN/5AxVgKllPivfzEAX0KlhJnCjg6l93/Tu5yAbUWDXMva460lGh7FWlMx9BLiDCmJiIpBnvISRhss="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0001-8492-0354 . }