16,603
edits
(→Pattern data: Subject class/text) |
(→Pattern data: Object class/text) |
||
Line 24: | Line 24: | ||
UNION | UNION | ||
{ | { | ||
BIND( | BIND(2 AS ?order) | ||
BIND("Object ( | BIND("Object (affected)" AS ?description) | ||
?pattern dreamst:P34 ?value . | OPTIONAL { | ||
?pattern dreamst:P34 ?value . | |||
?value rdfs:label ?value_label . | |||
FILTER (LANG(?value_label) = 'da') | |||
} | |||
OPTIONAL { ?pattern dreamst:P49 ?value_text } | |||
BIND(CONCAT(COALESCE(?value_label, ""), ' ("', ?value_text, '")') AS ?valueLabel) | |||
BIND(CONCAT("#effect/", SUBSTR(STR(?value), 38)) AS ?valueUrl) | BIND(CONCAT("#effect/", SUBSTR(STR(?value), 38)) AS ?valueUrl) | ||
} | } |