OSLC Query on DNG returns "Slug should be decorated" error
I am trying to query requirements in DNG via the oslc query. I am using "dc:terms=<http://purl.org/dc/terms>" as the prefix and to filter my data I am using oslc.where="dcterms:references=<MyAppLink>". Essentially I want to filter on requirements, which contain links to my application. If I leave out the oslc.where filter I am getting all results. The links of my app look like this "https://server.com/id". If I add my filter I am getting error 400 "Slug should be decorated but is not 'id' ".
Why am I getting this error?
One answer
As DN isn't ever the source of OSLC links you won't get anything helpful by trying to query it for what are incoming link, because they're not stored in DN.
You'll have to query your application for its outgoing OSLC links to DN. Or maybe they're hyperlinks - whatever, you'll have to query in your app.
As to why you're getting the undecorated slug error - I don't know. I've never tried querying for dcterms:references.
Comments
showing 5 of 7
show 2 more comments