Re: Common RDF parser bug?

Jeremy Carroll wrote:
> 
> >
> > I think the text from M&S is simply expressing a cardinality
> > constraint, part of the M&S (informal) ontology.  Therefor this
> > constraint should be handled when/if other ontology information is
> > handled, and not in the RDF parser.
> 
> Hear, hear.
> 
> ARP explicitly does not do any schema validation.
> 
> I will *not* be adding this as a defect to ARP's bugzilla.

This does mean that anyone using an RDF parser to load an RDF-XML
document has no guarantee that the RDF is valid. It will certainly seem
counterintuitive to RDF newcomers that a conformant RDF parser will
allow invalid RDF.

It also seems from the replies that different approaches to such invalid
RDF will occur; some people may attempt to infer equivalences, as Sandro
suggests, but others could equally well reject the RDF as invalid after
detecting the wrong number of properties. Which approach is _correct_?
If there is more than one 'correct' approach, then the meaning of that
piece of RDF is ambiguous. I think this needs clarifying.

Regards,

David Allsopp.

-- 
/d{def}def/u{dup}d[0 -185 u 0 300 u]concat/q 5e-3 d/m{mul}d/z{A u m B u
m}d/r{rlineto}d/X -2 q 1{d/Y -2 q 2{d/A 0 d/B 0 d 64 -1 1{/f exch d/B
A/A z sub X add d B 2 m m Y add d z add 4 gt{exit}if/f 64 d}for f 64 div
setgray X Y moveto 0 q neg u 0 0 q u 0 r r r r fill/Y}for/X}for showpage

Received on Monday, 21 January 2002 05:38:15 UTC