简体   繁体   English

混合 Gremlin、OpenCypher 和 SPARQL

[英]Mixing Gremlin, OpenCypher and SPARQL

AWS Neptune being on a lower level a triple-store (presumably a BlazeGraph fork), it can be queried via SPARQL. AWS Neptune 处于较低级别的三重存储(可能是 BlazeGraph 分支),可以通过 SPARQL 查询它。 At the same time, one can use Gremlin and OpenCypher but as far as I can tell these do not access the triple data (and vice versa).同时,可以使用 Gremlin 和 OpenCypher,但据我所知,它们不能访问三重数据(反之亦然)。 That is, it looks like the property graph is separate from the triples.也就是说,看起来属性图与三元组是分开的。 Is this correct or am I missing something obvious?这是正确的还是我遗漏了一些明显的东西? Can one fetch property-graph data with SPARQL, can one query triples with Gremlin/OpenCypher?可以使用 SPARQL 获取属性图数据,可以使用 Gremlin/OpenCypher 进行三倍查询吗?

Property Graph and RDF data are stored separately inside of Neptune. Property Graph 和 RDF 数据分别存储在 Neptune 内部。 If you write data via the /sparql endpoint, it can then only be accessed via SPARQL thereafter.如果您通过/sparql端点写入数据,则此后只能通过 SPARQL 访问它。 Similar situation if you write via the /gremlin or /oc endpoints, although Property Graph data can be simultaneously accessed via either Gremlin or openCypher.如果您通过/gremlin/oc端点写入,情况类似,尽管可以通过 Gremlin 或 openCypher 同时访问 Property Graph 数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM