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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则