Skip to main content

Constraints Modeling in Agricultural Databases

  • Chapter
  • First Online:

Part of the book series: Springer Optimization and Its Applications ((SOIA,volume 25))

Abstract

The size of agricultural databases continues to increase, and sources of information are growing more and more diversified. This is especially the case for databases dedicated to the traceability of agricultural practices. Some data are directly collected from the field using embedded devices; other data are entered by means of different computer-based applications. Once stored in the same database, all this information must be consistent to guarantee the quality of the data. This consistency issue is becoming a new challenge for agricultural databases, especially when complex data are stored (for instance, georeferenced information). To achieve consistency in a database, a precise, formal specification of the integrity constraints is needed. Indeed, database designers and administrators need a language that facilitates the conceptual modeling of this type of constraint . In this chapter, we introduce the Object Constraint Language (OCL ), using the example of an agricultural database for organic waste management. The example of a tool supporting OCL (the Dresden OCL Toolkit) and an overview of a spatial extension of the language will be also presented.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   169.99
Price excludes VAT (USA)
  • Durable hardcover 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

Learn about institutional subscriptions

References

  1. Cook, S., Daniels, J.: Designing Object Systems—Object Oriented Modeling with Syntropy. Prentice-Hall: New York (1994).

    Google Scholar 

  2. Demuth, B.: The Dresden OCL Toolkit and the Business Rules Approach. European Business Rules Conference (EBRC2005), Amsterdam, <http://st.inf.tu-dresden.de/files/papers/EBRC2005_Demuth.pdf> (2005).

  3. Demuth, B., Loecher, S., Zschaler, S.: Structure of the Dresden OCL Toolkit. In: 2nd International Fujaba Days “MDA with UML and Rule-based Object Manipulation.” Darmstadt, Germany, September 15–17 (2004).

    Google Scholar 

  4. Demuth, B., Hußmann, H., Loecher, S.: OCL as a Specification Language for Business Rules in Database Applications. Lecture Notes in Computer Science vol. 2185, 104–117. Springer: New York (2001).

    Google Scholar 

  5. Demuth, B., Hußmann, H.: Using UML /OCL Constraints for Relational Database Design. Lecture Notes in Computer Science vol. 1723, 598–613. Springer: New York (1999).

    Google Scholar 

  6. Duboisset, M, Pinet, F., Kang, M.A., Schneider, M.: Precise Modeling and Verification of Topological Integrity Constraints in Spatial Databases: From an Expressive Power Study to Code Generation Principles. Lecture Notes in Computer Science vol. 3716, 465–482. Springer: New York (2005).

    Google Scholar 

  7. Duboisset, M., Pinet, F., Kang, M.A., Schneider, M.: Integrating the Calculus-Based Method into OCL : Study of Expressiveness and Code Generation. DEXA Workshops, 502–506 (2005).

    Google Scholar 

  8. Egenhofer, M., Franzosa, R.: Point-Set Topological Spatial Relations. International Journal of Geographical Information Systems 5 (2) 161–174 (1991).

    Article  Google Scholar 

  9. Egenhofer, M., Herring, J.: Categorizing Binary Topological Relationships between Regions, Lines, and Points in Geographic Databases. Technical report. Department of Surveying Engineering, University of Maine, Orono, ME, 28 p. (1992).

    Google Scholar 

  10. Hasenohr, P., Pinet, F.: Modeling of a Spatial DSS Template in Support to the Common Agricultural Policy. Journal of Decision Systems 15 (2) 181–196 (2006).

    Article  Google Scholar 

  11. Klasse Objecten: OCL Tools and Services Web site, <http://www.klasse.nl/ocl> (2005).

  12. Kleppe, A., Warmer, J.: Object Constraint Language , the Getting your Models Ready for MDA . Addison-Wesley: Reading, MA (2003).

    Google Scholar 

  13. Melton, J., Simon, A.: Understanding the New SQL: A Complete Guide. Morgan Kaufmann (1993).

    Google Scholar 

  14. Miliauskaitė, E., Nemuraitė., L.: Representation of Integrity Constraints in Conceptual Models. Information Technology and Control, vol. 34 (4) 355–365 (2005).

    Google Scholar 

  15. OMG: OCL 2.0 specification. OMG specification, 185 p. (2005).

    Google Scholar 

  16. OMG: OMG MOF Web site, <http://www.omg.org/mof > (2007).

  17. Oracle Corp.: Oracle Spatial. User’s Guide and Reference. Oracle documentation (2005).

    Google Scholar 

  18. Pinet, F., Kang, M.A., Vigier, F.: Spatial Constraint Modelling with a GIS Extension of UML and OCL : Application to Agricultural Information Systems. Lecture Notes in Computer Science vol. 3511, 160–178. Springer: New York (2005).

    Google Scholar 

  19. Pinet, F., Duboisset, M., Soulignac, V.: Using UML and OCL to Maintain the Consistency of Spatial Data in Environmental Information Systems. Environmental Modelling and Software 22 (8) 1217–1220 (2007).

    Article  Google Scholar 

  20. Schmid, B., Warmer, J., Clark, T.: Object Modeling with the OCL : The Rationale Behind the Object Constraint Language . Springer: New York, 281 p. (2002).

    Google Scholar 

  21. Soulignac, V., Gibold, F., Pinet, F., Vigier, F.: Spreading Matter Management in France within Sigemo. In: Proceedings of the 5th European Conference for Information Technologies in Agriculture (EFITA 2005), Vila Real, Portugal, July 25–28, 8 p. (2005).

    Google Scholar 

  22. Türker, C., Gertz, M.: Semantic Integrity Support in SQL:1999 and Commercial (Object-) Relational Database Management Systems. The VLDB Journal 10 (4) 241–269 (2001).

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to François Pinet .

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Pinet, F., Duboisset, M., Demuth, B., Schneider, M., Soulignac, V., Barnabé, F. (2009). Constraints Modeling in Agricultural Databases. In: Advances in Modeling Agricultural Systems. Springer Optimization and Its Applications, vol 25. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-75181-8_4

Download citation

Publish with us

Policies and ethics