W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > May 2003

RE: restrictions bnodes

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Fri, 9 May 2003 14:18:47 +0200
To: "Dan Brickley" <danbri@w3.org>, "Jan Grant" <Jan.Grant@bristol.ac.uk>
Cc: "Brian McBride" <bwm@hplb.hpl.hp.com>, "graham Klyne" <gk@ninebynine.org>, "RDF Core" <w3c-rdfcore-wg@w3.org>

> -----Original Message-----
> If the restriction is that individuals can't be the _object_ of multiple
> triples, we could use an inverse of the 'depicts' of 'member'
> property instead,
> but that's an ugly hack. Is this restriction across all of OWL,
> or just the
> DL & Lite dialects?

Only OWL DL and OWL Lite.

A workaround is as follows.

<rdf:RDF xml:base="&my;"
  xmlns:my="&my;" >
<owl:InverseFunctionalProperty rdf:about="#nodeID" />
    <my:nodeID rdf:resource="gensym001"/>
    <mbox rdf:resource="mailto:danbri@w3.org"/>

   <my:nodeID rdf:resource="gensym001"/>
   <homepage rdf:resource="http://www.w3.org/People/DanBri/"/>

This forces the two Persons to refer to the same resource, even though they
have different bnodes. You do need to pollute the URI space with the
gensym's, as far as I can tell. (You cannot use strings with
InverseFunctionalProperty's in OWL DL and OWL Lite).

Received on Friday, 9 May 2003 08:21:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:22 UTC