16,603
edits
(→Pattern data: Add project type from report) |
(→Pattern data: Fix in project type) |
||
Line 42: | Line 42: | ||
BIND("Project type" AS ?description) | BIND("Project type" AS ?description) | ||
?pattern dreamst:P16 ?value_from_pattern . | ?pattern dreamst:P16 ?value_from_pattern . | ||
?pattern dreamst:P20 / dreamst:P16 ?value_from_report . | { ?pattern dreamst:P16 ?value_from_pattern . } | ||
UNION | |||
{ ?pattern dreamst:P20 / dreamst:P16 ?value_from_report . } | |||
BIND(COALESCE(?value_from_pattern, ?value_from_report) AS ?value) | BIND(COALESCE(?value_from_pattern, ?value_from_report) AS ?value) | ||
BIND(CONCAT("#projecttype/", SUBSTR(STR(?value), 38)) AS ?valueUrl) | BIND(CONCAT("#projecttype/", SUBSTR(STR(?value), 38)) AS ?valueUrl) |