CARVIEW |
Select Language
HTTP/2 200
date: Thu, 09 Oct 2025 05:16:32 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 18:28:51 GMT
cache-control: max-age=2592000, public
expires: Sat, 08 Nov 2025 05:16:32 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98bb680bf98bc1d2
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: EXPIRED
set-cookie: __cf_bm=_.oCMeov_V2iIaBBCzzl1vUtDmTBdzJu3tLBp8nLzNo-1759986992-1.0.1.1-96ElHuwZ.AXFsGocWGUPEHUHiXUB7Q9VaVv2RNjs1.iNPNIjTZJlhODzl1yDLuUTYB9NLzOvP_duWzadmcD8w.jsM3JJPhiulMlxwpa.jBc; path=/; expires=Thu, 09-Oct-25 05:46:32 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98bb680bf98bc1d2-BLR
alt-svc: h3=":443"; ma=86400
Re: syntactic restrictions on RDF graphs from Dan Connolly on 2002-05-02 (www-rdf-comments@w3.org from April to June 2002)
Re: syntactic restrictions on RDF graphs
- From: Dan Connolly <connolly@w3.org>
- Date: 02 May 2002 13:02:46 -0500
- To: "Peter F. "Patel-Schneider <pfps@research.bell-labs.com>, www-rdf-comments@w3.org
- Cc: www-webont-wg@w3.org
- Message-Id: <1020362566.30005.2989.camel@dirk>
www-rdf-comments, please consider this as an interpretation question. i.e. please add it to the RDF Core test suite, and ask the WG to approve it, either as an error or as a positive test. On Thu, 2002-05-02 at 12:35, Peter F. Patel-Schneider wrote: > >From RDF M&S, section 5: Ironcially, section 5 is not about RDF syntax; it's called "5. Formal Model for RDF: https://www.w3.org/TR/1999/REC-rdf-syntax-19990222/#model > <P>To represent a collection <I>c</I>, create a triple {RDF:type, > <I>c</I>, <I>t</I>} where <I>t</I> is one of the three collection > types RDF:Seq, RDF:Bag, or RDF:Alt. The remaining triples > {RDF:_1, <I>c</I>, <I>r</I><SUB>1</SUB>}, > ..., {RDF:_n, <I>c</I>, <I>r</I><SUB>n</SUB>}, ... point to each of the > members <I>r</I><SUB>n</SUB> of the collection. > For a single collection resource there may be at most one triple > whose predicate is > any given element of <I>Ord</I> > and the elements of <I>Ord</I> must be used in sequence starting with RDF:_1. > For resources that are instances of the RDF:Alt collection type, there must > be exactly one triple whose predicate is RDF:_1 and that is the default > value for the Alternatives resource (that is, there must always be at least > one alternative).</P> > > > This looks extremely clear to me. RDF M&S states that not all RDF graphs > (as defined by the new RDF model theory) are valid RDF. > > In other words, the following RDF should be rejected by RDF implementations > is syntactically ill-formed. > > <rdf:Bag> > <rdf:_1 rdf:resource="ex:first" /> > <rdf:_2 rdf:resource="ex:second" /> > <rdf:_1 rdf:resource="ex:other-first" /> > </rdf:Bag> Well, I'm not aware of any implementations that do that, so that's not how the text above was understood by implementors. > Of course, this paragraph goes against some later decisions, as it > explicitly forbids holes in collections, which are now explicitly allowed. Right; it seems to me that we've decided to allow this. But perhaps unconsciously. -- Dan Connolly, W3C https://www.w3.org/People/Connolly/
Received on Thursday, 2 May 2002 14:02:25 UTC