- From: dosumis <dosumis@gmail.com>
- Date: Mon, 13 Aug 2012 12:13:19 +0100
- To: David Osumi-Sutherland <dosumis@gmail.com>
- Cc: public-owled@w3.org
- Message-Id: <BA0B29B6-699B-4CAC-98AF-ADAC2ADC4ACC@gmail.com>
Hi all, As previously promised here are some proposals for how we could extend OMN to support GCIs. These proposals are the result of discussion among a smaller group off-list. Here they are for more open discussion: PROPOSAL 1 (most favoured?): Extend misc production to include SubClassOf: (Originally suggested by Bijan Parsia) Changes to BNF spec: Addition to metaproductions: <NT>List ::= <NT> { ',' <NT> } <NT>2List ::= <NT> ',' <NT>List + <NT>BinaryList ::= <NT> ',' <NT> misc ::= 'EquivalentClasses:' annotations description2List | 'DisjointClasses:' annotations description2List | 'EquivalentProperties:' annotations objectProperty2List | 'DisjointProperties:' annotations objectProperty2List | 'EquivalentProperties:' annotations dataProperty2List | 'DisjointProperties:' annotations dataProperty2List | 'SameIndividual:' annotations individual2List | 'DifferentIndividuals:' annotations individual2List + | 'SubClassOf:' annotations Binary2List e.g. (A rel some B) SubClassOf (C rel some D) [ GCI written as in Protege] => SubClassOf: (A rel some B), (C rel some D) Advantages: 1. Perhaps the simplest possible extension to OMN to => expressiveness required. In particular, avoids adding new frames. 2. All GCIs recorded in a similar way: Misc actually already supports some types GCIs - those expressing equivalence of disjointness between class expressions (actually between every member in a list of class expressions), so the proposed extension simply completes this. Disadvantages: 1. GCIs using SubClassOf are expressed using SubClassOf in a prefix position, rather than infix. This seems to go against the spirit of OMN in preferring infix wherever possible. 2. SubClassOf is also used as a keyword in 'Class' frames. In this case it is used in an infix position. This is potential trap/pain for writers of syntax highlighters and parsers. So, perhaps we should choose a different keyword for the misc case? PROPOSAL 2: Extend Class stanzas to allow class expressions. (Originally suggest by Matthew Horridge) Changes to BNF spec: classFrame ::= 'Class:' classIRI > classFrame ::= 'Class:' classIRI | description e.g. (A rel some B) SubClassOf (C rel some D) => Class: A rel some B SubClassOf: C rel some D Advantages: 1. Groups together SubClassOf GCIs with a common 'subject' 2. Retains infix use of SubClassOf 3. Existing spec for Class frames gives us a way to express Equivalence and Disjointness between pairs of class expressions. Disadvantages: 1. Difference between Class frames about named classes and unnamed classes is implicit. 2... ? PROPOSAL 3 (least favoured so far): Add new frame for GCIs. Presumably this would work for GCIS expressing disjointness and equivalence between pairs of class expressions as well as those expressing subclassing. Changes to BNF spec: <Not attempted this yet> e.g. (A rel some B) SubClassOf (C rel some D) [ GCI written as in Protege] => GCI: (A rel some B) SubClassOf (C rel some D) Advantages: Retains infix in a way that mirrors how GCIs look in Protege and how regular (English speaking, non-logician) users likely to write them in specs/presentations. Disadvantages: Adds a whole new frame with all relevant spec.... Cheers, David On 27 Jul 2012, at 14:40, David Osumi-Sutherland wrote: > Hi all, The expressiveness of OWL Manchester Syntax (omn) is limited compared to > other OWL2 syntaxes. For example, it is not possible to express GCIs in omn. > I would like to extend omn so that is has the expressiveness of all the other > official OWL2 syntaxes. This post is intended to start the ball rolling on > discussion [...] > > > > ---------- > > This post sent on OWL: Experiences and Directions Community Group > > > > 'Extending Manchester Syntax' > > http://www.w3.org/community/owled/2012/07/27/extending-manchester-syntax/ > > > > Learn more about the OWL: Experiences and Directions Community Group: > > http://www.w3.org/community/owled > > > >
Received on Monday, 13 August 2012 11:14:17 UTC