SHARE
TWEET

Lee

a guest May 6th, 2009 359 Never
  1. SELECT ?product (?qty * ?cost AS ?total)
  2. {
  3.   ?product :cost ?cost ; :quantity ?qty
  4. }
  5.  
  6. vs.
  7.  
  8. SELECT ?product ?total
  9. {
  10.   ?product :cost ?cost ; :quantity ?qty
  11.   LET { ?total := ?cost * ?qty }
  12. }
RAW Paste Data
Top