Academia.eduAcademia.edu

Outline

Reformulating Aggregate Queries Using Views

2013, Symposium on Abstraction, Reformulation and Approximation

References (4)

  1. Big Picture score(M, S) score(M, S) Man of Steel 16600 Twilight 2550 views(M, S) views(M, S) Man of Steel 2000 Twilight 100
  2. What is the average rating of 'Man of Steel'? q('Man of Steel', A) t(M, W) t(M, W) Man of Steel f('Man of Steel', 16600) Man of Steel g('Man of Steel', 2000) sum(W, S) sum(W, S) f('Man of Steel', 16600) 16600 count(W, C) count(W, C)
  3. g('Man of Steel', 2000) 2000
  4. t('Man of Steel', W), sum('Man of Steel', S), count('Man of Steel', C), A = S / C q('Man of Steel', 8.3)