Dreams:report: Difference between revisions

(→‎Patterns: Interchanged lines)
Line 167: Line 167:
       BIND(CONCAT("#effect/", SUBSTR(STR(?mitigation), 38)) AS ?mitigationUrl)
       BIND(CONCAT("#effect/", SUBSTR(STR(?mitigation), 38)) AS ?mitigationUrl)
     }
     }
     OPTIONAL { ?pattern dreamst:P53 ?recipient_text }
     OPTIONAL { ?pattern dreamst:P53 ?mitigation_text }
     BIND(COALESCE(?recipient, ?recipient_text) AS ?recipient)
     BIND(COALESCE(?mitigation, ?mitigation_text) AS ?mitigation)
     BIND(CONCAT(COALESCE(?recipient_label, ""), ' (', ?recipient_text, ')') AS ?recipientLabel)
     BIND(CONCAT(COALESCE(?mitigation_label, ""), ' (', ?mitigation_text, ')') AS ?mitigationLabel)


     OPTIONAL { ?pattern dreamst:P18 ?quote . }
     OPTIONAL { ?pattern dreamst:P18 ?quote . }