# filename: ex139.rq PREFIX e: SELECT ?description ?amount ((?amount * .2) AS ?tip) ((?amount + ?tip) AS ?total) WHERE { ?meal e:description ?description ; e:amount ?amount . }