[/map {"- map/map "}) [/map/topicref {"- map/topicref "}) [/map/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicmeta/navtitle {"- topic/navtitle "}) Data Model in Big Data Discovery (navtitle][/map/topicref/topicmeta/linktext {"- map/linktext "}) Data Model in Big Data Discovery (linktext][/map/topicref/topicmeta/shortdesc {"- map/shortdesc "}) This section introduces basic concepts associated with the schema of records in the Dgraph, and describes how data is structured and configured in the Dgraph data model. When a Data Processing workflow runs, a resulting data set is created in the Dgraph. The records in this data set, as well as their attributes, are discussed in this section. (shortdesc] (topicmeta][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) About the data model (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) About the data model (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The data model in the Dgraph consists of data sets, records, and attributes. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Data records (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Data records (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) Records are the fundamental units of data in the Dgraph. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Attributes (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Attributes (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) An attribute is the basic unit of a record schema. Assignments from attributes (also known as key-value pairs) describe records in the Dgraph. (shortdesc] (topicmeta][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Assignments on attributes (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Assignments on attributes (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) Records are assigned values from attributes. An assignment indicates that a record has a value from an attribute. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Primary keys (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Primary keys (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) In the Dgraph data model, a primary-key attribute is used, for identifying records and collections (data sets). This topic provides a summary of each of these primary keys. (shortdesc] (topicmeta] (topicref][/map/topicref/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Attribute data types (navtitle][/map/topicref/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Attribute data types (linktext][/map/topicref/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The attribute type identifies the type of data allowed for the Dgraph attribute value (key-value pair). (shortdesc] (topicmeta] (topicref] (topicref][/map/topicref/topicref {"- map/topicref "}) [/map/topicref/topicref/topicmeta {"- map/topicmeta "}) [/map/topicref/topicref/topicmeta/navtitle {"- topic/navtitle "}) Supported languages (navtitle][/map/topicref/topicref/topicmeta/linktext {"- map/linktext "}) Supported languages (linktext][/map/topicref/topicref/topicmeta/shortdesc {"- map/shortdesc "}) The Dgraph uses a language code to identify a language for a specific attribute. (shortdesc] (topicmeta] (topicref] (topicref] (map]