Namespace prefixes are output for non super-users?

This is happening in Stardog Studio.
When I run the following against the stardog-tutorial-beatles db (which has the default namespace prefix set to http://stardog.com/tutorial/)
SELECT ?album
{
?album a :Album.
}
When using an admin account, I get responses formatted like :Please_Please_Me (which is good.)
But when I use an account I created that only has "read" access to that database, the same query returns everything formatted like http://stardog.com/tutorial/Please_Please_Me

How do I get it so that a read-only user still gets the response formatted without the namespace prefix? Is it a separate permission?

Hi Clancy, and welcome!

The ability to read the database's namespaces is actually rolled into a separate permission, as they are part of the database's metadata. If you grant the user READ access to METADATA of the db name (on top of READ-DATABASE-dbname), the prefixes will appear in the results.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.