16,603
edits
(→Effects: Moved to projecttype-effect-index) |
(→Patterns: Switch ontology class and text) |
||
Line 98: | Line 98: | ||
OPTIONAL { ?pattern dreamst:P47 ?subject_text } | OPTIONAL { ?pattern dreamst:P47 ?subject_text } | ||
BIND(COALESCE(?subject, ?subject_text, "") AS ?subject) | BIND(COALESCE(?subject, ?subject_text, "") AS ?subject) | ||
BIND(CONCAT(COALESCE(?subject_label, ""), | BIND(CONCAT(?subject_text, " (", COALESCE(?subject_label, ""), ")") AS ?subjectLabel) | ||
OPTIONAL { | OPTIONAL { | ||
Line 108: | Line 108: | ||
OPTIONAL { ?pattern dreamst:P49 ?object_text } | OPTIONAL { ?pattern dreamst:P49 ?object_text } | ||
BIND(COALESCE(?object, ?object_text) AS ?object) | BIND(COALESCE(?object, ?object_text) AS ?object) | ||
BIND(CONCAT(COALESCE(?object_label, ""), | BIND(CONCAT(?object_text, " (", COALESCE(?object_label, ""), ")") AS ?objectLabel) | ||
OPTIONAL { | OPTIONAL { | ||
Line 118: | Line 118: | ||
OPTIONAL { ?pattern dreamst:P54 ?recipient_text } | OPTIONAL { ?pattern dreamst:P54 ?recipient_text } | ||
BIND(COALESCE(?recipient, ?recipient_text) AS ?recipient) | BIND(COALESCE(?recipient, ?recipient_text) AS ?recipient) | ||
BIND(CONCAT(COALESCE(?recipient_label, ""), | BIND(CONCAT(?recipient_text, " (", COALESCE(?recipient_label, ""), ")") AS ?recipientLabel) | ||
OPTIONAL { | OPTIONAL { | ||
Line 128: | Line 128: | ||
OPTIONAL { ?pattern dreamst:P53 ?mitigation_text } | OPTIONAL { ?pattern dreamst:P53 ?mitigation_text } | ||
BIND(COALESCE(?mitigation, ?mitigation_text) AS ?mitigation) | BIND(COALESCE(?mitigation, ?mitigation_text) AS ?mitigation) | ||
BIND(CONCAT(COALESCE(?mitigation_label, ""), | BIND(CONCAT(?mitigation_text, " (", COALESCE(?mitigation_label, ""), ")") AS ?migitationLabel) | ||
OPTIONAL { ?pattern dreamst:P18 ?quote . } | OPTIONAL { ?pattern dreamst:P18 ?quote . } |