Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Lee

By: a guest on May 6th, 2009  |  syntax: None  |  size: 0.20 KB  |  views: 346  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }