I am trying to run this query in Amazon Neptune:
Delete{?s <http://mydomain#aresource> ?o.
}
WHERE {
GRAPH ?g {
?s <http://mydomain#aresource> ?o.
}
} limit 1
But I'm getting this error:
"code": "MalformedQueryException",
"detailedMessage": "Malformed query: Encountered \" \"limit\" \"limit \"\" at line ..., column ....\nWas expecting one of:\n <EOF> \n \";\" ...\n "
When I remove the limit, the query works. Does this mean that Neptune delete does not support the limit or am I doing something wrong?