Skip to main content

Querying with Vague Quantifiers Using Probabilistic Semantics

  • Conference paper
  • First Online:
Flexible Query Answering Systems (FQAS 2017)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 10333))

Included in the following conference series:

Abstract

Many realistic scenarios call for answers to questions involving vague expressions like almost all, about half, or at least about a third. We present a modular extension of classical first-order queries over relational databases, with binary, proportional, semi-fuzzy quantifiers modeling such expressions via random sampling. The extended query language has an intuitive semantics and allows one to pose natural queries with probabilistic answers. This is also demonstrated by experiments with an implementation involving the (geographical) MONDIAL data set.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Although this is not a main concern in this work, we point out that a sampling based semantics may also be useful to compute quick, approximative answers in face of massive volumes of data. For example it might be useful to quickly obtain a highly, but not perfectly reliable answer to a query like Have at least about a quarter of all citizens lived abroad at some time? without having to visit each relevant entry in a huge database containing such data for all citizens.

  2. 2.

    Unary quantification, as in All are B and Some are B, can be considered as a special instance of binary quantification, where the range predicate A is suppressed since it is identified with the one satisfied by all elements of the range of discourse.

  3. 3.

    Actually the overall game is more involved than indicated here, since whole multisets of formulas have to be considered in general, when decomposing formulas into subformulas in accordance with the rules. For details we refer to [7].

  4. 4.

    As it is the distribution function of standard normally distributed random variables.

  5. 5.

    We use a simple definition, compatible with more complex notions of schema, which may assign, e.g., names and domains to attributes, and integrity constraints.

  6. 6.

    We remark that very large values of m do not usually occur in natural language.

  7. 7.

    MONDIAL database. (Last accessed January 30th, 2017). Retrieved from: https://www.dbis.informatik.uni-goettingen.de/Mondial/.

References

  1. Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases: The Logical Level. Addison-Wesley Longman Publishing Co. Inc., Boston (1995)

    Google Scholar 

  2. Agarwal, S., Mozafari, B., Panda, A., Milner, H., Madden, S., Stoica, I.: BlinkDB: queries with bounded errors and bounded response times on very large data. In Proceedings of the 8th ACM European Conference on Computer Systems, pp. 29–42. ACM (2013)

    Google Scholar 

  3. Cintula, P., Fermüller, C.G., Hájek, P., Noguera, C. (eds.): Handbook of Mathematical Fuzzy Logic (in three volumes). College Publications (2011/2015)

    Google Scholar 

  4. Delgado, M., Ruiz, M., Sánchez, D., Vila, M.: Fuzzy quantification: a state of the art. Fuzzy Sets Syst. 242, 1–30 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  5. Fermüller, C.G., Roschger, C.: Randomized game semantics for semi-fuzzy quantifiers. In: Greco, S., Bouchon-Meunier, B., Coletti, G., Fedrizzi, M., Matarazzo, B., Yager, R.R. (eds.) IPMU 2012. CCIS, vol. 300, pp. 632–641. Springer, Heidelberg (2012). doi:10.1007/978-3-642-31724-8_66

    Chapter  Google Scholar 

  6. Fermüller, C., Roschger, C.: Randomized game semantics for semi-fuzzy quantifiers. Log. J. IGPL 22(3), 413–439 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  7. Fermüller, C.G.: Semantic games for fuzzy logics. In: Cintula, P., Fermüller, C.G., Noguera, C. (eds.) Handbook of Mathematical Fuzzy Logic, vol. 3, pp. 969–1028. College Publications, London (2015)

    Google Scholar 

  8. Fernando, T., Kamp, H.: Expecting many. In: Semantics and Linguistic Theory, vol. 6, pp. 53–68 (1996)

    Google Scholar 

  9. Gibbons, P.B., Matias, Y.: New sampling-based summary statistics for improving approximate query answers. In: ACM SIGMOD Record, vol. 27, pp. 331–342. ACM (1998)

    Google Scholar 

  10. Giles, R.: A non-classical logic for physics. Studia Logica 33(4), 397–415 (1974)

    Article  MathSciNet  MATH  Google Scholar 

  11. Giles, R.: Semantics for fuzzy reasoning. Int. J. Man Mach. Stud. 17(4), 401–415 (1982)

    Article  MATH  Google Scholar 

  12. Glöckner, I.: Fuzzy Quantifiers: A Computational Theory. Studies in Fuzziness and Soft Computing, vol. 193. Springer, Heidelberg (2006)

    MATH  Google Scholar 

  13. Grimmett, G., Welsh, D.: Probability: An Introduction. Oxford University Press, New York (2014)

    MATH  Google Scholar 

  14. Kacprzyk, J., Zadrożny, S., De Tré, G.: Fuzziness in database management systems: half a century of developments and future prospects. Fuzzy Sets Syst. 281, 300–307 (2015)

    Article  MathSciNet  Google Scholar 

  15. Lappin, S.: An intensional parametric semantics for vague quantifiers. Linguist. Philos. 23(6), 599–620 (2000)

    Article  Google Scholar 

  16. Partee, B.: Many quantifiers. In: Proceedings of ESCOL, vol. 5, pp. 383–402 (1988)

    Google Scholar 

  17. Pérez, J., Arenas, M., Gutierrez, C.: Semantics and complexity of SPARQL. ACM Trans. Database Syst. (TODS) 34(3), 16 (2009)

    Article  Google Scholar 

  18. Pivert, O., Bosc, P.: Fuzzy Preference Queries to Relational Databases. World Scientific, Singapore (2012)

    Book  MATH  Google Scholar 

  19. Zadeh, L.: A computational approach to fuzzy quantifiers in natural languages. Comput. Math. Appl. 9(1), 149–184 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  20. Zadeh, L.: Fuzzy logic. IEEE Comput. 21(4), 83–93 (1988)

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by the Austrian Science Fund (FWF) projects I1897-N25 and W1255-N23.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Christian G. Fermüller or Matthias Hofer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Fermüller, C.G., Hofer, M., Ortiz, M. (2017). Querying with Vague Quantifiers Using Probabilistic Semantics. In: Christiansen, H., Jaudoin, H., Chountas, P., Andreasen, T., Legind Larsen, H. (eds) Flexible Query Answering Systems. FQAS 2017. Lecture Notes in Computer Science(), vol 10333. Springer, Cham. https://doi.org/10.1007/978-3-319-59692-1_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-59692-1_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-59691-4

  • Online ISBN: 978-3-319-59692-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics