W3C home > Mailing lists > Public > public-owl-wg@w3.org > March 2009

A problem with HasKey in the functional-style syntax

From: Boris Motik <boris.motik@comlab.ox.ac.uk>
Date: Wed, 18 Mar 2009 17:37:15 -0000
To: "'W3C OWL Working Group'" <public-owl-wg@w3.org>
Message-ID: <417CC6FA3EA44B1DBB20303100272F96@wolf>

I've just noticed a problem in the functional-style syntax for HasKey. The
current syntax is

HasKey( CE P1 ... Pn )

where Pi are either object or data properties. But this means that the axiom is
not fully typed. Consider, for example, the following axiom:

HasKey( a:MyClass a:MyProperty )

>From this axiom alone, it is not clear whether a:MyProperty is an object or a
data property. Effectively, this means that we haven't addressed correctly the
comment by Matthew Horridge.

My proposal for fixing this is to write the above axiom like this:

HasKey( a:MyClass ObjectPropertyList( a:MyProperty ) )

More generally, the grammar would be like this:

HasKey := 'HasKey' '(' ClassExpression
    'ObjectPropertyList' '(' { ObjectPropertyExpression } ')' |
    'DataPropertyList'   '(' { DataPropertyExpression   } ')'

This change should be propagated to all the other documents as well.

Unless someone objects, I'll make this change tomorrow afternoon.


Received on Wednesday, 18 March 2009 17:38:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:42:10 UTC