Skip to content

Commit 09bcef2

Browse files
committed
link updates
1 parent e3aa41c commit 09bcef2

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

guide/17-working-with-knowledge-graphs/part1_introduction_to_knowledge_graphs.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"source": [
6262
"## Connect\n",
6363
"\n",
64-
"Using the ArcGIS API for Python, you can connect to a `KnowledgeGraph` with `arcgis.graph`:"
64+
"Using the ArcGIS API for Python, you can connect to a [`KnowledgeGraph`](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html#knowledgegraph) with [`arcgis.graph`](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html):"
6565
]
6666
},
6767
{
@@ -90,7 +90,7 @@
9090
"metadata": {},
9191
"source": [
9292
"## Create\n",
93-
"Using the ArcGIS API for Python, you can create a new Knowledge Graph using [create_service()](https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.create_service)."
93+
"Using the ArcGIS API for Python, you can create a new Knowledge Graph using [`create_service()`](https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.create_service)."
9494
]
9595
},
9696
{

guide/17-working-with-knowledge-graphs/part2_search_query_knowledge_graph.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"cell_type": "markdown",
2727
"metadata": {},
2828
"source": [
29-
"There are a couple different ways to access the data of the knowledge graph. `search` provides results based on a full-text search string. `query` provides results based on an openCypher query string. The goal of this guide is to provide examples of various searches and queries that could be performed on a knowledge graph.\n",
29+
"There are a couple different ways to access the data of the knowledge graph. [`search`](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.search) provides results based on a full-text search string. [`query_streaming`](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.query_streaming) provides results based on an openCypher query string. The goal of this guide is to provide examples of various searches and queries that could be performed on a knowledge graph.\n",
3030
"\n",
3131
"## Search\n",
3232
"\n",
@@ -82,7 +82,7 @@
8282
"Query streaming accepts a query string the same way query does, but also allows the additional parameters:\n",
8383
"- bind_param, which accepts any number of key: value pairs of parameters you would like to include in the query that are created outside of the query. This includes any primitive types as well as geometries, lists, and anonymous objects.\n",
8484
"- include_provenance, a boolean parameter used to determine whether provenance records will be returned as part of the query results.\n",
85-
"- as_dict, a boolean parameter used to determine if results are returned as dictionaries or Entity/Relationship/Path objects. It is strongly recommended to use False and True will be removed in the future. The current default is True.\n",
85+
"- as_dict, a boolean parameter used to determine if results are returned as dictionaries or [Entity](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html#entity)/[Relationship](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html#relationship)/[Path](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html#path) objects. It is strongly recommended to use False and True will be removed in the future. The current default is True.\n",
8686
"\n",
8787
"Another benefit to using query streaming is the resulting records are not limited to the server's query limits, but rather returned in chunks and presented as a generator which can be used to retrieve all results at once using list() or go through each record one at a time using next()."
8888
]

guide/17-working-with-knowledge-graphs/part3_edit_knowledge_graph.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"source": [
5252
"## Introduction\n",
5353
"\n",
54-
"The ArcGIS API for Python allows editing of both the data and data model of the `KnowledgeGraph`. The goal of this guide is to provide information and examples of how to edit your knowledge graphs using python.\n",
54+
"The ArcGIS API for Python allows editing of both the data and data model of the [`KnowledgeGraph`](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html#knowledgegraph). The goal of this guide is to provide information and examples of how to edit your knowledge graphs using python.\n",
5555
"\n",
5656
"Editing the data will allow for:\n",
5757
"- Creating and deleting entities\n",
@@ -69,7 +69,7 @@
6969
"metadata": {},
7070
"source": [
7171
"## Data Editing\n",
72-
"All data editing is accomplished using [knowledge_graph.apply_edits()](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.apply_edits)\n",
72+
"All data editing is accomplished using [`knowledge_graph.apply_edits()`](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.apply_edits)\n",
7373
"### Adds\n",
7474
"\n",
7575
"To add an entity to the knowledge graph, we define the type and properties of the entity:"
@@ -193,7 +193,7 @@
193193
"source": [
194194
"#### Adds\n",
195195
"\n",
196-
"Adding new types involves forming the type objects and pushing them into the data model of the knowledge graph using [knowledge_graph.named_object_type_adds()](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.named_object_type_adds). Named types (entity and relationship types) can be created in bulk or individually as needed. The following example shows creating these named types all at the same time:"
196+
"Adding new types involves forming the type objects and pushing them into the data model of the knowledge graph using [`knowledge_graph.named_object_type_adds()`](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.named_object_type_adds). Named types (entity and relationship types) can be created in bulk or individually as needed. The following example shows creating these named types all at the same time:"
197197
]
198198
},
199199
{
@@ -226,7 +226,7 @@
226226
"source": [
227227
"#### Updates\n",
228228
"\n",
229-
"Updates are performed on named object types using [knowledge_graph.named_object_type_update()](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.named_object_type_update). Updating the name of a type is not allowed."
229+
"Updates are performed on named object types using [`knowledge_graph.named_object_type_update()`](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.named_object_type_update). Updating the name of a type is not allowed."
230230
]
231231
},
232232
{
@@ -252,7 +252,7 @@
252252
"source": [
253253
"#### Deletes\n",
254254
"\n",
255-
"Deleting types is as simple as passing the string name of the type to [knowledge_graph.named_object_type_delete()](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.named_object_type_delete)"
255+
"Deleting types is as simple as passing the string name of the type to [`knowledge_graph.named_object_type_delete()`](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.named_object_type_delete)"
256256
]
257257
},
258258
{
@@ -277,7 +277,7 @@
277277
"source": [
278278
"#### Adds\n",
279279
"\n",
280-
"Properties can be added to named types at any point using [knowledge_graph.graph_property_adds()](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.graph_property_adds). Many properties can be added to a given type in a single call.\n",
280+
"Properties can be added to named types at any point using [`knowledge_graph.graph_property_adds()`](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.graph_property_adds). Many properties can be added to a given type in a single call.\n",
281281
"\n",
282282
"The default type for a property is esriFieldTypeString, to define a different type use one of the [available field types](https://github.com/Esri/knowledge-pbf/blob/master/proto/esriPBuffer/EsriExtendedTypes/EsriExtendedTypes.proto):\n",
283283
"- esriFieldTypeSmallInteger\n",
@@ -323,7 +323,7 @@
323323
"source": [
324324
"#### Updates\n",
325325
"\n",
326-
"Information about the properties on a type can be updated using [knowledge_graph.graph_property_update()](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.graph_property_update). Only one property of a given type can be updated in a single call."
326+
"Information about the properties on a type can be updated using [`knowledge_graph.graph_property_update()`](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.graph_property_update). Only one property of a given type can be updated in a single call."
327327
]
328328
},
329329
{
@@ -350,7 +350,7 @@
350350
"source": [
351351
"#### Deletes\n",
352352
"\n",
353-
"Deleting a property is a very simple, just pass the name of the type and property to be deleted using [knowledge_graph.graph_property_delete()](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.graph_property_delete). Only one property from any given type can be deleted in a single call. To delete multiple properties, it may be good to loop through a list of properties you plan to delete or make multiple calls consecutively."
353+
"Deleting a property is a very simple, just pass the name of the type and property to be deleted using [`knowledge_graph.graph_property_delete()`](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.graph_property_delete). Only one property from any given type can be deleted in a single call. To delete multiple properties, it may be good to loop through a list of properties you plan to delete or make multiple calls consecutively."
354354
]
355355
},
356356
{
@@ -373,7 +373,7 @@
373373
"cell_type": "markdown",
374374
"metadata": {},
375375
"source": [
376-
"Search indexes can be added to esriFieldTypeString properties to allow the contents of those properties to be searched for when using [knowledge_graph.search()](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.search)."
376+
"`esriFieldTypeString` properties can be added to the [`SearchIndex`](https://developers.arcgis.com/python/latest/api-reference/arcgis.graph.html#searchindex) to allow the contents of those properties to be searched for when using [`knowledge_graph.search()`](https://developers.arcgis.com/python/api-reference/arcgis.graph.html#arcgis.graph.KnowledgeGraph.search)."
377377
]
378378
},
379379
{

0 commit comments

Comments
 (0)