"Could not parse query: " + e.getMessage());
CorsHelper.addCORSOrigin(servletContext, rb, requestHeaders);
return rb.build();
}
Query query = null;
try {
query = Query.toQueryFromJsonLd(jsonLdQuery);
} catch (Exception e) {
logger.info("Could not extract Query from JSON-LD", e);
ResponseBuilder rb = Response.status(Status.BAD_REQUEST).entity(