|
| 1 | +# Evidence-appraisal rules in DNF (abstracted from a production rule set; |
| 2 | +# same selectors/disjuncts/conjuncts, polarities and olo:index ordering). |
| 3 | +@prefix evgrp: <http://a.example/evgrp/> . |
| 4 | +@prefix ex: <http://a.example/ns#> . |
| 5 | +@prefix olo: <http://purl.org/ontology/olo/core#> . |
| 6 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 7 | + |
| 8 | +<#pubbias> a ex:CorroborationRule, |
| 9 | + ex:Rule ; |
| 10 | + ex:action <#pubbias_action0> ; |
| 11 | + ex:label "publication-bias" ; |
| 12 | + ex:selector <#pubbias_selector0>, |
| 13 | + <#pubbias_selector1> . |
| 14 | + |
| 15 | +<#confound> a ex:Rule, |
| 16 | + ex:SingleEvidenceRule ; |
| 17 | + ex:action <#confound_action0> ; |
| 18 | + ex:label "confound-sensitive" ; |
| 19 | + ex:selector <#confound_selector0> . |
| 20 | + |
| 21 | +<#underpow> a ex:CorroborationRule, |
| 22 | + ex:Rule ; |
| 23 | + ex:action <#underpow_action0> ; |
| 24 | + ex:label "underpowered" ; |
| 25 | + ex:selector <#underpow_selector0>, |
| 26 | + <#underpow_selector1> . |
| 27 | + |
| 28 | +<#pubbias_action0> ex:message "publication-bias" ; |
| 29 | + ex:severity ex:Critical . |
| 30 | + |
| 31 | +<#pubbias_selector0> ex:or <#pubbias_selector0_or0>, |
| 32 | + <#pubbias_selector0_or1> ; |
| 33 | + olo:index 0 . |
| 34 | + |
| 35 | +<#pubbias_selector0_or0> ex:and <#pubbias_selector0_or0_and0>, |
| 36 | + <#pubbias_selector0_or0_and2>, |
| 37 | + <#pubbias_selector0_or0_and3> ; |
| 38 | + olo:index 0 . |
| 39 | + |
| 40 | +<#pubbias_selector0_or0_and0> ex:evidenceGroup evgrp:RecentCohorts ; |
| 41 | + ex:polarity ex:pos ; |
| 42 | + olo:index 0 . |
| 43 | + |
| 44 | +<#pubbias_selector0_or0_and2> ex:attribute ex:effectMeasure ; |
| 45 | + ex:eq ex:OddsRatio ; |
| 46 | + ex:polarity ex:pos ; |
| 47 | + olo:index 2 . |
| 48 | + |
| 49 | +<#pubbias_selector0_or0_and3> ex:attribute ex:effectMeasure ; |
| 50 | + ex:eq ex:AdjustedOddsRatio ; |
| 51 | + ex:polarity ex:neg ; |
| 52 | + olo:index 3 . |
| 53 | + |
| 54 | +<#pubbias_selector0_or1> ex:and <#pubbias_selector0_or1_and0>, |
| 55 | + <#pubbias_selector0_or1_and2> ; |
| 56 | + olo:index 1 . |
| 57 | + |
| 58 | +<#pubbias_selector0_or1_and0> ex:evidenceGroup evgrp:PeerReviewedCohorts ; |
| 59 | + ex:polarity ex:pos ; |
| 60 | + olo:index 0 . |
| 61 | + |
| 62 | +<#pubbias_selector0_or1_and2> ex:attribute ex:effectMeasure ; |
| 63 | + ex:eq ex:OddsRatio ; |
| 64 | + ex:polarity ex:pos ; |
| 65 | + olo:index 2 . |
| 66 | + |
| 67 | +<#pubbias_selector1> ex:or <#pubbias_selector1_or0> ; |
| 68 | + olo:index 1 . |
| 69 | + |
| 70 | +<#pubbias_selector1_or0> ex:and <#pubbias_selector1_or0_and0> ; |
| 71 | + olo:index 0 . |
| 72 | + |
| 73 | +<#pubbias_selector1_or0_and0> ex:attribute ex:pValue ; |
| 74 | + ex:ge 0.5 ; |
| 75 | + ex:polarity ex:pos ; |
| 76 | + olo:index 0 . |
| 77 | + |
| 78 | +<#confound_action0> ex:message "confound-sensitive" ; |
| 79 | + ex:severity ex:Critical . |
| 80 | + |
| 81 | +<#confound_selector0> ex:or <#confound_selector0_or0>, |
| 82 | + <#confound_selector0_or1> ; |
| 83 | + olo:index 0 . |
| 84 | + |
| 85 | +<#confound_selector0_or0> ex:and <#confound_selector0_or0_and0>, |
| 86 | + <#confound_selector0_or0_and1>, |
| 87 | + <#confound_selector0_or0_and2>, |
| 88 | + <#confound_selector0_or0_and3> ; |
| 89 | + ex:description """ |
| 90 | + RecentCohorts |
| 91 | +∧ in ConfoundedStudies |
| 92 | +∧ effectMeasure=OddsRatio |
| 93 | +∧ ¬effectMeasure=HazardRatio |
| 94 | + """ ; |
| 95 | + olo:index 0 . |
| 96 | + |
| 97 | +<#confound_selector0_or0_and0> ex:evidenceGroup evgrp:RecentCohorts ; |
| 98 | + ex:polarity ex:pos ; |
| 99 | + olo:index 0 . |
| 100 | + |
| 101 | +<#confound_selector0_or0_and1> ex:evidenceGroup evgrp:ConfoundedStudies ; |
| 102 | + ex:polarity ex:pos ; |
| 103 | + olo:index 1 . |
| 104 | + |
| 105 | +<#confound_selector0_or0_and2> ex:attribute ex:effectMeasure ; |
| 106 | + ex:eq ex:OddsRatio ; |
| 107 | + ex:polarity ex:pos ; |
| 108 | + olo:index 2 . |
| 109 | + |
| 110 | +<#confound_selector0_or0_and3> ex:attribute ex:effectMeasure ; |
| 111 | + ex:eq ex:HazardRatio ; |
| 112 | + ex:polarity ex:neg ; |
| 113 | + olo:index 3 . |
| 114 | + |
| 115 | +<#confound_selector0_or1> ex:and <#confound_selector0_or1_and0>, |
| 116 | + <#confound_selector0_or1_and1>, |
| 117 | + <#confound_selector0_or1_and2> ; |
| 118 | + ex:description """ |
| 119 | + PeerReviewedCohorts |
| 120 | +∧ in ConfoundedStudies |
| 121 | +∧ effectMeasure=OddsRatio |
| 122 | + """ ; |
| 123 | + olo:index 1 . |
| 124 | + |
| 125 | +<#confound_selector0_or1_and0> ex:evidenceGroup evgrp:PeerReviewedCohorts ; |
| 126 | + ex:polarity ex:pos ; |
| 127 | + olo:index 0 . |
| 128 | + |
| 129 | +<#confound_selector0_or1_and1> ex:evidenceGroup evgrp:ConfoundedStudies ; |
| 130 | + ex:polarity ex:pos ; |
| 131 | + olo:index 1 . |
| 132 | + |
| 133 | +<#confound_selector0_or1_and2> ex:attribute ex:effectMeasure ; |
| 134 | + ex:eq ex:OddsRatio ; |
| 135 | + ex:polarity ex:pos ; |
| 136 | + olo:index 2 . |
| 137 | + |
| 138 | +<#underpow_action0> ex:message "underpowered" ; |
| 139 | + ex:severity ex:Critical . |
| 140 | + |
| 141 | +<#underpow_selector0> ex:or <#underpow_selector0_or0>, |
| 142 | + <#underpow_selector0_or1> ; |
| 143 | + olo:index 0 . |
| 144 | + |
| 145 | +<#underpow_selector0_or0> ex:and <#underpow_selector0_or0_and0>, |
| 146 | + <#underpow_selector0_or0_and1>, |
| 147 | + <#underpow_selector0_or0_and2>, |
| 148 | + <#underpow_selector0_or0_and3> ; |
| 149 | + olo:index 0 . |
| 150 | + |
| 151 | +<#underpow_selector0_or0_and0> ex:evidenceGroup evgrp:RecentCohorts ; |
| 152 | + ex:polarity ex:pos ; |
| 153 | + olo:index 0 . |
| 154 | + |
| 155 | +<#underpow_selector0_or0_and1> ex:evidenceGroup evgrp:ConfoundedStudies ; |
| 156 | + ex:polarity ex:pos ; |
| 157 | + olo:index 1 . |
| 158 | + |
| 159 | +<#underpow_selector0_or0_and2> ex:attribute ex:effectMeasure ; |
| 160 | + ex:eq ex:OddsRatio ; |
| 161 | + ex:polarity ex:pos ; |
| 162 | + olo:index 2 . |
| 163 | + |
| 164 | +<#underpow_selector0_or0_and3> ex:attribute ex:effectMeasure ; |
| 165 | + ex:eq ex:HazardRatio ; |
| 166 | + ex:polarity ex:neg ; |
| 167 | + olo:index 3 . |
| 168 | + |
| 169 | +<#underpow_selector0_or1> ex:and <#underpow_selector0_or1_and0>, |
| 170 | + <#underpow_selector0_or1_and1>, |
| 171 | + <#underpow_selector0_or1_and2>, |
| 172 | + <#underpow_selector0_or1_and3> ; |
| 173 | + olo:index 1 . |
| 174 | + |
| 175 | +<#underpow_selector0_or1_and0> ex:evidenceGroup evgrp:PeerReviewedCohorts ; |
| 176 | + ex:polarity ex:pos ; |
| 177 | + olo:index 0 . |
| 178 | + |
| 179 | +<#underpow_selector0_or1_and1> ex:evidenceGroup evgrp:ConfoundedStudies ; |
| 180 | + ex:polarity ex:pos ; |
| 181 | + olo:index 1 . |
| 182 | + |
| 183 | +<#underpow_selector0_or1_and2> ex:attribute ex:effectMeasure ; |
| 184 | + ex:eq ex:OddsRatio ; |
| 185 | + ex:polarity ex:pos ; |
| 186 | + olo:index 2 . |
| 187 | + |
| 188 | +<#underpow_selector0_or1_and3> ex:evidenceGroup evgrp:PreregisteredStudies ; |
| 189 | + ex:polarity ex:neg ; |
| 190 | + olo:index 3 . |
| 191 | + |
| 192 | +<#underpow_selector1> ex:or <#underpow_selector1_or0> ; |
| 193 | + olo:index 1 . |
| 194 | + |
| 195 | +<#underpow_selector1_or0> ex:and <#underpow_selector1_or0_and0> ; |
| 196 | + olo:index 0 . |
| 197 | + |
| 198 | +<#underpow_selector1_or0_and0> ex:attribute ex:pValue ; |
| 199 | + ex:lt 0.25 ; |
| 200 | + ex:polarity ex:pos ; |
| 201 | + olo:index 0 . |
| 202 | + |
0 commit comments