On 07/11/12 21:01, Elli Schwarz wrote:


Andy,


I'm running the Fuseki jar with the --update and --config option. My config 
file is the same as the config-tdb.ttl which comes with the distribution, but I 
commented out the read-only DB part. I also added an index for use with Larq.

OK - I've managed to get a sort of test case. Firstly, the fix to TDB was necessary. And now it works once then fails when reapplied, which is rather odd.

My test is:

Update:
-------------------------
BASE <http://example/>

CLEAR ALL
;
INSERT DATA { GRAPH <g> { <s> <p> 1}}
;
INSERT { GRAPH <g99> { ?s ?p 99} }
WHERE  { ?s ?p 1 }
-------------------------

Query to see what's in the dataset:

BASE <http://example/>
SELECT * {{?s ?p ?o} UNION {GRAPH ?g { ?s ?p ?o}}}

and I get:

First time: correct:
----------------------------------------------------------------------
| s                  | p                  | o  | g                    |
=======================================================================
| <http://example/s> | <http://example/p> | 1  |                      |
| <http://example/s> | <http://example/p> | 99 |                      |
| <http://example/s> | <http://example/p> | 1  | <http://example/g>   |
| <http://example/s> | <http://example/p> | 99 | <http://example/g99> |
-----------------------------------------------------------------------

Second time - no server restart: incorrect

--------------------------------------------------------------------
| s                  | p                  | o | g                  |
====================================================================
| <http://example/s> | <http://example/p> | 1 |                    |
| <http://example/s> | <http://example/p> | 1 | <http://example/g> |
--------------------------------------------------------------------

        Andy


As far as development setup, I just checked out the Jena trunk and run mvn 
clean install. I'm running on a high-end Ubuntu box.


Thank you,

Elli

Reply via email to