- From: Michael Schneider <schneid@fzi.de>
- Date: Wed, 18 Feb 2009 20:49:54 +0100
- To: Reto Bachmann-Gmür <reto.bachmann@trialox.org>
- Cc: "Semantic Web" <semantic-web@w3.org>
- Message-ID: <0EF30CAA69519C4CB91D01481AEA06A00107172C@judith.fzi.de>
>-----Original Message----- >From: semantic-web-request@w3.org [mailto:semantic-web-request@w3.org] >On Behalf Of Reto Bachmann-Gmür >Sent: Wednesday, February 18, 2009 12:28 PM >To: Semantic Web >Subject: rdf:firts and rdf:rest as functional property > >>From the description of RDF collections in the primer I would consider >rdf:first and rdf:rest as functional properties. However, > >http://www.w3.org/TR/rdf-schema/#ch_list says: >> >> Note: RDFS does not require that there be only one first element of a >> list-like structure, or even that a list-like structure have a first >> element. > > >I understand that RDFS doesn't have the notion of functional properties, >but it could nevertheless be specified specifically for rdf:first and >rdf:rest. > >Especially since RDFS also states that: > >> A triple of the form: >> >> L rdf:rest rdf:nil >> >> states that L is an instance of rdf:List that has one item; that item >> can be indicated using the rdf:first property > >I'm not sure if this means that the last element has exactly or at least >one item. In any case to me this seems to be a rather weird >special-casing of the last rdf:List in a structure. > >My questions: >- Are there useful usages where an rdf:list has several distinct >rdf:first and rdf:rest value? >- Is it just not written that rdf:first and rdf:rest are functional >(maybe due to some spec layering reasons) or is false to consider >rdf:first and rdf:next as functional? Let's assume you have: _:x rdf:first <u> _:x rdf:first <w> What do you expect to receive from functionality here? There is no owl:sameAs in RDF(S). It would need OWL for "completion" of the list semantics. But in OWL DL, RDF lists are only used as part of the syntax to represent argument lists; you cannot define axioms about lists. And OWL Full, the flavor of OWL that actually extends the RDFS semantics, would probably not add semantics for a feature that has no semantics in OWL DL. So far for the "layering". The RDFS semantics for lists could perhaps be arranged to produce results in the special case that both <w> and <u> are /classes/, by inferring: <u> rdfs:subClassOf <w> <w> rdfs:subClassOf <u> Because this is what you would get in OWL Full for two classes that happen to be equal. Analog for properties. But would these restricted usage scenarios be worth the additional complexity of RDFS reasoners? But why does anybody want semantic constraints for lists at all? One certainly does not want to reason about duplicate rdf:first occurrences, right? What one probably rather wants is to make sure that lists are structurally ok. And, I guess, for all realistic scenarios, a syntax checker will simply do the job. >Cheers, >reto Cheers, Michael -- Dipl.-Inform. Michael Schneider Research Scientist, Dept. Information Process Engineering (IPE) Tel : +49-721-9654-726 Fax : +49-721-9654-727 Email: schneid@fzi.de WWW : http://www.fzi.de/ipe/eng/mitarbeiter.php?id=555 ============================================================================ == FZI Forschungszentrum Informatik an der Universität Karlsruhe Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe Tel.: +49-721-9654-0, Fax: +49-721-9654-959 Stiftung des bürgerlichen Rechts Stiftung Az: 14-0563.1 Regierungspräsidium Karlsruhe Vorstand: Prof. Dr.-Ing. Rüdiger Dillmann, Dipl. Wi.-Ing. Michael Flor, Prof. Dr. rer. nat. Dr. h.c. Wolffried Stucky, Prof. Dr. rer. nat. Rudi Studer Vorsitzender des Kuratoriums: Ministerialdirigent Günther Leßnerkraus ============================================================================ ==
Received on Wednesday, 18 February 2009 19:50:36 UTC