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: content/en/docs/partners/altair/altair-graph-studio.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ description: "Describes how to use graph data from Altair Graph Studio in your M
8
8
9
9
## Introduction
10
10
11
-
Altair Graph Studio provides you a highly scalable graph database suitable for analytical queries, offering access to data from different backend systems. It is an extremely powerful tool to unify data from multiple backend systems and link it from different sources into one unified data model. Graph Studio provides both virtualized and replicated access to data, with powerful data ingestion facilities to ingest, transform, clean, and correlate data from different sources.
11
+
Altair Graph Studio (AGS) provides a highly scalable graph database suitable for analytical queries, offering access to data from different backend systems. It is an extremely powerful tool to unify data from multiple backend systems and link it from different sources into one unified data model. Graph Studio provides both virtualized and replicated access to data, with powerful data ingestion facilities to ingest, transform, clean, and correlate data from different sources.
12
12
13
13
This guide helps you understand the process of creating a graphmart in the Altair Graph Studio, loading data, and querying that data from a Mendix application using OData REST endpoints and SPARQL queries.
14
14
@@ -36,7 +36,7 @@ A source layer allows you to import data from various sources or start from a JS
@@ -46,14 +46,14 @@ Upload the JSON source data into the source layer.
46
46
47
47
You can review the JSON structure and the data in the file you just uploaded in Graph Studio. It will show you a tree structure of your JSON file, data types, and sample values.
The following is an example SPARQL query for customers:
73
73
@@ -93,25 +93,25 @@ Replace `YOUR_SOURCE_ID` with your actual source layer ID. You can find this ID
93
93
94
94
You now have a graph ontology in Altair Graph Studio with data and a SPARQL query that returns customers.
95
95
96
-
Altair Graph Studio allows you to do much more, such as ingesting data from data lakes or APIs and linking siloed data into one unified ontology, but for now you can focus on this basic graph.
96
+
Altair Graph Studio allows you to do much more, such as ingesting data from data lakes or APIs and linking siloed data into one unified ontology, but for now, you can focus on this basic graph.
97
97
98
98
## Exposing Graph Data in the Mendix Application
99
99
100
-
Altair Graph Studio (AGS) allows you to store and retrieve graph data structures. Using either OData REST endpoints or SPARQL queries via the SPARQL API endpoint, you can retrieve this data into your Mendix application.
100
+
Altair Graph Studio allows you to store and retrieve graph data structures. Using either OData REST endpoints or SPARQL queries via the SPARQL API endpoint, you can retrieve this data into your Mendix application.
101
101
102
-
The OData approach provides the easiest integration with automatic entity mapping and association handling, while the SPARQL approach offers more control for complex graph queries. Both methods enable you to build powerful applications that leverage the scalability and flexibility of graph databases.
102
+
The [OData](#odata-rest-endpoint) approach provides the easiest integration with automatic entity mapping and association handling, while the [SPARQL](#query-sparql) approach offers more control for complex graph queries. Both methods enable you to build powerful applications that leverage the scalability and flexibility of graph databases.
103
103
104
-
### Exposing the Data via an OData REST Endpoint
104
+
### Exposing the Data via an OData REST Endpoint {#odata-rest-endpoint}
105
105
106
-
The simplest way to use Graph data in a Mendix application is by using an OData endpoint. In Altair Graph Studio, you can export an entire graph via OData. This will create an OData endpoint allowing flexible OData queries on the data in your graph database.
106
+
The simplest way to use graph data in a Mendix application is by using an OData endpoint. In Altair Graph Studio, you can export an entire graph via OData. This will create an OData endpoint allowing flexible OData queries on the data in your graph database.
107
107
108
108
#### Creating an OData API in Graph Studio
109
109
110
110
Create a new OData API in your graphmart. To do this, follow the steps below.
111
111
112
112
1. Go **Graphmarts** > **Exports** and select **Create OData REST Endpoint**.
This example page shows a tree that retrieves BOMs from the graph database. It will only load required data: first, the top-level BOMs, then when you open one, its components will be retrieved over the association. Only when you open a component will it load the subcomponents.
168
+
This example page shows a tree that retrieves BOMs from the graph database. It will only load required data: first, the top-level BOMs, then, when you open one, its components will be retrieved over the association. Only when you open a component will it load the subcomponents.
169
169
170
170
This is done automatically when you set the external entities as the data source for the widgets in your tree.
If you need full control over your graph queries, you can use [consumed REST services](/refguide/consumed-rest-service/) to execute SPARQL queries in your graph database.
177
177
@@ -227,6 +227,6 @@ You can now run your application to validate the result. It should have a data g
0 commit comments