16,603
edits
(→Pattern data: Add mitigation) |
(→Pattern data: Change display of labels) |
||
Line 21: | Line 21: | ||
OPTIONAL { ?pattern dreamst:P47 ?value_text } | OPTIONAL { ?pattern dreamst:P47 ?value_text } | ||
BIND(COALESCE(?value, ?value_text) AS ?value) | BIND(COALESCE(?value, ?value_text) AS ?value) | ||
BIND(CONCAT(COALESCE(?value_label, ""), | BIND(CONCAT(?value_text, " (", COALESCE(?value_label, ""), ")") AS ?valueLabel) | ||
} | } | ||
UNION | UNION | ||
Line 35: | Line 35: | ||
OPTIONAL { ?pattern dreamst:P49 ?value_text } | OPTIONAL { ?pattern dreamst:P49 ?value_text } | ||
BIND(COALESCE(?value, ?value_text) AS ?value) | BIND(COALESCE(?value, ?value_text) AS ?value) | ||
BIND(CONCAT(COALESCE(?value_label, ""), | BIND(CONCAT(?value_text, " (", COALESCE(?value_label, ""), ")") AS ?valueLabel) | ||
} | } | ||
UNION | UNION | ||
Line 49: | Line 49: | ||
OPTIONAL { ?pattern dreamst:P54 ?value_text } | OPTIONAL { ?pattern dreamst:P54 ?value_text } | ||
BIND(COALESCE(?value, ?value_text) AS ?value) | BIND(COALESCE(?value, ?value_text) AS ?value) | ||
BIND(CONCAT(COALESCE(?value_label, ""), | BIND(CONCAT(?value_text, " (", COALESCE(?value_label, ""), ")") AS ?valueLabel) | ||
} | } | ||
UNION | UNION | ||
Line 69: | Line 69: | ||
OPTIONAL { ?pattern dreamst:P53 ?value_text } | OPTIONAL { ?pattern dreamst:P53 ?value_text } | ||
BIND(COALESCE(?value, ?value_text) AS ?value) | BIND(COALESCE(?value, ?value_text) AS ?value) | ||
BIND(CONCAT(COALESCE(?value_label, ""), | BIND(CONCAT(?value_text, " (", COALESCE(?value_label, ""), ")") AS ?valueLabel) | ||
} | } | ||
UNION | UNION |