@hydrofoil/shape-to-query
v0.15.0
Published
Generate SPARQL queries from SHACL Node Shapes.
Downloads
4,293
Readme
@hydrofoil/shape-to-query
Generate SPARQL queries from SHACL Node Shapes.
TL;DR;
npm i --save @hydrofoil/shape-to-queryimport 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
