dash:Explore/Modify/BatchActions can take parameters that are declared using sh:parameter. The other input they receive is the focusNode, i.e. the currently selected resource.
This means that the dash:js script may query the values that were entered/selected by the user for the parameters. There is, until now, no further way to open another page of parameters based on values entered in previous steps. I wish we had that capability, but it hasn't bubbled up to the top in priority. In your case, is my understanding correct that you want the user to be able to select a query from the SPARQL Library? Off the top of my head I cannot think of a way to do that from a sh:Parameter, although these offer the same features as other property shapes, including the ability to specify a dash:editor. But I think we lack a dash:editor widget that would be populated from a SPARQL query (or any other node expression). Maybe your use case would be addressed if we had such a widget. Would you mind clarifying your requirements a bit more based on this? Thanks, Holger > On 7 Feb 2024, at 11:01 am, 'Richard Nagelmaeker' via TopBraid Suite Users > <[email protected]> wrote: > > Hi, > > Using EDG 7.8 is it possible to use Resource or Batch actions in combination > with user interaction. The user interaction is needed, for the user to select > the data product they want and receive the resulted product on their computer > or even better, store the data product in Nexus. > The data products are the result of a sparql query (stored in SPARQL Library) > run on a reference data set. A dataset has multiple data products associated > with it. We want the user to select what data product they want. Effectively > the user selects the sparql query to generate the data product. > > For now we use an ADS Explore action. This uses a graph.select function to > retrieve the list of queries (from the urn:x-evn-user-data). We could show > this list to the user (using the graph.html function), but how can we receive > the users response. The response is the selection of the specific data > product (= sprawl query) by the user. > > Are the Resource (or Batch) actions able to receive user interaction? Or do > you see another way around this, while still staying within EDG? > For now we see an external user interface and an ADS API as a possible > solution. But we prefer to keep things within EDG if possible. > > Regards, > > Richard > > > -- > The topics of this mailing list include TopBraid EDG and related technologies > such as SHACL. > To post to this group, send email to [email protected] > --- > 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/f461bbb5-1c72-434a-94a8-6677c94f5cc5n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/f461bbb5-1c72-434a-94a8-6677c94f5cc5n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- The topics of this mailing list include TopBraid EDG and related technologies such as SHACL. To post to this group, send email to [email protected] --- 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/189CE51C-BD54-42C0-9408-0D4F69AFF0DB%40topquadrant.com.
