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

gefragt vor 2 Jahren211 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen