Generate SPARQL queries from SHACL Node Shapes.
npm install @hydrofoil/shape-to-queryGenerate SPARQL queries from SHACL Node Shapes.
``shell`
npm i --save @hydrofoil/shape-to-query
`ts
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