Dreams:effect: Difference between revisions

→‎Is affected by: Change significance display
(→‎Affects: Change significance display)
(→‎Is affected by: Change significance display)
Line 143: Line 143:
   OPTIONAL { ?pattern dreamst:P18 ?quote . }
   OPTIONAL { ?pattern dreamst:P18 ?quote . }
   OPTIONAL { ?pattern dreamst:P20 ?report . }
   OPTIONAL { ?pattern dreamst:P20 ?report . }
   OPTIONAL {
 
  ?pattern dreamst:P21 ?significance_ .
   OPTIONAL { ?pattern dreamst:P21 / dreamst:P44 ?symbol . }
  BIND(IF(?significance_ = dreams:Q178, "🔴",
  BIND(IF(BOUND(?symbol), ?symbol, "❓") AS ?significance)
        IF(?significance_ = dreams:Q176, "🔴🔴",
 
        IF(?significance_ = dreams:Q225, "😐",
        IF(?significance_ = dreams:Q231, "😀😀",
        IF(?significance_ = dreams:Q232, "😀",
        "❓"))))) AS ?significance)
  }
   OPTIONAL { ?pattern dreamst:P19 ?project_phase . }
   OPTIONAL { ?pattern dreamst:P19 ?project_phase . }
   OPTIONAL { ?pattern dreamst:P16 ?project_type . }
   OPTIONAL { ?pattern dreamst:P16 ?project_type . }