Skip to main content

Probabilistic Programs: Contextuality and Relational Database Theory

  • Conference paper
  • First Online:
Quantum Interaction (QI 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10106))

Included in the following conference series:

Abstract

[6] have introduced a contextual probability theory called Contextuality-by-Default (C-b-D) which is based on three principles. The first of these principles states that each random variable should be automatically labeled by all condition under which it is recorded. The aim of this article is to relate this principle to block structured computer programming languages where variables are declared local to a construct called a “scope”. In this way a variable declared in two scopes can be safely overloaded meaning that they can have the same label but preserve two distinct identities without the need for the modeller to label each variable in each condition as advocated by C-b-D. A core issue addressed is how to construct a single probabilistic model from the various interim probability distributions returned by each syntactic scope. For this purpose, a probabilistic variant of the natural join operator of relational algebra is used to “glue” together interim distributions into a single distribution. The semantics of this join operator are related to contextual semantics [1].

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

References

  1. Abramsky, S.: Contextual semantics: from quantum mechanics to logic, databases, constraints, and complexity. Bull. EATCS 2(113) (2015)

    Google Scholar 

  2. Abramsky, S., Barbosa, R., Mansfield, S.: Quantifying contextuality via linear programming. In: Proceedings of the 13th Interational Conference on Quantum Physics and Logic (QPL 2016) (2016)

    Google Scholar 

  3. Abramsky, S., Brandenburger, A.: The sheaf-theoretic structure of non-locality and contextuality. New J. Phys. 13(11), 113036 (2011)

    Article  Google Scholar 

  4. Benazson, J., Karpinski, S., Shah, V., Edelman, A.: Julia: a fast dynamic language for technical computing. arXiv:1209.5145 (2012)

  5. Bruza, P.D.: Syntax and operational semantics of a probabilistic programming language with scopes. J. Math. Psychol. (2016, in press). doi:10.1016/j.jmp.2016.06.006

  6. Dzhafarov, E., Kujala, J.: Probabilistic contextuality in EPR/Bohm-type systems with signaling allowed. In: Dzhafarov, E. (ed.) Contextuality from Quantum Physics to Psychology, chap. 12, pp. 287–308. World Scientific Press, New Jersey (2015)

    Google Scholar 

  7. Dzhafarov, R., Kujala, J.: Selectivity in probabilistic causality: where psychology runs into quantum physics. J. Math. Psychol. 56(1), 54–63 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  8. Gyssens, M., Paredaens, J.: A decomposition methodology for cyclic databases. In: Gallaire, H., Minker, J., Nicolas, J.M. (eds.) Advances in Database Theory, vol. 2, pp. 85–122. Springer, New York (1984)

    Google Scholar 

  9. Liu, W., Yue, K., Li, W.: Constructing the Bayesian network structure from dependencies implied in multiple relational schemas. Expert Syst. Appl. 38, 7123–7134 (2011)

    Article  Google Scholar 

  10. Wong, S.: An extended relational model for probabilistic reasoning. J. Intell. Inf. Syst. 9, 181–202 (1997)

    Article  Google Scholar 

  11. Wong, S.: The relational structure of belief networks. J. Intell. Inf. Syst. 16, 117–148 (2001)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to P. D. Bruza .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Bruza, P.D., Abramsky, S. (2017). Probabilistic Programs: Contextuality and Relational Database Theory. In: de Barros, J., Coecke, B., Pothos, E. (eds) Quantum Interaction. QI 2016. Lecture Notes in Computer Science(), vol 10106. Springer, Cham. https://doi.org/10.1007/978-3-319-52289-0_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-52289-0_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-52288-3

  • Online ISBN: 978-3-319-52289-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics