Dreams:report: Difference between revisions

→‎Patterns: Fix link
(→‎Patterns: Fix link)
(→‎Patterns: Fix link)
Line 131: Line 131:
     ?report dreamst:P40 ?miljøportal .
     ?report dreamst:P40 ?miljøportal .
     OPTIONAL { ?pattern dreamst:P46 ?page }
     OPTIONAL { ?pattern dreamst:P46 ?page }
     BIND(CONCAT(STR(?miljøportal), IF(BOUND(?page), CONCAT(?page, " ↗"), " ↗")) AS ?link)
     BIND(IF(BOUND(?page), CONCAT(?page, " ↗"), " ↗") AS ?link)
     BIND(CONCAT("https://daieproddreamspdfsto.blob.core.windows.net/files/", STR(?miljøportal),  
     BIND(CONCAT("https://daieproddreamspdfsto.blob.core.windows.net/files/", STR(?miljøportal),  
                 IF(BOUND(?page), CONCAT("#page=", ?page), "")) AS ?linkUrl)
                 IF(BOUND(?page), CONCAT("#page=", ?page), "")) AS ?linkUrl)