amazon-neptune

403 Forbidden error for Gremlin to AWS Neptune

徘徊边缘 提交于 2020-05-28 06:53:29
问题 Thanks a lot for your help in advance I'm trying to setup my AWS Neptune environment by following the instruction at https://docs.aws.amazon.com/neptune/latest/userguide/get-started.html . The setup seems to be fine, and I could check the status by using the Neptune Notebook install. The status message as: { "status": "healthy", "startTime": "Tue May 12 04:24:52 UTC 2020", "dbEngineVersion": "1.0.2.2.R2", "role": "writer", "gremlin": { "version": "tinkerpop-3.4.3" }, "sparql": { "version":

errorMessage“: ”'Neptune' object has no attribute 'stop_db_cluster"

时光毁灭记忆、已成空白 提交于 2020-03-25 19:12:11
问题 The following code is given below for my lambda funciton import boto3 client = boto3.client('neptune') response = client.stop_db_cluster(DBClusterIdentifier='qa-n1-cluster') output is given below Response: { "errorMessage": "'Neptune' object has no attribute 'stop_db_cluster'", "errorType": "AttributeError", "stackTrace": [ " File \"/var/lang/lib/python3.8/imp.py\", line 234, in load_module\n return load_source(name, filename, file)\n", " File \"/var/lang/lib/python3.8/imp.py\", line 171, in

Amazon Neptune: Node Properties

烈酒焚心 提交于 2020-01-06 04:34:20
问题 I have ran the gremlin query and get the result but not able to get each vertex properties. Here is the query I have ran: g.V('a6b575a5-e2d3-334d-aa0b-5aa372d71fc0').outE('member').inV().unfold().toList() Here is the result properties are undefined how to get? 2019-05-27T01:21:51.292Z 9f82a2ab-4271-406c-9601-0479899ccb61 [ Vertex { id: '2cb575ab-d398-8a18-4c8c-4d5f6cca6076', label: 'tribe', properties: undefined }, Vertex { id: '5eb575ad-59e5-0878-3d05-297c390b0479', label: 'tribe',

How to implement full text search using AWS Neptune as the source

筅森魡賤 提交于 2019-12-24 07:27:45
问题 I've seen on other questions that Gremlin & Neptune do not support full text search natively. How can I provide this feature as part of my web-site? Ideally it would be not require running up more infrastructure/software that I have to look after. Thinking that some options are using an external search service like Solr or ElasticSearch. What about another AWS service? Cloudsearch? thanks 回答1: Your question is very timely. Integration between Amazon Neptune and ElasticSearch was just launched

Gremlin- how to find paths from A to Z that went through G only

人走茶凉 提交于 2019-12-23 02:47:11
问题 Need some help with Gremlin: If I know the start vertex and the end vertex and there are multiple paths between start and end BUT I have a couple of vertexes along the way. How can I find the correct path based on the data I have? For instance here I what I have to find the paths from 'college' to 'finch' g.V().has('station','college'). repeat(out().simplePath()) .until(has('station','finch')) .path().by('station') Results ==>[college, wellesley, bloor-yonge, rosedale, summerhill, st. clair,

How to Connect/Query to AWS Neptune instance using HTTP POST/GET request

杀马特。学长 韩版系。学妹 提交于 2019-12-23 01:02:20
问题 I am trying to connect to Amazon Neptune instance by sending a HTTP Post request using Neptune END Point via Fiddler. But ending up in timeout error. Can Neptune instance be connected to via HTTP request using fiddler/Postman? 回答1: Timeout Error most commonly comes from the fact you aren't on the same VPC as your Neptune instance. Please check this by doing an hping for example: sudo hping3 -S -p 8182 [YOUR NEPTUNE ENDPOINT] If hping can't ping it then you aren't on the same VPC. So, just

Can RDF model a labeled property graph with edge properties?

最后都变了- 提交于 2019-12-20 15:11:32
问题 I wanted to model partner relationship like the following, which I expressed in the format of labeled property graph. I wanted to use RDF language to express the above graph, particularly I wanted to understand if I can express the label of the "loves" edge (which is an URI to an article/letter). I am new to RDF, and I know the RDF can easily express the node properties in the LPG, but is it possible to conveniently express the edge properties? A bit more context of this question: the reason

Can RDF model a labeled property graph with edge properties?

天涯浪子 提交于 2019-12-20 15:09:14
问题 I wanted to model partner relationship like the following, which I expressed in the format of labeled property graph. I wanted to use RDF language to express the above graph, particularly I wanted to understand if I can express the label of the "loves" edge (which is an URI to an article/letter). I am new to RDF, and I know the RDF can easily express the node properties in the LPG, but is it possible to conveniently express the edge properties? A bit more context of this question: the reason

Traverse graph database from random seed nodes

依然范特西╮ 提交于 2019-12-11 16:23:37
问题 I am tasked with writing a query for a front-end application that visualizes a Neptune Graph database. Let us say that the first vertex are items while the second vertex user. A user can create an item. There are item to item relationships to show items derived from another item like in the case of media clips cut out of an original media clip. The first set of items created should be created in a vertex such as a SERVER which they are grouped by in the UI. The following is the requirement:

How to write like queries using gremlin for Neptune as Neptune is not supporting the Lambda function

纵饮孤独 提交于 2019-12-11 11:35:01
问题 Is there any way to write like queries Like '%match%' in gremlin without using the lambda functions?. Neptune does not support Lambda functions 回答1: There are usually ways to express lambdas with Gremlin steps. Indeed, it is often better to do so because graph providers can't optimize the portions of your queries that contain lambdas (as it is just arbitrary code). Typically, the nature of the lambda contents determines whether or not it can be expressed easily with Gremlin steps. If the