16,603
edits
(→Patterns: Removed quotation mark) |
|||
Line 36: | Line 36: | ||
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(COALESCE(?subject_label, ""), ' (', ?subject_text, ')') AS ?subjectLabel) | ||
OPTIONAL { | OPTIONAL { | ||
Line 46: | Line 46: | ||
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(COALESCE(?object_label, ""), ' (', ?object_text, ')') AS ?objectLabel) | ||
OPTIONAL { | OPTIONAL { | ||
Line 56: | Line 56: | ||
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(COALESCE(?recipient_label, ""), ' (', ?recipient_text, ')') AS ?recipientLabel) | ||
OPTIONAL { ?pattern dreamst:P18 ?quote . } | OPTIONAL { ?pattern dreamst:P18 ?quote . } |