目录
目录README.md

@rdfjs/dataset

build status npm version

An indexed implementation of the RDF/JS Dataset based on the great work by Ruben Verborgh in N3.js.

Usage

Use the following command to add the package as a dependency to your project:

npm install @rdfjs/dataset --save

The main entry point of the package exports an RDF/JS DatasetCoreFactory instance. See the following lines on how to import and use the library:

import dataFactory from '@rdfjs/data-model'
import datasetFactory from '@rdfjs/dataset'

const quad = dataFactory.quad(
  dataFactory.blankNode(),
  dataFactory.namedNode('http://schema.org/name'),
  dataFactory.literal('RDF/JS Dataset')
)

const dataset = datasetFactory.dataset([quad])
关于
58.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号