PREFIX dc: PREFIX ns: SELECT ?title ( ?p AS ?fullPrice ) ( ( ?fullPrice * ( "1"^^ - ?discount ) ) AS ?customerPrice ) WHERE { ?x ns:price ?p . ?x dc:title ?title . ?x ns:discount ?discount . }