NoSQL and SQL data modeling: bringing together data, semantics, and software Hills All Chapters Instant Download
NoSQL and SQL data modeling: bringing together data, semantics, and software Hills All Chapters Instant Download
com
https://ebookmass.com/product/nosql-and-sql-data-modeling-
bringing-together-data-semantics-and-software-hills/
OR CLICK HERE
DOWLOAD NOW
https://ebookmass.com/product/getting-started-with-sql-and-databases-
managing-and-manipulating-data-with-sql-mark-simon/
ebookmass.com
https://ebookmass.com/product/getting-started-with-sql-and-databases-
managing-and-manipulating-data-with-sql-1st-edition-mark-simon/
ebookmass.com
https://ebookmass.com/product/applied-data-analysis-and-modeling-for-
energy-engineers-and-scientists/
ebookmass.com
https://ebookmass.com/product/psychoanalytic-case-formulation-1st-
edition-ebook-pdf/
ebookmass.com
Hope on the Range Cindi Madsen
https://ebookmass.com/product/hope-on-the-range-cindi-madsen-3/
ebookmass.com
https://ebookmass.com/product/total-chemical-synthesis-of-
proteins-1st-edition-ashraf-brik/
ebookmass.com
https://ebookmass.com/product/civil-war-in-central-
europe-1918-1921-the-reconstruction-of-poland-bohler/
ebookmass.com
https://ebookmass.com/product/psychic-whispers-psychic-mystery-
romance-woodward-hill-mystery-romance-book-1-arial-burnz-burnz/
ebookmass.com
https://ebookmass.com/product/sustainable-energy-towards-a-zero-
carbon-economy-using-chemistry-electrochemistry-and-catalysis-julian-
r-h-ross/
ebookmass.com
Bombshell (Judgement Series Book 1) Abbi Glines
https://ebookmass.com/product/bombshell-judgement-series-book-1-abbi-
glines/
ebookmass.com
Bringing Together
Data, Semantics, and Software
first edition
Ted Hills
Published by:
2 Lindsley Road
Basking Ridge, NJ 07920 USA
https://www.TechnicsPub.com
Cover design by John Fiorentino
Technical reviews by Laurel Shifrin, Dave Wells, and Steve Hoberman
All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording or by any information storage and retrieval system, without written
permission from the publisher, except for the inclusion of brief quotations in a review.
The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of
any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential
damages in connection with or arising out of the use of the information or programs contained herein.
All trade and product names are trademarks, registered trademarks, or service marks of their respective companies, and
are the property of their respective holders and should be treated as such.
Copyright © 2016 by Theodore S. Hills, [email protected]
ISBN, print ed. 9781634621090
ISBN, Kindle ed. 9781634621106
ISBN, ePub ed. 9781634621113
ISBN, PDF ed. 9781634621120
First Printing 2016
Library of Congress Control Number: 2016930173
To my wife Daphne Woods, who
has always believed in me, and
gave me the space and support
I needed to write this book.
Contents at a Glance
Chapter Glossary
Part II The Tyranny of Confusion
Chapter 5 Entity-Relationship Modeling
Logical E-R Data Models
Multiple Levels of Abstraction
Limitations of E-R Modeling Notation
NoSQL Arrays and Nested Data Structures
Lack of Reusable Composite Types
Lack of Place
Modeling the Real World
Representing Individual Entities
Mapping Between Models
Data in Software
Terminology
Entity
Conceptual
E-R Terms Mapped to COMN Terms
References
Chapter 6 The Unified Modeling Language
Class Diagrams
Stereotyping
Terminology
Relationship, Composition and Aggregation
Type and Implementation Class
UML Terms Mapped to COMN Terms
References
Chapter 7 Fact-Based Modeling Notations
Facts and Relationships
Limitations of Fact-Based Modeling
Lack of Instances
Incompleteness
Difficulty
Terminology
Fact-Based Modeling Terms Mapped to COMN Terms
References
Chapter 8 Semantic Notations
Predicates and RDF Statements
Doubles and Quadruples
OWL
Graphical Notations for Semantics
Terminology
Chapter 9 Object-Oriented Programming Languages
Classes, Objects, Types, and Variables
Terminology
Part III Freedom in Meaning
Chapter 10 Objects and Classes
Material Objects
Objects with States
Meaning of States
Objects with More States
Methods
Material Objects in Computers
Summary
Summary
Chapter Glossary
Chapter 11 Types in Data and Software
Types in Programming and Databases
What Does a Type Tell Us?
Subclasses
Subtypes and Extensions: Perfect Together
Inheritance
Using Subtype Variables and Values
Using Extending Types and Classes
Data Object
Chapter Glossary
Chapter 15 Relationships and Roles
Arrivals and Departures
Labeling Relationship Lines
Cleaning Up the Model
Summary
References
Part IV Case Study
Chapter 18 The Common Coffee Shop
Analysis: Documenting Real-World Entities
Logical Data Modeling: Designing the Data
Physical Data Modeling: Designing the Implementation
APPENDIX COMN Quick Reference
Glossary
Photo and Illustration Credits
Index
Acknowledgements
I am very grateful to Tony Shaw of Dataversity for giving me the opportunity to present
this new modeling notation to a wider audience, first at the NoSQL Now! conference in
San Jose in 2015, and then at the Enterprise Data World conference in San Diego in 2016.
Daniel Upton attended my workshop at the NoSQL Now! conference, and introduced me
to Steve Hoberman, data modeling enthusiast, leading author, and publisher. I met with
Steve to talk about my ideas. Steve accepted my proposal for this book, and that is how it
came into being.
The fundamental ideas behind concept and object modeling notation arose from my work
on object-oriented programming language design, and from tackling the difficult problem
of integrating objects and data. In the latter effort, I was helped tremendously by the many
writings of C. J. Date, most especially Foundations for Future Database Systems: The
Third Manifesto, Second Edition (by C. J. Date and Hugh Darwen). I had the opportunity
to correspond with and speak to Mr. Date about this topic, and this finally enabled me to
perceive the difference between data and objects. Mr. Date is not aware of the debt I owe
him for the clarity of his thinking on all things relational. One should not read this
acknowledgement as his endorsement of my ideas.
I have had the opportunity to discuss the Concept and Object Modeling Notation
(COMN), and the ideas behind it, with colleagues at LexisNexis, most notably Roger
Cass, Matthew Johnson, Michael Khatib, and Paul Rogers. They gave me the opportunity
to test my ideas and my expression of them. Roger has the additional distinctions of
having introduced me to Object Role Modeling, and of having put the “N” in COMN so
that the acronym became pronounceable as “common”. My immediate manager and
longtime friend Greg Saxton and our chief architect Ian Koenig encouraged me to pursue
this work.
My wife Daphne Woods, a brilliant novelist, long ago trained this technologist in the
mysteries of English grammar and composition. She also trained our daughter Heather
through ten years of home schooling to near perfection in these fields. Consulting with
these two during the writing of this book helped me with clarity and structure.
It was wonderful to have my colleague Laurel Shifrin, respected educator Dave Wells, and
Steve Hoberman as technical reviewers. Laurel’s knowledge of unstructured data and
Dave’s knowledge of structured data helped keep some unsupported assumptions out of
the work. Dave’s early enthusiasm for COMN has been a tremendous boost. What a
pleasure to have Steve, a leading author of data modeling books and my publisher,
encouraging and promoting this work.
Here’s to all who have struggled to tame their data. I hope you find this makes the journey
more pleasurable and more successful.
Introduction
S am came barreling into the plant manager’s office, clutching a roll of blueprints in one
hand. He was so excited. “Joe, have I got great news!” he called out.
Joe looked up from his desk behind the office counter. He looked weary. Well, keeping
track of everything that goes on in a 150-acre refinery that processes 200,000 barrels of oil
a day could make anyone weary. He pushed back his chair, got up, and ambled over to the
counter.
“What’s the news?” Joe asked.
“The boys in engineering have figured out that, by just combining a few material flows
earlier in the process, the petrochemical plant could reduce emissions, produce more
product from the same input flows, and add $5,000 a day to the plant’s bottom line in
reduced expenses! So I’ve come down here to find out what it will take to implement
these changes.” Joe placed the rolled-up blueprints on the counter and spread them out.
Sam started studying the drawings, running his finger over the many lines and shapes that
represented the thousands of pipes visible out the office windows. He licked his finger and
pulled the top drawing back to look at the next blueprint, and then the next, all while Joe
watched excitedly but silently. Sam had a reputation. He knew his stuff. If Sam said it
could be done, it could be done, and if he said it couldn’t, well, you’d better do a ton of
research before you said Sam was wrong.
Finally Sam looked up from the counter. “I think I get it. This isn’t too bad. We’ll just
have to re-route a few pipes and this could be implemented pretty easily.”
Joe was happy and relieved. “So, how long do you think it will take?”
Sam kept his look level when he delivered the blow. “I think about six months.”
“Six months!” Joe nearly shouted. “I thought you said this was easy! Why, in six months
we will have lost”—Joe figured fast in his head—“nearly a million dollars in savings!”
Another Random Document on
Scribd Without Any Related Topics
curtain-rod is attached at the top of the case from which a curtain
may be hung, and the ledge formed by the top of the case and the
quarter-circular bracket will accommodate a few pieces of bric-à-brac
or a photograph frame or two. If the box is high enough, two shelves
may be arranged so that three lines of books can be accommodated;
otherwise one shelf will have to suffice.
We will suppose that you have already a desk. Make two upright
rows of bookshelves far enough apart to allow the desk to be placed
between them. Shut off the lower part of the shelves, on each side,
with a door, which may be decorated with iron hinges or blackened
metal. These false hinges are of course placed against the real ones
on which the door swings, and are purely ornamental. These little
closets make fine places in which to store unsightly books and
magazines which look untidy but which one always wants to keep.
There is a shelf over the top of the desk on which could be placed a
row of plates, a tankard, or photographs; and a poster or nice little
etching would give interest to the big panel. This panel, by-the-way,
need not be made of wood, but could be closed in by a piece of
colored burlap or buckram. The case would then have to be braced
by three slats of wood nailed across the back behind the buckram.
When completed it will appear as shown in Fig. 23.
A Bracket-clock
A Mantel-clock
A Wall-clock
An attractive wall-clock is shown in Fig. 4, page 327. With a
movement having a fifteen-inch pendulum, the case should be ten
inches wide, twenty-four inches high, and four inches deep. A
circular opening is made at the upper end of the box, and an oblong
one at the lower end through which the pendulum may be seen. The
box is covered with burlap in some desirable shade; it is applied with
glue and large-headed nails, or dummy heads.
The ornamental design is cut from sheet-lead and applied with
slim, steel-wire nails. The frame around the lower opening is cut from
lead and applied over a piece of glass which is cut and fitted to the
opening. The stems to the buds are made of thin telegraph wire,
bent to the proper shape, and applied with small staples made from
pins.
The top is cut from white-wood five-eighths of an inch thick; it
overhangs the sides and front two inches. Where the top is applied
to the body of the clock, the joint is hidden with a small strip of
moulding, or a dowel mitred at the corners, and attached with slim,
steel-wire nails.
The large nail-heads all along the edges are made from sheet-lead
beaten to represent wrought-iron bellows-nails, and fastened on with
thin, steel nails, and afterwards painted black.
The bottom of the box should be arranged on hinges, and caught
with a small bolt so that it may be dropped in order to start the
pendulum, and also to adjust the screw at the bottom of the rod.
A pleasing combination of colors for this case will be light, olive-
green burlap, black metal-work, and old-brown wood-work. The
pendulum-ball may be of bright brass or blackened. Equally effective
are combinations of red burlap and brass trimmings, or old-gold-
colored burlap and Pompeian-green metal-work, made by tinting all
the metal parts with a light and dark olive-green paint blended
together on the parts.
A High Wall-clock
For the space over a mantel, or wherever it may be convenient to
hang it, a substantial high wall-clock is shown in Fig. 5. It is ten
inches wide, thirty inches high at the front, and four inches deep,
with the bracket-ends and the fancy top-pieces extending five or six
inches beyond the body of the clock at top and bottom.
In construction it is somewhat on the lines of the “mission”
furniture, the pieces being tongued and pinned, with a heavy slatted
front.
The wood-work is five-eighths of an inch in thickness. The cross-
rails are two inches in width, and the upright ones and the lattice are
one and a quarter inches in width. The ends of the cross-pieces are
shaped as shown in Fig. 6. When passed through mortises cut in
front of the side boards they are held in place with wooden pins.
At the back, near the top and bottom, two-inch cross-strips are let
into the side boards. The ends should project two inches beyond the
boards at both sides, and holes are made in them through which
screws are passed to anchor the clock to the wall.
An eight-day movement, with a twelve-inch pendulum, is made
fast to a back-board, and on the front-board, to cover a hole eight
inches in diameter, a large dial and glass are fastened.
HANGING AND MANTEL CLOCKS
The ornament at the sides and on the front-board around the dial
is cut with a carving-chisel, and tinted to darken the lines. Stain and
varnish will be a desirable finish; or the stain alone may be used
should an old, dull appearance be desired.
An Odd Mantel-clock
The design for a mantel-clock that is odd in shape and striking in
appearance is shown in Fig. 7. It is seven inches wide at the top,
underneath the cap, and ten inches across at the base. In width it
varies from three inches at the top to four and a half inches at the
base.
The case is made from three-eighths-inch white-wood and joined
with glue and nails. The top is of core-moulding that may be had at a
carpenter-shop or planing-mill. It is mitred to fit at the front and ends.
The metal straps are of lead and the ornament is tinted and
outlined. A great deal of the beauty of this design is in its coloring,
and, unfortunately, this cannot be reproduced. The wood-work is in
light golden-brown, the buds in orange, toning down to a deep red at
the base, or similar to the colorings of the California poppy. The
stems and leaves are in several shades of green, and the entire
ornament is lined by the pyrographic-point, or painted with a line in
dark brown. The straps, nails, and glass frame are in dead black,
and the cap-moulding is in a darker shade of brown than that
employed for the body color of the case. A pale, old-pink dial, on
which black numerals are painted, completes this harmonious color-
scheme.
A Shelf-clock
An Old-style Timepiece
A Light-screen
A Fire-screen
The uprights are of wood two inches square, and the cross-rails
are seven-eighths of an inch thick and two inches wide. The joints
are mortised and tenoned, and held with screws and glue, while the
apparent fastenings are large, round, mock nail-heads. The feet are
cut from hard-wood seven-eighths of an inch in thickness, as shown
in Fig. 3, and attached to the bottom of the upright posts with glue
and screws, the vertical edges of the feet being let into a lap cut in
the posts. Each foot will then measure eighteen inches across at the
bottom, and twelve inches high from the floor to the top of the lap cut
in the posts.
Leather, burlap, denim, tapestry-cloth, or any good covering fabric,
may be used for the screen. This material should be tacked on the
top and bottom rail with large upholsterers’ tacks painted black.
A design may be lightly drawn on the fabric with a pencil, and
afterwards painted in oil or water colors, or the ornament may be
stencilled on with aniline colors, as described in Chapter XIX.
A Shoe-screen
A Bedroom-door Screen
A Heavy Fire-screen
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookmass.com