Questions tagged [amazon-neptune]

For questions related to Amazon Neptune, a graph database service which supports both Property Graph and RDF graph models, as well as their respective query languages Apache TinkerPop Gremlin, openCypher and SPARQL.

Overview, Features, Pricing, Getting Started, Resources, FAQs

930 questions
0
votes
0 answers

AWS Neptune Notebook: not able to create notebook

I am trying to create AWS Neptune Notebook I am using AWS Neptune notebook wizard to create a note book, but it fails to create it. I was able to create it before and suddenly it stopped. I have no change in VPC, subnet and security group. my…
Jigar Gajjar
  • 183
  • 2
  • 12
0
votes
1 answer

Performant Gemlin query for fetching nodes with corresponding edges in specified depth

I'm trying to fetch a specific node in my graph by its id with its outgoing nodes and edges in a specified depth. The resulting JSON should make it easy to determine which edge belongs to which node. Preferably it should have the form of a…
0
votes
0 answers

Gremlin - Add/Update property for an existing vertex

I've tried adding sideEffect or using property with gremlin: const addSource = this.__.addV(source.label) .property(GREMLIN_ID, source.id) .property("created_timestamp", new Date().getTime()); for (const property in…
0
votes
2 answers

Is there a way to group by month name from a date field in neptune

I am using aws neptune because of all the advantages it brings for developing a very configurable solution etc. It has been going very well till now until I am required to pull reports based on month name. I have an attribute createdOn (where I…
0
votes
1 answer

How to use property value to filter out vertices?

I'm trying to filter out vertices to which distance from given latitude and longitude is above max distance stored as vertex property and retrieve the ones that are not filtered. I used code from Kelvin Lawrence's book to calculate the distance…
Jakov
  • 3
  • 3
0
votes
1 answer

Neptune DB slow query when using text predications

When trying to find list of users that startsWith some text example : g.V().hasLabel('user').has('username', startingWith('m')).limit(12).values('username'); //4 Seconds g.V().hasLabel('user').has('username',…
Madian Malfi
  • 595
  • 1
  • 8
  • 26
0
votes
1 answer

gremlin query to control return result format

We can get all the data we want from a query with gremlin. For example, g.V(1234) .project("identifier", "associations") .by(valueMap(true)).by(unfold()) .by(bothE().local(elementMap()).fold()) This query takes a long time to execute because…
jtarchie
  • 251
  • 2
  • 13
0
votes
1 answer

how can an AWS Neptune Graph be queried via public HTTP?

I would like an HTTP request to originate from outside of AWS and reach a Neptune Graph. Since a Neptune Graph can exist only within a VPC (and within a private subnet, at that), I'm exploring options for non-AWS traffic to reach the graph. The…
Kaan
  • 5,434
  • 3
  • 19
  • 41
0
votes
1 answer

Unable to commit transactions in AWS Neptune using an AWS Lambda written in javascript

I need to use gremlin transactions using the npm gremlin library. I went through the standard transaction syntax mentioned for javascript in the tinkerpop documentation -…
0
votes
1 answer

Query for multiples edges select() with count() gremlin

Trying to get the corresponding count of selected values in a single query with gremlin. g .V("00000000000000000000000000000000").outE().as("fpEdges") .V("facade00-0000-4000-a000-000000000000").inE().as("vstEdges") .select("fpEdges",…
0
votes
1 answer

Gremlin - Expecting valueMap values are as a string instead of array

g.V(VertexId).valueMap("tags") returns {'tags': ['My Last Day', 'Poor Connection > Netenter code herework Issue', 'Or Hello > Equals Hi > Last Message ', 'Network Issue', 'Last Message ']} g.V(VertexId).valueMap("tags").by(unfold())…
sk003cs
  • 1
  • 2
0
votes
1 answer

Gremlin query does not show constant error message when values not found

I have a Gremlin query where I need to check almost in every step if the passed param values are found, if yes then proceed to the next step otherwise exit the query with an error message which will be different in each step. My sample data can be…
user2026504
  • 69
  • 1
  • 9
0
votes
1 answer

Sack Sum By operation causes AWS Neptune error

Problem up-front: AWS Neptune seems to break when using a .sack(__.sum).by() operation. Background: Here is a small bit of data on which to test The query in question works fine via the Gremlin console I came across this tackling a larger problem,…
Dan
  • 4,197
  • 6
  • 34
  • 52
0
votes
1 answer

HTTPS connection with RDFLib

I am using Python and the RDFLib library and I want to perform an HTTPS connection to a SPARQL endpoint such as Amazon Nepute (HTTPS is mandatory) and perform authentication. However, I cannot find in the documentation of RDFLib any descriptions,…
giuseta
  • 117
  • 2
  • 15
0
votes
1 answer

Gremlin: Shortest logistical route between A and B while respecting schedules + other constraints

Preface I'm new to Gremlin and working through Kelvin Lawrence's awesome eBook on the topic in order to solve a specific use-case. Due to the sheer amount to learn, I'm asking this question to get recommendations on how I might approach the…
Dan
  • 4,197
  • 6
  • 34
  • 52