问题标签 [graph-notebook]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1005 浏览

gremlin - GremlinServer 错误:499

我在 AWS 上运行 Neptune 服务器,并对 jupyter 笔记本中的 db ipython 单元魔法进行 gremlin 查询。我已经运行了许多遍历,并且我收到了来自aiogoblin他们的resultset.py文件的错误:GremlinServerError: 499: {"requestId":"5bb1e6ea-49ec-4a1d-9364-2b1bf717df9c","code":"InvalidParameterException","detailedMessage":"The [eval] message contains 66 bindings which is more than is allowed by the server 64 configuration"}

如何在不弹出此错误消息的情况下对服务器进行持续查询?

0 投票
2 回答
692 浏览

amazon-neptune - 无法启动 Neptune 笔记本

我似乎无法制作海王星笔记本,每次尝试时都会出现以下错误:

请注意,它建议查看的 cloudwatch 日志不存在。

海王星数据库是使用此 cloudformation 模板创建的:https ://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/NeptuneDB/Neptune.yaml

它在默认 VPC 中创建了海王星集群。

笔记本实例是使用此 cloudformation 模板创建的:https ://s3.amazonaws.com/aws-neptune-customer-samples/neptune-sagemaker/cloudformation-templates/neptune-sagemaker/neptune-sagemaker-nested-stack.json

为创建的海王星堆栈传入相关值。

有没有人见过这种类型的错误并知道如何克服它?

0 投票
2 回答
643 浏览

gremlin - 使用 Jupyter notebook 查看 Neptune Graph Schema

有没有办法使用 Jupyter Notebook 查看 Neptune 集群中的图表模式?

就像您在使用 SQL 的 RDS 中执行“从表名限制 10 中选择 *”一样,同样有没有办法通过 Jupyter Notebook 了解图形数据?

0 投票
1 回答
177 浏览

amazon-web-services - AWS Neptune 工作台可视化

我在 AWS Neptune 上使用 Jupter notebook 从图中查询数据。是否可以将具有特定标签的节点的颜色设置为不同的颜色?

例如,如果节点标签是,我可以将节点颜色设置为,red如果节点标签是person,则将节点颜色设置bluecafe?AWS Neptune 笔记本正在使用 vis.js,但我找不到与我的需求相关的任何内容

非常感谢您对此的任何想法。

谢谢阿伦

0 投票
1 回答
354 浏览

jupyter-notebook - 我尝试将 python jupyter notebook 与 amazon neptune DB Instance 连接,但出现这样的错误,我该怎么办?

这段代码,我从 Amazon Neptune 教程https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-python.html 获得但是,当我尝试运行时出现这样的错误Jupyter Notebook 中的代码(我的笔记本电脑内部)。 这是我的代码

HTTPError:HTTP 599:连接时超时

这是我得到的错误。我应该怎么办?

0 投票
1 回答
439 浏览

amazon-neptune - 从 Neptune 数据库连接到笔记本时出现问题

我之前能够连接到我的数据库集群的笔记本,但现在我在执行 %status 时遇到错误。

我已经使用新的 VPC 连接创建了集群和笔记本,还添加了角色。我还验证了笔记本和数据库集群的 VPC 连接是相同的

请在下面找到错误消息。(我已删除主机名)

{'error': ConnectionError(MaxRetryError("HTTPSConnectionPool(host='mic.us-east-1.neptune.amazonaws.com', port=8182): 最大重试次数超过 url: /status/ (由 NewConnectionError(' <urllib3.connection.HTTPSConnection object at 0x7ff16b264080>: 无法建立新连接: [Errno 110] Connection timed out',))",),)}

0 投票
1 回答
70 浏览

amazon-web-services - 使用 graph-notebook 连接到 Blazegraph 数据库

我尝试使用https://github.com/aws/graph-notebook连接到 Blazegraph 数据库。我已经验证 Blazegraph 正在从以下运行。

我做了以下 jupyter notebook

然后执行以下操作

给出错误{'error': JSONDecodeError('Expecting value: line 1 column 1 (char 0)',)}

我试图用192.168.1.240替换主机,但仍然遇到同样的问题。

0 投票
0 回答
65 浏览

amazon-web-services - 在 Neptune Notebook 中设置加密密钥

我正在尝试将 RDF 数据批量加载到 Neptune 数据库并使用 Notebook 可视化图表。为此,我创建了一个 Neptune 数据库,其中添加了加密密钥(KMS 客户管理的密钥)。此外,我创建了一个与创建的数据库关联的 Neptune 笔记本(从 AWS 控制台 > Neptune > 创建笔记本),但我没有找到任何选项来在 Neptune 笔记本中添加加密密钥。我需要通过加密密钥对我的 Neptune Notebook 进行加密。

我可以知道如何使用与 Neptune 集群关联的加密密钥(KMS 客户管理的密钥)创建 Neptune 笔记本来加载和可视化数据吗?

0 投票
1 回答
80 浏览

cypher - 适用于 AWS Neptune 的 openCypher 客户端

我正在寻找类似于https://github.com/prabushitha/gremlin-visualizer的图形探索工具来查询 AWS Neptune,同时使用 openCypher 享受新产品:
https ://aws.amazon.com/blogs/database /announcing-openencypher-for-amazon-neptune-building-better-graph-applications-with-openencypher-and-gremlin-together/
我熟悉 Jupyter notebook https://github.com/aws/graph-notebook但我正在寻找其他替代品。

0 投票
1 回答
100 浏览

amazon-web-services - 海王星 Jupyter 笔记本未显示图形选项卡

在 Neptune 笔记本中,我按如下方式添加顶点:

然后我gremlin -p v,oute,inv选择查看如下的可视化图形表示。参考:https ://docs.aws.amazon.com/neptune/latest/userguide/notebooks-visualization.html

但是,我没有在输出中看到图形选项卡。

在此处输入图像描述