W3C home > Mailing lists > Public > semantic-web@w3.org > May 2008

Re: Open world issue (opening vs closing days) and SPARQL CONSTRUCT

From: Pierre-Antoine Champin <swlists-040405@champin.net>
Date: Wed, 21 May 2008 08:10:05 +0200
Message-ID: <4833BCBD.5000903@champin.net>
To: Bernard Vatant <bernard.vatant@mondeca.com>
CC: Semantic Web <semantic-web@w3.org>

Bernard Vatant a écrit :
> Hi all
> We're currently fighting with knowledge extraction about opening/closing 
> days for tourism facilities (hotels, restaurants, museums, campings ...).
> Information can be found in terms of closing and/or opening days during 
> a period, such as :
> "Widget Museum is open in 2008, from March 1st to October 31st, closed 
> on Sunday and Tuesday".
> NLP can extract the following description (1)
> :WidgetMuseum   :openingPeriod   _:p1
> _:p1      :begins     2008-03-01
> _:p1      :ends        2008-10-31
> _:p1      :closingDay      :Tuesday
> _:p1      :closingDay      :Sunday

May be I don't understand your problem well, but it seems to me that 
there is another way of "closing" the world in this particulat context : 
using a *functional* property :closingDays, and have its value be an 
rdf:List collection, which in Turle/SPARQL is written :

:WidgetMuseum   :openingPeriod   _:p1
_:p1      :begins       2008-03-01
_:p1      :ends         2008-10-31
_:p1      :closingDays  (:Tuesday :Sunday)

Whether this structure is easy to query with SPARQL, I'm not sure... But 
it seems to me that it makes your knowledge about opening and closing 
days complete.

Received on Wednesday, 21 May 2008 06:10:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:42:04 UTC