[conradL@qimr13054 ~]$ stardog-admin db create -o reasoning.schema.graphs=foo:bar -n testSuccessfully created database 'test'.
[conradL@qimr13054 ~]$ stardog data add -g foo:bar test ~/workspace/grafli/ontology/grafli-tbox.owlAdding data from file: /home/conradL/workspace/grafli/ontology/grafli-tbox.owlAdded 2,146 triples in 00:00:00.061
[conradL@qimr13054 ~]$ stardog data add -g baz:quux test /tmp/grafli-ui-rebuild.1437537973/study\:cca9365f-b292-484f-9eab-2c143bebb2b4.ttl Adding data from file: /tmp/grafli-ui-rebuild.1437537973/study:cca9365f-b292-484f-9eab-2c143bebb2b4.ttlAdded 263,255 triples in 00:00:01.312[conradL@qimr13054 ~]$ stardog query test "SELECT ?g (count(?s) as ?n) WHERE { GRAPH ?g { ?s ?p ?o } } GROUP BY ?g"+----------+--------+| g | n |+----------+--------+| foo:bar | 2146 || baz:quux | 263255 |+----------+--------+
Query returned 2 results in 00:00:00.039
[conradL@qimr13054 ~]$ stardog-admin metadata get -o reasoning.schema.graphs test+-------------------------+---------+| Option | Value |+-------------------------+---------+| reasoning.schema.graphs | foo:bar |+-------------------------+---------+
[conradL@qimr13054 ~]$ stardog data remove -g baz:quux test Removed 263,255 triples in 00:00:00.501
[conradL@qimr13054 ~]$ stardog data add test /tmp/grafli-ui-rebuild.1437537973/study\:cca9365f-b292-484f-9eab-2c143bebb2b4.ttl Adding data from file: /tmp/grafli-ui-rebuild.1437537973/study:cca9365f-b292-484f-9eab-2c143bebb2b4.ttlAdded 263,255 triples in 00:00:01.609
[conradL@qimr13054 ~]$ stardog query test "SELECT ?g (count(?s) as ?n) WHERE { GRAPH ?g { ?s ?p ?o } } GROUP BY ?g"+---------+-------+| g | n |+---------+-------+| foo:bar | 2146 |+---------+-------+
Query returned 1 results in 00:00:00.033
[conradL@qimr13054 ~]$ stardog query test "SELECT (count(?s) as ?n) WHERE { ?s ?p ?o }"+--------+| n |+--------+| 263255 |+--------+
--
-- --
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