- From: Pierre-Antoine Champin <swlists-040405@champin.net>
- Date: Wed, 21 May 2008 08:10:05 +0200
- 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. pa
Received on Wednesday, 21 May 2008 06:10:41 UTC