- From: Svensson, Lars <L.Svensson@dnb.de>
- Date: Tue, 11 Feb 2014 08:53:28 +0000
- To: Michael Brunnbauer <brunni@netestate.de>, Renato Iannella <ri@semanticidentity.com>
- Cc: Semantic Web <semantic-web@w3.org>, "public-lod@w3.org community" <public-lod@w3.org>
Hi all, > On Tue, Feb 11, 2014 at 01:55:07PM +1000, Renato Iannella wrote: > > We can add xsd:gYear to the range for the birthdate data property to > support "year-only" birth dates. > > (and possibly to the anniversary property too) > > This would cause all values to be xsd:gYear *and* xsd:dateTime. Those two > do > not intersect, or do they ? We can encode the range thus: @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . <> rdfs:range [ a owl:Class; owl:unionOf ( xsd:dateTime xsd:gYear ) ] . That way the range is the union of xsd:dateTime and xsd:gYear and not their intersection. Best, Lars
Received on Tuesday, 11 February 2014 08:54:04 UTC