> On 2 Dec 2019, at 12:34, Jan Voskuil <[email protected]> wrote: > > Hi, > The "# baseURI: " directive is typically generated by TBC. > Often, one inserts the directive manually so that you can use or edit the > serialized graph inside TBC. > > We generate serialized versions and copies of graphs using CONSTRUCT queries.
Technically, that’s not possible as far as I know. CONSTRUCT alone cannot create a stored, named graph. It creates inferred triples in an in-memory graph (a graph with no encoding). The management of the graph (and encoding) into which the triples are saved has to happen outside of the CONSTRUCT, by whatever processes also executes the SPARQL. Note the wording in the spec where it says “returns” (i.e. the calling process has to do something more with that graph in order to store it as TTL, RDF/XML, JSON-LD, etc): 16.2 CONSTRUCT The CONSTRUCT query form returns a single RDF graph specified by a graph template > But something like "# baseURI: http://example.org/mygraph_v1.1" cannot be > generated in that way. > > Is there a trick to achieve the goal over generating a serialized graph that > is directly useable in TBC? -Jan Writing a script I guess …. hardly a trick though. Cheers, David > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/c5fc50f7-1466-48d3-9c75-cb48468cdc78%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/c5fc50f7-1466-48d3-9c75-cb48468cdc78%40googlegroups.com?utm_medium=email&utm_source=footer>. UK +44 (0) 7788 561308 US +1 (336) 283-0808 -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/4E8EF446-35F0-46AE-8D47-3354B666700A%40topquadrant.com.
