- 887a95c: Improve performance of queries by using subselects (updates
@hydrofoil/shape-to-query
tov0.10
) (closes #34, closes #21)
- cbeead9: Large hierachies could cause
414 URI Too Long
respose - 82265d5: Prevent
sh:targetClass
from knocking out hierarchy nodes without targets (fixes #31)
- b8fd9b7:
getHierarchy
: add options to forward to@hydrofoil/shape-to-query
- b8fd9b7: Update
@zazuko/env
to1.10.1
- b8fd9b7: Update
@hydrofoil/shape-to-query
- allows extendingPropertyShape
(see example/hierarchy.ts)
- 2ac4681: Improve performance of
getHierarchy
called with numerous properties
- 24997e4: Use
@zazuko/env
instead ofrdf-ext
- d002da4: Add an optional argument to
getHierarchy
to list exact properties to retrieve for all levels (closes #22)
- 24997e4: Update dependencies to ESM
- 573ccd8: The
query
object returned bychildren
andexample
functions is now typed asDescribe
which has a slightly different signature fromConstruct
which was returned previously. (note that the actual query has not changed) - 573ccd8: The
getHierarchy
exported by the main module now generates aCONSTRUCT
query which should yield a great improvement in performance in some cases (closes #17)
- 573ccd8: Removed dependency on
chai-snapshot-matcher
which should have been dev-only
- 6542eae: As a regeression from #12, some data was still missing when fetching entire hierarchy
- a00f28a: Roots without children were not returned by the
getHierarchy
function
-
29db201: The children() method result now returns the children (still as an array of GraphPointer) and the parent (as a GraphPointer).
- const childrenResult = await children(...) + const { children: childrenResult } = await children(...)
-
1d4ac7e: First version
-
f946c50: Getting entire hierarchy. See example in
examples/hierarchy.ts
. Run it likeyarn run example examples/hierarchy.ts \ --cube https://environment.ld.admin.ch/foen/fab_Offentliche_Ausgaben_test3/7
- 6340c7f: Add
@zazuko/vocabulary-extras
as dependency - 6340c7f: Update
@tpluscode/rdf-ns-builders
to v2 - ac1db59: Missing type declarations in package
- b180146: Improve the query for example resources. Paging is now done in a
SELECT
subquery - b180146: Update dependencies on
@rdfjs/*
andrdf-ext
packages to use the ESM versions
-
29db201: The children() method result now returns the children (still as an array of GraphPointer) and the parent (as a GraphPointer).
- const childrenResult = await children(...) + const { children: childrenResult } = await children(...)
- 6340c7f: Add
@zazuko/vocabulary-extras
as dependency - 6340c7f: Update
@tpluscode/rdf-ns-builders
to v2 - b180146: Improve the query for example resources. Paging is now done in a
SELECT
subquery - b180146: Update dependencies on
@rdfjs/*
andrdf-ext
packages to use the ESM versions
- ac1db59: Missing type declarations in package
- 1d4ac7e: First version