Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphqlld-on-file

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphqlld-on-file

Execute a GraphQL-LD query on an RDF file.

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

GraphQL-LD on a file

This JavaScript library allows to easily execute a GraphQL-LD query on an RDF file.

Usage

The package is available on npm. You can use it as follows.

const { query } = require('graphqlld-on-file');

const result = await query('test/test.ttl', {
  name: 'http://schema.org/name'
}, '{ name }');

// result = [{name: ['Test']}]

Build the GraphQL-LD engine

The engine used to execute the GraphQL-LD queries is a custom Comunica engine, which is build using the Comunica packager. You can build the engine via the following commands.

  • Install dependencies via npm i.
  • Build GraphQL-LD engine via npm run build:engine.

License

© 2019 Pieter Heyvaert, MIT License

Keywords

FAQs

Package last updated on 10 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc