ULB-Darmstadt / shacl-form

HTML5 web component for editing/viewing RDF data that conform to SHACL shapes
https://ulb-darmstadt.github.io/shacl-form/
MIT License
24 stars 4 forks source link

Allow graph-modification before generating output? #7

Closed benjaminaaron closed 8 months ago

benjaminaaron commented 8 months ago

For my use case, it would be great if I'd get a chance to modify (e.g. add triples not generated via the form) this graph before it gets serialized. Then I wouldn't have to import the serialized triples back into a temporary triple store to do this via another library. Any chance this might be possible?

s-tittel commented 8 months ago

This is now supported, the serialize function now accepts an optional graph parameter.

benjaminaaron commented 8 months ago

Oh great, thanks a lot for implementing this so fast!