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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠