allow flow variables to be used in sparql query

Hi

I’m using the SPARQL Query node in Knime Labs/Semantic Web/Linked Data, could we allow this to use flow variables within the query? currently there is no way to construct a query that includes values from flow variables.

Thanks

David

You can populate the entire query with a workflow variable. Use the String manipulation (Variable) node to construct your query, then select the variable in the SPARQL Query node’s Flow Variables tab.

1 Like

Thanks, string manipulation can’t take multi-line inputs, and is difficult to cut and paste into it.

It would be much better to be able to have the input text panel with the existing SPARQL query, and have the ability as in the sql database nodes to include flow variables. Database queries can be very complex, and string manipulation node is really not suited for queries which run into tens of lines long.

Best

David

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.