W3C home > Mailing lists > Public > www-rdf-logic@w3.org > March 2002

Re: equivalent domain & range

From: Jerome Euzenat <Jerome.Euzenat@inrialpes.fr>
Date: Sun, 3 Mar 2002 18:16:11 +0100
Message-Id: <a05101400b8a6ec6370f4@[194.199.20.189]>
To: denn@suffolk.lib.ny.us, www-rdf-logic@w3.org
Hi,

In his message (equivalent domain & range) of 26/02/2002,
Michael Denny wrote:
>Is there a way in DAML+OIL to simply specify that the domain and the range
>of a superslot are equivalent, so that when a subslot is applied to a class,
>its range is implicitly restricted to this same class?  (I guess this would
>be a form of property overloading.)  Thanks for the help.

This requires second order because what you want to express is that:

superslot: * -> *
	(* being a type variable in the ML fashion -- and this needs 
type unification for being propagated the way you want to the 
subslots).

The equivalent in FOL (LaTeX variant) would be:
$\forall subslot\leq superslot, \exists c; \forall i, j, 
subslot(i,i')\implies c(i) \wedge c(i')$
This quantifies both on slots and classes.

So, I do not think that there is even a way to (non simply) specify 
it in DAML+OIL. This would require constraints on _class variables_.
The only doable thing is exhaustive expression of the constraints.

Note that, in OOProgramming too, property overloading is generaly 
explicitely expressed (i.e., you have to overload and you cannot 
express what you asked for in the first place).

-- 
  Jérôme Euzenat                  __
                                  /      /\
  INRIA Rhône-Alpes,            _/  _   _   _ _    _
                               /_) | ` / ) | \ \  /_)
  655, avenue de l'Europe,    (___/___(_/_/  / /_(_________________
  Montbonnot St Martin,       /        http://www.inrialpes.fr/exmo
  38334 Saint-Ismier cedex,  /          Jerome.Euzenat@inrialpes.fr
  France____________________/                Jerome.Euzenat@free.fr
Received on Monday, 4 March 2002 03:32:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:42 GMT