Technical Level: Intermidiate

Template Schema and Semantics Overview

It is important for people to be able to easily understand the structure and reasoning behind templates, schemas and semantics within EYA

Foundations of EyA Object Orientated Schema Templating

Foundations of EyA Object Orientated Schema Templating

It is important for people to be able to easily understand the structure and reasoning behind templates, schemas and semantics within EYA as this is the foundation to the entire solution through strict template design. Within this document, explanation will be provided in order to provide an easy to follow reasoning behind the concept of template topology and the schema development to ensure a highly capable template library.

It is imperative to never repeat the same property twice within any template tree structure. Create once, use many times.

During this discussion, vertical child and parent template trees will be investigated, but we should also take into account the ability for cross pollination and horizontal relationships which can co-exist between not only asset objects, but also templates too.

References are provided at the end of this document for subject matter explored for the use case covered.

Use Case

A human being of type eukaryotic carbon life form will be used within this document as we can all relate to this in our day to day life. Obviously, a life form currently is of the carbon matter type (as far as we are aware), but it is highly important to consider a future of uncertainty and discovery of other forms of life and as such, we must make room in the template schema to be able to map this too.

When looking at a human being, we should look into our genetic makeup rather than just the final “object” which we spend our day to day lives within. Whether a believer in evolution through natural selection, or Adam and Eve, we can see our relationship beginning with Eukaryotes and even further back through the cellular makeup to those entities derived to construct our carbon lifeforms. The relationship a human life form has with other life forms and even sub atomic particles is considered in the development of the semantics and topology of the associated templates within EYA.

When designing or even considering the structure of templates, the single most important aspect is to never create the same property twice. If at any time during initial draft the asset consultant considers a potential for a property to be used within two different templates, the property instead should be moved into a template further down the tree and into the fundamental or foundation zones. Consider the roots of a tree, which will feed everything above them.

Template Schema Hierarchy Structure

Template Schema Hierarchy Structure

The Root

Every single template and asset created from it will have a common set of attributes or properties. Whether it be a sub atomic particle, or even a quantum level boson, we know one thing for sure - they all have a name, and so do we. In this case, we have our very first requirement of a property which will be inherited by every single other template, no matter how high up the tree they exist. With the dynamic capabilities of the EYA templates, we could in the future add something else into the roots of the tree, but let’s start here.

The Entity Template

If we allowed templates to be created without the most fundamental template “Entity”, we would immediately lead ourselves into chaos. Rather than “Name”, template designers may choose to use “Name/s”, or even a property type other than TEXT. Also, imagine how many templates would then have to create the property “Name”; guess what, All of them! We also have two more common attributes to consider.

  1. Type - Everything really has a type and also for rapid identification and queries, it is important to be able to categorise assets, whatever their being, into realms.

  2. Composition - Whether it be a sub atomic particle, or a complex human structure, there is always a composition. So this can be an ordered list, currently containing Matter and Anti-Matter. As we discover new things, the list can be added to and new “things” can be modelled

It could be questioned as to why we have not included a date of birth here, because surely everything has a creation date and even a “death”. However, in theory this is incorrect and we again need to consider evolution of science beyond the realms which we currently understand. Particles for instance may share or exchange electrons during isotopic bonding etc. The electron has not been born, nor dies, but exchanges. The same can be considered in quantum shell states, where a particular molecular structure emits a photon to reduce its excited state. The photon and its wave / particle duality will not “die”, but will change form.

As such, we have locked the logic within EYA to ensure that every single template, no matter how low level or high level, must have “Entity” as the root template within their structure. Creation of a blank template is not allowed and instead even a “blank” template has “Entity” as its root.

Building the Human

So, we have our most fundamental template, which everything in EYA stems from. Simple eh?

Now we have to consider our human being tree. What do we know about us?

  • We are a carbon life form

  • We are in a genre

  • We contain a vast amount of different molecules

  • We are born

  • We (at the moment) die

  • We have different sexes

  • We have biomass

So in order to create the tree, we need to consider what we share with other life forms and remember to never repeat the same property twice!

Okay, what are we? We are a eukaryotic life form, but of course, we also share the fact that even though we have many cells, prokaryotic lifeforms, even though single cell, are still down there in the template tree with us. Will non carbon life forms have cells too? Let’s make sure that we can cover that one!

Right, so we need to think where to start. Of course! We are atomic particles, with sub atomic particles beneath them. The particles make up cells and the cells make molecules. Somehow, we manage to take the molecules and build a human.

Basis of the Template Structure for a Human

Taking all this into account, we have the basis of the tree of templates as follows.

  • Entity

  • Atom

  • Cellular Structure

  • Lifeform

  • Homo Sapien

In the diagram above, a very few properties have been covered, but of course the real template for a human being is extensive. With the dynamic inheritance of new properties created anywhere within the structure, a human being can gain new properties as science discovers them.

With the structure, it is possible to easily create a human as an asset within EYA and, of course, bond many different templates including medical, financial, personal or in fact anything during the lifecycle of this person.

References

https://en.wikipedia.org/wiki/Eukaryote#:~:text=Eukaryotes (%2Fjuːˈk," or "kernel").

https://en.wikipedia.org/wiki/Natural_selection

https://en.wikipedia.org/wiki/Isotope#:~:text=Isotopes are variants of a,of neutrons in each atom.

https://en.wikipedia.org/wiki/Homo

Are you visiting eya.global from outside the UK? Visit your regional site for more relevant promotions and events.