有没有一种方法可以将JSON-LD转换为N-Quads格式? [英] Is there a way to convert JSON-LD to N-Quads format?

查看:161
本文介绍了有没有一种方法可以将JSON-LD转换为N-Quads格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个要求,我们将以JSON-LD格式存储数据以维护目录,并且必须将目录中的数据分批提取到支持RDF数据格式的图形数据库.为此,我们一直在研究Cayley和DBgraph,但是这些DB支持N-Quad作为其数据格式.

We have a requirement where we will be storing data in JSON-LD format for maintaining catalog and data from catalog will be pulled in batches to graph DB which supports RDF data format. We have been looking at Cayley and DBgraph for this purpose but these DB support N-Quads as their data format.

是否有一个图数据库具有JSON-LD数据格式,或者是否可以将JSON-LD格式转换为N-Quads/Turtle格式?

If there is a graph db which has JSON-LD data format or if there is way to convert JSON-LD format to N-Quads/Turtle format?

推荐答案

将JSON-LD转换为N-Quad(并反向转换)是JSON-LD API规范中描述的核心算法.任何符合条件的JSON-LD处理器都支持

Converting JSON-LD to N-Quads (and back) are core algorithms described in the JSON-LD API specification. Any conforming JSON-LD processor supports this

这篇关于有没有一种方法可以将JSON-LD转换为N-Quads格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆