W3C home > Mailing lists > Public > public-esw-thes@w3.org > July 2008

RE: [SKOS] the return of transitive and subproperty (was Re: SKOS comment: change of namespace (ISSUE-117))

From: Alistair Miles <alistair.miles@zoo.ox.ac.uk>
Date: Wed, 30 Jul 2008 11:11:00 +0100
To: "'Bernard Vatant'" <bernard.vatant@mondeca.com>
Cc: <public-swd-wg@w3.org>, <public-esw-thes@w3.org>
Message-ID: <003701c8f22c$90cfa7f0$b26ef7d0$@miles@zoo.ox.ac.uk>

> CONSTRUCT
> {?x    skos:minimalBroader   ?y}
> 
> WHERE
> {
>                    ?x     skos:broader  ?z.
>                    ?z     skos:broader  ?y.
>                     FILTER (!bound(?z))
> }
> 

I think you would want to do...

CONSTRUCT { 
  ?x skos:minimalBroader ?y 
}
WHERE {
  ?x skos:broader ?y
  OPTIONAL {
    ?x skos:broader ?z .
    ?z skos:broader ?y .
  }
  FILTER (!bound(?z))
}

...?

> The above computing can pinpoint those exceptions. And then up to the
> vocabulary manager to figure if they are bugs or features ...

This is a crucial point. In some vocabularies this could be a deliberate
feature. Hence
<http://www.w3.org/TR/2008/WD-skos-reference-20080609/#L2518>.

Interesting idea...

Cheers,

Al.

--
Alistair Miles
Senior Computing Officer
Image Bioinformatics Research Group
Department of Zoology
The Tinbergen Building
University of Oxford
South Parks Road
Oxford
OX1 3PS
United Kingdom
Web: http://purl.org/net/aliman
Email: alistair.miles@zoo.ox.ac.uk
Tel: +44 (0)1865 281993
Received on Wednesday, 30 July 2008 10:11:41 GMT

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