naemspaces

0 views
Skip to first unread message

PaulZH

unread,
Feb 18, 2013, 9:47:19 AM2/18/13
to sta...@clarkparsia.com
a) cli
./stardog namespace add --prefix dct --uri 'http://purl.org/dc/terms/' -u xxx -p xxx -c "http://localhost:5822/myDB"

Successfully added the namespace

b) cli
./stardog-admin metadata get -n myDB

database.namespaces               | owl=http://www.w3.org/2002/07/owl# , rdfs=http://www.w3.org/2000/01/rdf-schema# , |
|                                   | xsd=http://www.w3.org/2001/XMLSchema# ,                                          |
|                                   | sc=http://xxx.xxx.xxx/def/ ,                                 |
|                                   | rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns# ,     

===> dct not appearing in overview

c) cli
./stardog namespace add --prefix dct --uri 'http://purl.org/dc/terms/' -u admin -p admin -c "http://localhost:5822/myDB"
Prefix dct already has this mapping

Is dct not to be expected in the list of database.namespaces?

Evren Sirin

unread,
Feb 18, 2013, 11:20:08 AM2/18/13
to Stardog
I believe there is some kind of caching problem here with metadata get
command. If you list the namespaces using the following command I
think you will see the updated namespaces:

./stardog namespace list -c "http://localhost:5822/myDB"

Or you might try to run a query using the namespace just added to see
if it works:

./stardog query -c "http://localhost:5822/myDB" -q "select * {?x
dct:creator ?y }"

In either case, we will look into this problem in more detail. Thanks
for the report.

Best,
Evren
> --
> -- --
> You received this message because you are subscribed to the C&P "Stardog"
> group.
> To post to this group, send email to sta...@clarkparsia.com
> To unsubscribe from this group, send email to
> stardog+u...@clarkparsia.com
> For more options, visit this group at
> http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
>
>
Reply all
Reply to author
Forward
0 new messages