"stardog data obfuscate -f TRIG" doesn't export data with expected named graph membership

0 views
Skip to first unread message

Conrad Leonard

unread,
Jul 22, 2015, 9:00:15 PM7/22/15
to Stardog
== Reproduce ==

Create a db with 2 minimal named graphs:

[conradL@qimr13054 ~]$ cat foo.trig 
@prefix ex: <http://example.org/> .

ex:a {
ex:b ex:c ex:d
}
[conradL@qimr13054 ~]$ cat bar.trig 
@prefix ex: <http://example.org/> .

ex:e {
ex:f ex:g ex:h
}
[conradL@qimr13054 ~]$ stardog-admin db create -n test foo.trig bar.trig
Bulk loading data to new database test.
Loaded 2 triples to test from 2 file(s) in 00:00:00.391 @ 0.0K triples/sec.
Successfully created database 'test'.

stardog data export -f TRIG works as I expect:

[conradL@qimr13054 ~]$ stardog data export -f TRIG -g tag:stardog:api:context:all -- test
@prefix ex: <http://example.org/> .
@prefix stardog: <tag:stardog:api:> .

ex:a {
ex:b ex:c ex:d .
}

ex:e {
ex:f ex:g ex:h .
}


But stardog data obfuscate -f TRIG does not:

[conradL@qimr13054 ~]$ stardog data obfuscate -f TRIG -g tag:stardog:api:context:all -- test
@prefix ex: <http://example.org/> .
@prefix stardog: <tag:stardog:api:> .

{
<tag:stardog:api:obf:13161e97f2d0cbfd5cfe62240392c4ba8792e19c0de710c06da495c19e9a7c15> <tag:stardog:api:obf:3919a114b079744773bfb21229e95ae80a43322521728c1ea46bcdfdd8a5cec3> <tag:stardog:api:obf:47d509436903900a15fb3958c6b01e238289aee8e28a0ca50e15a50ab082fc8d> .
<tag:stardog:api:obf:4dd2cb7fdf3bb6862c815659db10dac83e9792f5cf9db8fd0bae479946d7af95> <tag:stardog:api:obf:d81c7dc68a4caab81b8e274606efd4178e0a7b7525e36d66d6ef321a5c842545> <tag:stardog:api:obf:18894c2a71d79752d2268aa7994c64a2d02c33245d9872a5561a52f8d07d27d7> .
}

Looks like everything is in the default graph

Michael Grove

unread,
Jul 24, 2015, 7:24:49 AM7/24/15
to stardog
Thanks for reporting this.  The issue number is #2411 and we'll fix it for the next release.

Cheers,

Mike

--
-- --
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