From: Richard C. <ri...@cy...> - 2009-06-25 13:07:07
|
Olaf, Originally TriG did not allow unlabelled graphs, but this was changed after SPARQL was introduced. The test might predate that change. Or not, I'm not sure. Now you need to check the date when the testUnlabelledGraph test was added, and correlate this with the changelog at the end of the TriG spec. Hopefully this answers your question ... Oh, and maybe this helps: http://dowhatimean.net/2005/10/trig-syntax-issues Best, Richard On 23 Jun 2009, at 17:35, Olaf Hartig wrote: > Hey Chris and Richard, > > (CCing to the NG4J list) > > According to the TriG spec. at > > http://www4.wiwiss.fu-berlin.de/bizer/TriG/ > > TriG allows default graphs which are unlabelled - see example 3 as > well as > the 'graph' rule in the EBNF grammar. Is this correct? > > In the JUnit tests for the TriG parser in NG4J we have a test > case 'testUnlabelledGraph' (line 54 in file > tests/de/fuberlin/wiwiss/ng4j/trig/TriGParserTest.java) that > explicitly > rejects unlabelled graphs. > > I'm puzzled. Are unlabelled default graphs allowed or disallowed in > TriG? > > Greetings, > Olaf |