@hydrofoil/shape-to-query
v0.13.2
Published
Generate SPARQL queries from SHACL Node Shapes.
Downloads
1,383
Readme
@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