Closed mosoriob closed 1 year ago
@hvarg help!
Thats non valid sparql, The query should be:
SELECT DISTINCT ?ClimateVariable1 ?ClimateVariable2 ?url ?ClimateVariable3 {
?resource <http://disk-project.org/ontology/disk#hasVariableName> "Temperature",
"Temperature",
"Temperature" ;
<http://www.w3.org/ns/dcat#downloadURL> ?URL .
}
after a ;
you must follow with two resources
Thanks. The server sends a 400 bad request when the query doesn't parse
I have created a LOI and Hypotheses.
When I trigger the execution, the query doesn't work.
The problem seems to be that the code is adding the workflow variables. However, the workflow variables are not included in the query
https://github.com/KnowledgeCaptureAndDiscovery/DISK-WEB/blob/7039e9089b2f0f5062217d161b43367466c9c4c2/server/src/main/java/org/diskproject/server/repository/DiskRepository.java#L1205
You can check the error using dev tools