Types
Understanding and using types in HASH
Introduction
"Types" are one of the most important concepts to understand in HASH.
Every entity in HASH has one or more entity types which describe the attributes expected on an entity.
Every attribute in turn has either a property type or a link type. These are described in more depth on the attributes page.
Property values are constrained by data types, while the entities that a link points to may be constrained by their entity type(s).
Using types
Once you understand what entity types, link types, property types and data types are, you can begin to model the things you care about, by finding existing types in HASH that represent them, or by creating your own types.
Advanced features of types
You can also use some of the more advanced features of types, to make managing your data easier and cleaner:
→
Extending types: entity types and link types can both be "extended". This allows you to make them more specific, specifying (i) additional attributes, and (ii) tighter constraints on an entity.→
Using multiple types in combination: both entities and links can have more than one type associated with them. This allows you to capture more information about entities and the relationships that connect them than may be allowed by a single type. You can learn more about this on the entity type and link type pages.→
Converting between types: because HASH is a "multi-tenant" database, the same information (and types) may exist in multiple users' webs. You can convert and cross-walk between peers.
Create a free account
Sign up to try HASH out for yourself, and see what all the fuss is about
By signing up you agree to our terms and conditions and privacy policy