@hydrofoil/shape-to-query
TypeScript icon, indicating that this package has built-in type declarations

0.11.2 • Public • Published

@hydrofoil/shape-to-query

Generate SPARQL queries from SHACL Node Shapes.

TL;DR;

npm i --save @hydrofoil/shape-to-query
import type { GraphPointer } from 'clownface'
import { constructQuery } from '@hydrofoil/shape-to-query'

let shape: GraphPointer

const queryString = constructQuery(shape).build()

For full documentation, see https://github.com/hypermedia-app/shape-to-query

Readme

Keywords

none

Package Sidebar

Install

npm i @hydrofoil/shape-to-query

Weekly Downloads

187

Version

0.11.2

License

none

Unpacked Size

118 kB

Total Files

116

Last publish

Collaborators

  • tpluscode