Hi,
I am using pystardog and I am trying to pass a list of string thorugh binding to replace a value in Sparql filter. But this is not working ,
I want this list to be reaplced in Filter and get the filtered result. Can anyone suggest how I can achieve this?
My sparql:
FILTER (?param IN ($param))
In pystardog:
param_required = ["a","b","c"]
/# I have also tried with
/## param_required = """ "a","b","c" """
results = conn.select(
query,
content_type="text/csv",
reasoning=True,
bindings={
"param": f'{param_required}',
},
)