Can we call external functions (such as Amazon Location Service functions) in Neptune?

0

Let's consider we like to call a user defined function which calls an Lambda function (where a rest API call grabs the geolocation of an address) inside a Gremlin query in Neptune. IF yes, how?

Please check this link that the same thing happens in Amazon Aurora https://aws.amazon.com/blogs/database/access-amazon-location-service-from-amazon-aurora/

Many thanks

質問済み 2年前211ビュー
1回答
0

The closest related feature that exist in Neptune today is the integration with Elasticsearch/OpenSearch, which allows users to perform a full-text search query against an external OpenSearch index. https://docs.aws.amazon.com/neptune/latest/userguide/full-text-search.html

For RDF workloads, the SPARQL query language offers a federated query feature (using the SERVICE clause) to query an external SPARQL endpoint and return a set of triples/quads that can then be used as part of the query against Neptune. Instead of making a call to an external SPARQL endpoint, this could also be used against a REST API such that the API returned the results in the proper format. https://docs.aws.amazon.com/neptune/latest/userguide/sparql-service.html

Other than that, we don't have the ability to call other external APIs/functions from any of the other query languages supported inside of Neptune.

profile pictureAWS
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ