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

preguntada hace 2 años211 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas