- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Mon, 15 Aug 2011 18:55:21 +0100
- To: Axel Polleres <axel.polleres@deri.org>
- CC: public-rdf-dawg@w3.org
I have now been able to execute the tests: I disagree with "LOAD SILENT INTO" though. The operation is: LOAD SILENT <DoesNotExist> INTO GRAPH <http://www.example.org/> There are several kinds of error caught by the SILENT: * The source of the operation does not exist (explicitly 404) * The source is not contactable (may or may not exist) * The graph has parse errors. * Transmission error : partial data recieved (which itself may be legal RDF). A possible implementation [*] is create the destination in the triple store, then attempt to read in the remote data. This avoids needing to have a separate place to conduct the operation in case it does wrong. In the SILENT case, I thinks it's reasonable for the named graph to be created in each case for uniformity. Stores are free to remove it instantly like any other empty graph - but the operation should not force the issue. The test assumes it does not exist afterwards. I suggest not testing against possible implementation approaches. Instead, change into a parse error test, with no possible triples even by partial parsing. Andy [*] I have this kind of implementation and also the no-empty-graphs kind. On 15/08/11 13:22, Axel Polleres wrote: > Thanks! The syntax errors were indeed not intended and should be fixed now. Moreover, I added test cases for COPY. > > best, > Axel > > On 15 Aug 2011, at 14:25, Andy Seaborne wrote: > >> I get syntax errors when running these tests: >> >> Error: LOAD SILENT INTO >> Encountered "<IRIref> "<http://www.example.org/> "" at line 1, column 76. >> Was expecting: >> "graph" ... >> >> Error: CREATE SILENT >> Encountered "<IRIref> "<http://example.org/g1> "" at line 1, column 15. >> Was expecting: >> "graph" ... >> >> SILENT does not imply ignore syntax errors does it? >> >> Andy >> >> >
Received on Monday, 15 August 2011 17:55:52 UTC