N-Triples 是 RDF 图的基于行的序列化格式。每行代表 RDF Triple 的主语、谓语和宾语,由空格分隔并以点结尾,如下所示:
<http://one.example/subject1> <http://one.example/predicate1> <http://one.example/object1> .
更多细节可以在这里找到: http: //www.w3.org/TR/n-triples/
但是为什么有必要定义这样一种格式,如果一个人可以简单地使用 CSV 来序列化 RDF 三元组
http://one.example/subject1, http://one.example/predicate1, http://one.example/object1
我什至可以使用 CSV 轻松扩展以支持 N-Quads、N-Quints……。在序列化 RDF 三元组方面,N-Triples 与 CSV 相比有哪些优势?