You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: published/basic/index.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ This is helpful for debugging queries and for tutorials that need to explain par
194
194
195
195
<guid>https://dgraph.io/tour/basic/17/</guid>
196
196
<description>Dgraph supports facets — key value pairs on edges — as an extension to RDF triples. That is, facets add properties to edges, rather than to nodes. For example, a friend edge between two nodes may have a boolean property of close friendship. Facets can also be used as weights for edges.
197
-
More details about Facets you can find in our Docs: https://dgraph.io/docs/query-language/#facets-edge-attributes
197
+
More details about Facets you can find in our Docs: https://docs.dgraph.io/query-language/#facets-edge-attributes
198
198
Reading all the documentation about Facets you will have examples of:</description>
<description>Dgraph supports facets — key value pairs on edges — as an extension to RDF triples. That is, facets add properties to edges, rather than to nodes. For example, a friend edge between two nodes may have a boolean property of close friendship. Facets can also be used as weights for edges.
198
-
More details about Facets you can find in our Docs: https://dgraph.io/docs/query-language/#facets-edge-attributes
198
+
More details about Facets you can find in our Docs: https://docs.dgraph.io/query-language/#facets-edge-attributes
199
199
Reading all the documentation about Facets you will have examples of:</description>
<description>Dgraph doesn&rsquo;t support setting external IDs for nodes. If an application requires unique identifiers for nodes other than the UIDs assigned by Dgraph, then these have to be supplied as edges. It&rsquo;s up to a user application to ensure the uniqueness of such IDs/keys.
184
-
More about in https://dgraph.io/docs/mutations/#external-ids</description>
184
+
More about in https://docs.dgraph.io/mutations/#external-ids</description>
185
185
</item>
186
186
187
187
<item>
@@ -651,7 +651,7 @@ This is helpful for debugging queries and for tutorials that need to explain par
<description>Dgraph supports facets — key value pairs on edges — as an extension to RDF triples. That is, facets add properties to edges, rather than to nodes. For example, a friend edge between two nodes may have a boolean property of close friendship. Facets can also be used as weights for edges.
654
-
More details about Facets you can find in our Docs: https://dgraph.io/docs/query-language/#facets-edge-attributes
654
+
More details about Facets you can find in our Docs: https://docs.dgraph.io/query-language/#facets-edge-attributes
655
655
Reading all the documentation about Facets you will have examples of:</description>
<p>In the last exercise, you added some data into Dgraph. Adding or removing data in Dgraph is called a mutation. We have two types of standard formats for mutations: RDF (Resource Description Framework) N-Quad and JSON (JavaScript Object Notation). RDF is a widely used standard in Graph or Ontology systems.</p>
487
487
<p>In Dgraph the mutation operations consist of two patterns: blank UID reference or explicit UID reference.</p>
488
-
<p>This introduction is important for the coming exercises, many of the concepts presented here will be repeated in the next few chapters. (For example, <ahref="https://dgraph.io/tour/schema/2/">Adding Data - mutating data</a> and <ahref="https://dgraph.io/tour/schema/6/">Exercise : Integrating existing data</a>.)</p>
488
+
<p>This introduction is important for the coming exercises, many of the concepts presented here will be repeated in the next few chapters. (For example, <ahref="https://tour.dgraph.io/schema/2/">Adding Data - mutating data</a> and <ahref="https://tour.dgraph.io/schema/6/">Exercise : Integrating existing data</a>.)</p>
489
489
<h2id="blank-uid">Blank UID</h2>
490
490
<p>In a mutation, any definition that doesn’t match the UID explicit reference format can be considered blank UID reference, also known as a blank node. The structure of a blank node consists of:</p>
491
491
<p>underline + a colon + unique name (identifier)</p>
492
492
<p>For example, in the previous section you saw the blank nodes <code>_:michael</code> and <code>_:amit</code>. This is the proper blank node syntax. However, there will be cases where the parser will consider some typo as a blank node, but its use is not recommended. Examples below:</p>
493
493
<pre><code><_:uid43> or <_:uid4e030f>
494
494
<someTypoMistake>
495
495
</code></pre><blockquote>
496
-
<p>Dgraph’s <ahref="https://dgraph.io/docs/deploy/#export-database">data export</a> uses blank nodes of the first form presented.</p>
496
+
<p>Dgraph’s <ahref="https://docs.dgraph.io/deploy/#export-database">data export</a> uses blank nodes of the first form presented.</p>
497
497
</blockquote>
498
498
<p>In JSON, the blank node format is similar. The blank node is defined with the <code>"uid"</code> key of a JSON object:</p>
499
499
<pre><code>{
500
500
"uid": "_:diggy",
501
501
"name": "diggy",
502
502
"food": "pizza"
503
503
}
504
-
</code></pre><p>Blank nodes are covered in more detail in the <ahref="https://dgraph.io/docs/mutations/#blank-nodes-and-uid">mutation docs</a>.</p>
504
+
</code></pre><p>Blank nodes are covered in more detail in the <ahref="https://docs.dgraph.io/mutations/#blank-nodes-and-uid">mutation docs</a>.</p>
<description>Dgraph doesn&rsquo;t support setting external IDs for nodes. If an application requires unique identifiers for nodes other than the UIDs assigned by Dgraph, then these have to be supplied as edges. It&rsquo;s up to a user application to ensure the uniqueness of such IDs/keys.
44
-
More about in https://dgraph.io/docs/mutations/#external-ids</description>
44
+
More about in https://docs.dgraph.io/mutations/#external-ids</description>
0 commit comments