@rdfjs/dataset
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/rdfjs__dataset package

    2.0.1 • Public • Published

    @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])
    

    Install

    npm i @rdfjs/dataset

    DownloadsWeekly Downloads

    13,077

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    30.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • bergos
    • l00mi