From martin.hepp at ebusiness-unibw.org Wed Oct 6 14:47:54 2010 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Wed, 6 Oct 2010 14:47:54 +0200 Subject: [goodrelations] overstock.com adds GoodRelations in RDFa to 900, 000 item pages Message-ID: <6C49254D-B667-4C4B-80A1-4368BFF92427@ebusiness-unibw.org> Dear all: I am happy to announce that overstock.com, one of the major US online retailers, has just added GoodRelations rich meta-data in RDFa to ALL ca. 900,000 item pages. Example: http://www.overstock.com/Electronics/Bell-and-Howell-DV550UW-12MP-Digital-Video-Camera-with-Underwater-Housing/4450313/product.html Sitemap: http://www.overstock.com/googlemap.xml There is still a minor bug in the markup (regarding the position of the rdf:type gr:UnitPriceSpecification statement), but I will notify them immediately; the bug will also not break typical GoodRelations queries. Best wishes Martin -------------------------------------------------------- martin hepp e-business & web science research group universitaet der bundeswehr muenchen e-mail: hepp at ebusiness-unibw.org phone: +49-(0)89-6004-4217 fax: +49-(0)89-6004-4620 www: http://www.unibw.de/ebusiness/ (group) http://www.heppnetz.de/ (personal) skype: mfhepp twitter: mfhepp Check out GoodRelations for E-Commerce on the Web of Linked Data! ================================================================= * Project Main Page: http://purl.org/goodrelations/ * Quickstart Guide for Developers: http://bit.ly/quickstart4gr * Vocabulary Reference: http://purl.org/goodrelations/v1 * Developer's Wiki: http://www.ebusiness-unibw.org/wiki/GoodRelations * Examples: http://bit.ly/cookbook4gr * Presentations: http://bit.ly/grtalks * Videos: http://bit.ly/grvideos From ben at hdbatik.co.uk Wed Oct 6 16:49:25 2010 From: ben at hdbatik.co.uk (Ben Dougall) Date: Wed, 6 Oct 2010 15:49:25 +0100 Subject: [goodrelations] shop opening times - different times for different days in the week, and non-standard times for specific dates? Message-ID: <702ddab3c50001d6a8bdaf15fce0923a@hdbatik.co.uk> Hello, I can see the standard examples of opening times which show how to state Mon-Fri opening times, then Sat opening times. Three questions further to the standard example, relating to opening times: 1. How should it be done if you have varying times for weekdays? Say you've got these opening times: Monday: 8am - 5.30pm Tuesday: 8am - 5.30pm Wednesday: 8am - 1pm Thursday: 8am - 5.30pm Friday: 8am - 6.30pm Saturday: 8am - 1pm Sunday: Closed So Mon, Tue, Thu are the same as each other. Wed and Sat are the same as each other. Then there's Fri. I want to make code which outputs the correct RDF data based on opening times supplied to the system, so I need to know the general rules for how the days should be grouped/marked up depending on whether they have the same or different opening times as other days. 2. How should opening times which differ to the standard/default times for a specific date be specified? For example, for a bank holiday, which are usually on Mondays, so that would be closed on a specific Monday. How would that be specified? Presumably specific date specifications over-ride the standard/default Mon-Sun times? 3. Do any of the search engines use the opening times info to any visible effect yet? Is there anything else using opening times info at the moment? Thanks, Ben. From martin.hepp at ebusiness-unibw.org Fri Oct 8 01:34:21 2010 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Fri, 8 Oct 2010 01:34:21 +0200 Subject: [goodrelations] GoodRelations Service Update 2010-09-16 Message-ID: <8C9BDC43-80EF-4EF9-8339-7D7786ACDD8A@ebusiness-unibw.org> Dear all: After thorough testing, we have just deployed a service update of the GoodRelations vocabulary at http://purl.org/goodrelations/v1 It is 99.99% backwards compatible with all existing data and applications. ============================ Please refresh your cashes! ============================ The main changes are as follows: 1. Using gr:Offering becomes a lot easier for the simple case of just one product per offer. Accordingly, the use of gr:ActualProductOrServiceInstance or gr:ProductOrServicesSomeInstancesPlaceholder becomes obsolete for marking up data in 90 % of the cases. 2. We defined typical properties for the product name, a description, the condition, weight, dimensions, and color directly in GoodRelations, so that using a second ontology for product features becomes unnecessary for just those standard properties. 3. For quantitative values, gr:QuantitativeValue can now be used as a fully-fledged value class, instead of just gr:QuantitativeValueFloat and gr:QuantitativeValueInteger. The latter remain valid. 4. We added a gr:addOn property that allows publishing optional extensions (additional services or components) that are available only in combination with the base offer. 5. There is now a gr:valueReference property for linking a value to one or more values that provide context for that value (e.g. temperature, revolutions per minute, etc.). The full list of changes is attached below. Best wishes Martin Hepp -------------------------------------------- 2010-09-16: Service Update Summary ? Added gr:condition property ? Changed the range of gr:includes to gr:ProductOrService, which allows much more concise markup in the general case of linking an offer of a single product to model data. Also updated the inference rules for expanding the shortcut (if the object of the triple is a gr:ProductOrServiceModel, one must create both gr:TypeAndQuantityNode and gr:ProductOrServicesSomeInstancesPlaceholder instances) ? Changed the domain of gr:serialNumber to the union of gr:Offering and gr:ActualProductOrServiceInstance ? Changed the domain of gr:hasInventoryLevel to the union of gr:Offering and gr:ProductOrServicesSomeInstancesPlaceholder ? Added a gr:category property for attaching product category information in a lightweight manner if no dedicated ontology exists ? Added a gr:name property as a shortcut for dc:title and rdfs:label ? Added/reactivated the gr:description property as a shortcut for rdfs:comment and dcterms:description. Also changed the domain to owl:Thing ? Defined the product features gr:weight, gr:width, gr:height, gr:depth, and gr:color directly in GoodRelations ? Added the range rdfs:Literal to gr:hasMinValue and gr:hasMaxValue so that they become fully usable for annotations (not just for queries, as originally). ? Changed the cardinality recommendation for gr:hasMinValue and gr:hasMaxValue to 0..1 and updated their textual definition. ? Added a gr:hasValue property, an rdfs:subPropertyOf of gr:hasMinValue and gr:hasMaxValue, which simplifies the markup for quantitative data without breaking existing content ? Added the range rdfs:Literal to all text properties, i.e. gr:condition, gr:description, gr:legalName, and gr:category ? Removed unused namespace declarations xmlns:swrl="http://www.w3.org/2003/11/swrl# " and xmlns:swrlb="http://www.w3.org/2003/11/swrlb#" ? Added UN/CEFACT unit recommendations to gr:weight, gr:width, gr:height, and gr:depth ? Updated the intro section: Removed gr:ActualProductOrServiceInstance and gr:ProductOrServicesSomeInstancesPlaceholder from the list of core classes, since they will be less important for very popular cases ? Updated the UML class diagram accordingly ? Added rdfs:isDefinedBy to all new elements ? Fixed the rdfs:comment of gr:QualitativeValue ? Polished the text of the ontology meta-data ? Fixed the text of gr:BusinessEntity to make clear it can also be used with gr:seeks and that stores are gr:LocationOfSalesAndServiceProvisioning ? Polished the text of gr:BusinessFunction ? Updated the text of gr:Offering to reflect the new gr:includes shortcut to model data ? Polished the text for gr:ProductOrService 2010-07-27: Service Update V (not officially deployed, thus also mentioned in here) * Added gr:hasMPN property * Changed the text of gr:hasStockKeepingUnit slightly in order to differentiate from hasMPN * Added gr:valueReference property * Added gr:addOn property * Added gr:Offering to the range of gr:hasEligibleQuantity and updated the text for gr:hasEligibleQuantity accordingly. From ben at hdbatik.co.uk Sat Oct 9 12:27:12 2010 From: ben at hdbatik.co.uk (Ben Dougall) Date: Sat, 9 Oct 2010 11:27:12 +0100 Subject: [goodrelations] shop opening times - different times for different days in the week, and non-standard times for specific dates? Message-ID: <8411b80d9c0841a3785230d27874b4b9@hdbatik.co.uk> Hello, (resending this, as no answer and in case it didn't get through, also it's modified somewhat) I can see the standard examples of opening times which show how to state Mon-Fri opening times, then Sat opening times here: http://www.ebusiness-unibw.org/wiki/ GoodRelationsQuickstart#Shop.2C_Restaurant.2C_or_Store.2C_and_Opening_Ho urs Three things further to that example, relating to opening times: 1. How should it be done if you have varying times for weekdays? Say you've got these opening times: Monday: 8am - 5.30pm Tuesday: 8am - 5.30pm Wednesday: 8am - 1pm Thursday: 8am - 5.30pm Friday: 8am - 6.30pm Saturday: 8am - 1pm Sunday: Closed So Mon, Tue, Thu are the same as each other. Wed and Sat are the same as each other. Then there's Fri. Do you group them in the RDF data -- the order doesn't matter? So for Mon, Tue, Thu it'd be this maybe?:
What goes where the ???'s are? Maybe #mon_tue_thu ? But it seems #mon_fri means Mon to Fri so #mon_tue_thu probably wouldn't work. In that case can you not group the days of the same times regardless of their order in the week, like I have above? Also is the order of the
References: <8411b80d9c0841a3785230d27874b4b9@hdbatik.co.uk> Message-ID: <6A093396-C445-4133-AEB8-C9BFD801B92E@ebusiness-unibw.org> Hi Ben, Apologies for the delay, the GoodRelations service update got in my way ;-) In a nutshell, all what you seem to need is already built into GoodRelations since day one ;-) See inline comments: On 09.10.2010, at 12:27, Ben Dougall wrote: > Hello, (resending this, as no answer and in case it didn't get > through, also it's modified somewhat) > > I can see the standard examples of opening times which show how to > state Mon-Fri opening times, then Sat opening times here: > http://www.ebusiness-unibw.org/wiki/GoodRelationsQuickstart#Shop.2C_Restaurant.2C_or_Store.2C_and_Opening_Hours > > Three things further to that example, relating to opening times: > > 1. > How should it be done if you have varying times for weekdays? Say > you've got these opening times: > > Monday: 8am - 5.30pm > Tuesday: 8am - 5.30pm > Wednesday: 8am - 1pm > Thursday: 8am - 5.30pm > Friday: 8am - 6.30pm > Saturday: 8am - 1pm > Sunday: Closed > > So Mon, Tue, Thu are the same as each other. > Wed and Sat are the same as each other. > Then there's Fri. > > Do you group them in the RDF data -- the order doesn't matter? So > for Mon, Tue, Thu it'd be this maybe?: > >
>
>
datatype="xsd:time">
>
datatype="xsd:time">
>
>
>
>
>
> > What goes where the ???'s are? Maybe #mon_tue_thu ? But it seems > #mon_fri means Mon to Fri so #mon_tue_thu probably wouldn't work. In > that case can you not group the days of the same times regardless of > their order in the week, like I have above? Also is the order of the >
not seeing as they're in reverse in the example code. 1. The order of the blocks does not matter, just the order of elements (tags) inside the blocks. The order of the
-->
... vcard part omitted in here
> > I need to write some PHP code which outputs the correct RDF data > based on what the opening times are currently set to, so I need to > know the general rules for how the days should be grouped/marked up > depending on whether they have the same or different opening times > as other days. You may want to look at the GoodRelations Snippet Generator and the GoodRelations Annotator Tools and play with their output: http://www.ebusiness-unibw.org/tools/grsnippetgen/ http://www.ebusiness-unibw.org/tools/goodrelations-annotator/ The Annotator tool is more flexible (but also more complex to use). But it will show you how to encode any opening hours pattern. > > 2. > How should opening times which differ to the standard/default times > for a specific date be specified? For example, for a bank holiday, > which are usually on Mondays, so that would be closed on a specific > Monday. How would that be specified? Presumably specific date > specifications over-ride the standard/default Mon-Sun times? In general, public holidays in the region of the store will superseed any pattern. So if a store says its open Mondays from 8:00 - 18:00, don't expect it to be open of that Monday is bank holiday. If you want to specify opening hours for all public holidays, you can use http://purl.org/goodrelations/v1#PublicHolidays as a "dummy" day of the week. If you want to be more specific, simply attach gr:validFrom and gr:validThrough to your opening hours node:
... vcard part omitted in here
You must add these two lines
to any
block. The time interval can be of any size - a single day, a week, a month, a year. In GoodRelations, you can attach validity to opening hour information, offers, or any pricing information. Thus, consumers of your data do not have guess on how long your promises will hold. > > 3. > Do any of the search engines use the opening times info to any > visible effect yet? Is there anything else using opening times info > at the moment? I don't know whether any of the top three search engines will be using opening hours any time soon, but clearly, opening hours are extremely valuable (and straightforward to implement) for location-based apps and services. I expect many apps for smartphones to honor opening hour info shortly. Best Martin > > Thanks, Ben. > > > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations From ben at hdbatik.co.uk Mon Oct 11 13:45:13 2010 From: ben at hdbatik.co.uk (Ben Dougall) Date: Mon, 11 Oct 2010 12:45:13 +0100 Subject: [goodrelations] shop opening times - different times for different days in the week, and non-standard times for specific dates? In-Reply-To: <6A093396-C445-4133-AEB8-C9BFD801B92E@ebusiness-unibw.org> References: <8411b80d9c0841a3785230d27874b4b9@hdbatik.co.uk> <6A093396-C445-4133-AEB8-C9BFD801B92E@ebusiness-unibw.org> Message-ID: <95b9477271c855ff1cd981dccbcb1b30@hdbatik.co.uk> HI Martin, Thanks very much for that. I haven't absorbed all of it yet but all looks great so far, will go through it in detail soon. Thanks, Ben. On 10 Oct, 2010, at 5:10 pm, Martin Hepp wrote: > Hi Ben, > > Apologies for the delay, the GoodRelations service update got in my > way ;-) > In a nutshell, all what you seem to need is already built into > GoodRelations since day one ;-) See inline comments: > > On 09.10.2010, at 12:27, Ben Dougall wrote: > >> Hello, (resending this, as no answer and in case it didn't get >> through, also it's modified somewhat) >> >> I can see the standard examples of opening times which show how to >> state Mon-Fri opening times, then Sat opening times here: >> http://www.ebusiness-unibw.org/wiki/ >> GoodRelationsQuickstart#Shop.2C_Restaurant.2C_or_Store.2C_and_Opening_ >> Hours >> >> Three things further to that example, relating to opening times: >> >> 1. >> How should it be done if you have varying times for weekdays? Say >> you've got these opening times: >> >> Monday: 8am - 5.30pm >> Tuesday: 8am - 5.30pm >> Wednesday: 8am - 1pm >> Thursday: 8am - 5.30pm >> Friday: 8am - 6.30pm >> Saturday: 8am - 1pm >> Sunday: Closed >> >> So Mon, Tue, Thu are the same as each other. >> Wed and Sat are the same as each other. >> Then there's Fri. >> >> Do you group them in the RDF data -- the order doesn't matter? So for >> Mon, Tue, Thu it'd be this maybe?: >> >>
>>
>>
> datatype="xsd:time">
>>
> datatype="xsd:time">
>>
> resource="http://purl.org/goodrelations/v1#Thursday">
>>
> resource="http://purl.org/goodrelations/v1#Tuesday">
>>
> resource="http://purl.org/goodrelations/v1#Monday">
>>
>>
>> >> What goes where the ???'s are? Maybe #mon_tue_thu ? But it seems >> #mon_fri means Mon to Fri so #mon_tue_thu probably wouldn't work. In >> that case can you not group the days of the same times regardless of >> their order in the week, like I have above? Also is the order of the >>
> not seeing as they're in reverse in the example code. > > 1. The order of the blocks does not matter, just the order of elements > (tags) inside the blocks. > The order of the
not matter, as long as they are on the same level. > > 2. You can use any text you want for the about="#???" part, as long as > you don't use it for any other purpose. It's just an identifier and > does not carry any real meaning. You could even omit the about="" > attribute completely, creating RDF blank nodes. That may negative > affect the visibility / accessibility of your data, but would be > formally correct. > > 3. Here is the proper code for your example: > > >
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > xmlns="http://www.w3.org/1999/xhtml" > xmlns:foaf="http://xmlns.com/foaf/0.1/" > xmlns:gr="http://purl.org/goodrelations/v1#" > xmlns:vcard="http://www.w3.org/2006/vcard/ns#" > xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> > >
>
>
> ... vcard part omitted in here >
>
>
>
>
datatype="xsd:time">
>
datatype="xsd:time">
>
resource="http://purl.org/godrelations/v1#Thursday">
>
resource="http://purl.org/goodrelations/v1#Tuesday">
>
resource="http://purl.org/goodrelations/v1#Monday">
>
>
>
>
>
datatype="xsd:time">
>
datatype="xsd:time">
>
resource="http://purl.org/goodrelations/v1#Wednesday">
>
resource="http://purl.org/goodrelations/v1#Saturday">
>
>
>
>
>
datatype="xsd:time">
>
datatype="xsd:time">
>
resource="http://purl.org/goodrelations/v1#Friday">
>
>
>
>
>
> > >> >> I need to write some PHP code which outputs the correct RDF data >> based on what the opening times are currently set to, so I need to >> know the general rules for how the days should be grouped/marked up >> depending on whether they have the same or different opening times as >> other days. > > You may want to look at the GoodRelations Snippet Generator and the > GoodRelations Annotator Tools and play with their output: > > > http://www.ebusiness-unibw.org/tools/grsnippetgen/ > > http://www.ebusiness-unibw.org/tools/goodrelations-annotator/ > > The Annotator tool is more flexible (but also more complex to use). > But it will show you how to encode any opening hours pattern. > >> >> 2. >> How should opening times which differ to the standard/default times >> for a specific date be specified? For example, for a bank holiday, >> which are usually on Mondays, so that would be closed on a specific >> Monday. How would that be specified? Presumably specific date >> specifications over-ride the standard/default Mon-Sun times? > > In general, public holidays in the region of the store will superseed > any pattern. So if a store says its open Mondays from 8:00 - 18:00, > don't expect it to be open of that Monday is bank holiday. > > If you want to specify opening hours for all public holidays, you can > use http://purl.org/goodrelations/v1#PublicHolidays as a "dummy" day > of the week. > > If you want to be more specific, simply attach gr:validFrom and > gr:validThrough to your opening hours node: > >
>
>
> ... vcard part omitted in here >
>
>
>
>
datatype="xsd:time">
>
datatype="xsd:time">
>
datatype="xsd:dateTime">
>
datatype="xsd:dateTime">
>
resource="http://purl.org/godrelations/v1#Thursday">
>
resource="http://purl.org/goodrelations/v1#Tuesday">
>
resource="http://purl.org/goodrelations/v1#Monday">
>
>
> > > You must add these two lines > >
datatype="xsd:dateTime">
>
datatype="xsd:dateTime">
> > to any
block. > > The time interval can be of any size - a single day, a week, a month, > a year. > > In GoodRelations, you can attach validity to opening hour information, > offers, or any pricing information. > > Thus, consumers of your data do not have guess on how long your > promises will hold. > > >> >> 3. >> Do any of the search engines use the opening times info to any >> visible effect yet? Is there anything else using opening times info >> at the moment? > > I don't know whether any of the top three search engines will be using > opening hours any time soon, but clearly, opening hours are extremely > valuable (and straightforward to implement) for location-based apps > and services. > > I expect many apps for smartphones to honor opening hour info shortly. > > > Best > > Martin > >> >> Thanks, Ben. >> >> >> _______________________________________________ >> goodrelations mailing list >> goodrelations at ebusiness-unibw.org >> http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations > From yves.raimond at bbc.co.uk Fri Oct 15 13:36:08 2010 From: yves.raimond at bbc.co.uk (Yves Raimond) Date: Fri, 15 Oct 2010 12:36:08 +0100 Subject: [goodrelations] Several variants of a same product Message-ID: Hello! I am trying to model several variants of a single product as Good Relations data. In my particular case, I have a particular audio record that can either be sold as an audio download or as a physical CD, both of which have very different prices and availabilities. How can I model this 'canonical' product (the audio record) and several variations/releases of it in Good Relations? Best, y From ben at hdbatik.co.uk Fri Oct 15 17:12:09 2010 From: ben at hdbatik.co.uk (Ben Dougall) Date: Fri, 15 Oct 2010 16:12:09 +0100 Subject: [goodrelations] shop opening times - different times for different days in the week, and non-standard times for specific dates? In-Reply-To: <6A093396-C445-4133-AEB8-C9BFD801B92E@ebusiness-unibw.org> References: <8411b80d9c0841a3785230d27874b4b9@hdbatik.co.uk> <6A093396-C445-4133-AEB8-C9BFD801B92E@ebusiness-unibw.org> Message-ID: <5bfab3b93dfaf72777f4fdd1770f88a0@hdbatik.co.uk> Hello Martin, On 10 Oct, 2010, at 5:10 pm, Martin Hepp wrote: > If you want to be more specific, simply attach gr:validFrom and > gr:validThrough to your opening hours node: > >
>
>
> ... vcard part omitted in here >
>
>
>
>
datatype="xsd:time">
>
datatype="xsd:time">
>
datatype="xsd:dateTime">
>
datatype="xsd:dateTime">
>
resource="http://purl.org/godrelations/v1#Thursday">
>
resource="http://purl.org/goodrelations/v1#Tuesday">
>
resource="http://purl.org/goodrelations/v1#Monday">
>
>
> > > You must add these two lines > >
datatype="xsd:dateTime">
>
datatype="xsd:dateTime">
> > to any
block. > > The time interval can be of any size - a single day, a week, a month, > a year. > > In GoodRelations, you can attach validity to opening hour information, > offers, or any pricing information. > > Thus, consumers of your data do not have guess on how long your > promises will hold. I'm a little bit stuck on how to do this for what I want. Bit of background: I've already, previous to learning about the existence of GoodRelations, made an opening times system for a shop to display its opening times on its website so that the times shown always reflect reality, rather than the usual static generic Mon-Sun opening times display which are guaranteed to misinform people for some days of the year when opening times differ from standard. The system has a web form for the shop keeper to insert any differing from usual Mon-Sun opening times -- for specific dated days. The shop keeper is required to do this, when possible, at least 10 days in advance of the day in question, because 10 days is the amount of time the system looks ahead for displaying; if there's any days with differing from usual opening times within 10 days from the current day, rather than display the usual Mon-Sun times, it displays each dated day with its opening times 10 days into the future. So the opening times display always reflects actual reality (assuming its kept up to date); but only for 10 days ahead. So I want to (I think this is what I want to do, maybe it's a bad idea? maybe there's a better way?) emit GoodRelations opening times data using the same logic as I'm using for the display of the opening times, that is, if in the next 10 days from the current day there's no days which differ from standard times, emit the weekly Mon-Sun GoodRelations opening times data. Alternatively, if and when there is at least one day whose times differ from the standard Mon-Sun opening times within the next 10 days from the current day, emit GR data which contains that specific info in the way you describe in the above quoted text. From your description above of how to do specific times, I think I'll be forced to give standard times (for any weekly day(s) whose times differ from standard), specific date ranges. For an example: Say it's now 1st of July and on the 12 of July, a Monday say, the shop has different from standard Monday times. 12th of July is 11 days away from the 1st of July, so on the 1st of July the standard Mon-Sun GoodRelations data would be emitted. Now let's jump ahead a few days. Now, on say the 5th of July, the 12th of July is within 10 days, so, so far as Monday goes, the GoodRelations data, an English description of it, should be this I think: 5th July to 11th July: Monday's standard opening times 12th July to 12th July: the differing from usual Monday opening times 13th July to ......... : Monday's standard opening times My problem is what date to put in where I've put dots? In English you'd want to say "onwards" rather than a date. The system I've made, assuming it's being used correctly, only knows the right opening times 10 days in advance -- for sure. So, the date where the dots are, seeing as "today" is the 5th of July, could be the 16th July. The system could say that knowing to be correct; no danger of misinforming. But doesn't that imply (or even state outright?) that the shop will be closed on Mondays from the 17th of July onwards? If it does imply or state that, then I should use a date months and months into the future maybe?, but with every chance of emitting incorrect data, as it's highly likely some Monday in that range, in the future, won't have its standard times. So my question is basically, how should this be handled, logically that is? In particular bearing in mind my system only knows 10 days ahead for sure, but does know the standard weekly times, which generally, in a vague way, hold indefinitely. It doesn't feel right having to give standard times date ranges. It's a shame you can't state standard weekly times indefinitely (no date range), and at the same time state any specific dated day's times which over-ride standard times. That's more how standard times work. Standard times are like default times. In the absence of any other info, standard times are assumed; defaults to them. I don't know how flexible the GR system is, I mean how much of its design can change, but it seems to me for opening times it'd be far better to be able set default weekly times, and then in addition to those, on top of those, specific times as and when needed which over-ride the standard times. Is it outright wrong to specify the standard weekly times, while in addition specifying a single day's date range with times which differ from the standard weekly times? If so, could be made to be not wrong? Thanks, Ben. From ben at hdbatik.co.uk Tue Oct 19 22:51:44 2010 From: ben at hdbatik.co.uk (Ben Dougall) Date: Tue, 19 Oct 2010 21:51:44 +0100 Subject: [goodrelations] opening times specification Message-ID: <6a6b611e5ad377dcce1c155ddf0d9e57@hdbatik.co.uk> Hello, Regarding using GoodRelations to specify opening times data. Would the following work, or not, could anyone tell me please? Emit from a webpage two main types of opening times blocks of data at the same time: 1. A weekly, Mon-Sun normal opening times (as demonstrated in the example here: http://www.ebusiness-unibw.org/wiki/ GoodRelationsQuickstart#Shop.2C_Restaurant.2C_or_Store.2C_and_Opening_Ho urs) -- that is Mon-Sun (or Mon-Sat if closed days aren't to be specified) without any dates so to be applied indefinitely. 2. A day with a specific date range (a date range which covers just that one day) with different to the normal opening times, using this kind of code:
The idea being that the day's opening times specified with the specific date range would over-ride its day's standard times. This seems the most logical way to do it but I've yet to find out if it'd be illegal according to GR's rules, or legal but not a good idea, or absolutely fine, or what? I have no idea if it'd work or not. Would it? Another question: is there a way to specify "closed"? Thanks, Ben. From martin.hepp at ebusiness-unibw.org Mon Oct 25 16:02:42 2010 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Mon, 25 Oct 2010 16:02:42 +0200 Subject: [goodrelations] Fwd: [Fwd: Please allow JS access to Ontologies and LOD] References: <4CC2D555.9050108@webr3.org> Message-ID: Dear all: I just fixed the server configurations for GoodRelations, http://purl.org/goodrelations/v1 the Vehicle Sales Ontology, http://purl.org/vso/ns and the GoodRelations RDFa 1.1 Profile: http://www.heppnetz.de/grprofile/ So all three resources should be accessible by client-side scripts now. Personally, I think that Javascript-based scripts will allow very useful browser extensions that built atop of GoodRelations data in the current page. Best wishes Martin Hepp > > > > -------- Original Message -------- > Subject: Please allow JS access to Ontologies and LOD > > Hi All, > > Currently nearly all the web of linked data is blocked from access via > client side scripts (javascript) due to CORS [1] being implemented in > the major browsers. > > Whilst this is important for all data, there are many of you reading > this who have it in your power to expose huge chunks of the RDF on the > web to JS clients, if you manage any of the common ontologies or > anything in the LOD cloud diagram, please do take a few minutes from > your day to expose the single http header needed. > > Long story short, to allow js clients to access our "open" data we > need > to add one small HTTP Response header which will allow HEAD/GET and > POST > requests - the header is: > Access-Control-Allow-Origin "*" > > This is both XMLHttpRequest (W3C) and XDomainRequest (Microsoft) > compatible and supported by all the major browser vendors. > > Instructions for common servers follow: > > If you're on Apache then you can send this header by simply adding the > following line to a .htaccess file in the dir you want to expose > (probably site-root): > Header add Access-Control-Allow-Origin "*" > > For NGINX: > add_header Access-Control-Allow-Origin "*"; > see: http://wiki.nginx.org/NginxHttpHeadersModule > > For IIS see: > http://technet.microsoft.com/en-us/library/cc753133(WS.10).aspx > > In PHP you add the following line before any output has been sent from > the server with: > header("Access-Control-Allow-Origin", "*"); > > For anything else you'll need to check the relevant docs I'm afraid. > > Best & TIA, > > Nathan > > [1] http://dev.w3.org/2006/waf/access-control/ > > > From ben at hdbatik.co.uk Tue Oct 26 16:53:33 2010 From: ben at hdbatik.co.uk (Ben Dougall) Date: Tue, 26 Oct 2010 15:53:33 +0100 Subject: [goodrelations] opening times specification In-Reply-To: <6a6b611e5ad377dcce1c155ddf0d9e57@hdbatik.co.uk> References: <6a6b611e5ad377dcce1c155ddf0d9e57@hdbatik.co.uk> Message-ID: I'll try using Microformats. See how I get on with that. On 19 Oct, 2010, at 9:51 pm, Ben Dougall wrote: > Hello, > > Regarding using GoodRelations to specify opening times data. Would the > following work, or not, could anyone tell me please? > > Emit from a webpage two main types of opening times blocks of data at > the same time: > > 1. A weekly, Mon-Sun normal opening times (as demonstrated in the > example here: > http://www.ebusiness-unibw.org/wiki/ > GoodRelationsQuickstart#Shop.2C_Restaurant.2C_or_Store.2C_and_Opening_H > ours) -- that is Mon-Sun (or Mon-Sat if closed days aren't to be > specified) without any dates so to be applied indefinitely. > > 2. A day with a specific date range (a date range which covers just > that one day) with different to the normal opening times, using this > kind of code: >
datatype="xsd:dateTime">
>
datatype="xsd:dateTime">
> > The idea being that the day's opening times specified with the > specific date range would over-ride its day's standard times. This > seems the most logical way to do it but I've yet to find out if it'd > be illegal according to GR's rules, or legal but not a good idea, or > absolutely fine, or what? I have no idea if it'd work or not. Would > it? > > Another question: is there a way to specify "closed"? > > Thanks, Ben. > From martin.hepp at ebusiness-unibw.org Tue Oct 26 17:04:10 2010 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Tue, 26 Oct 2010 17:04:10 +0200 Subject: [goodrelations] opening times specification In-Reply-To: References: <6a6b611e5ad377dcce1c155ddf0d9e57@hdbatik.co.uk> Message-ID: <08881F72-A520-4C48-A684-A61FE1969221@ebusiness-unibw.org> Hi Ben, Please, don't. ;-) Microformats will be much less flexible than any RDFa vocabulary. Martin On 26.10.2010, at 16:53, Ben Dougall wrote: > I'll try using Microformats. See how I get on with that. > > > On 19 Oct, 2010, at 9:51 pm, Ben Dougall wrote: > >> Hello, >> >> Regarding using GoodRelations to specify opening times data. Would >> the following work, or not, could anyone tell me please? >> >> Emit from a webpage two main types of opening times blocks of data >> at the same time: >> >> 1. A weekly, Mon-Sun normal opening times (as demonstrated in the >> example here: http://www.ebusiness-unibw.org/wiki/GoodRelationsQuickstart#Shop.2C_Restaurant.2C_or_Store.2C_and_Opening_Hours) >> -- that is Mon-Sun (or Mon-Sat if closed days aren't to be >> specified) without any dates so to be applied indefinitely. >> >> 2. A day with a specific date range (a date range which covers just >> that one day) with different to the normal opening times, using >> this kind of code: >>
> datatype="xsd:dateTime">
>>
> content="2010-10-10T23:59:59Z" datatype="xsd:dateTime">
>> >> The idea being that the day's opening times specified with the >> specific date range would over-ride its day's standard times. This >> seems the most logical way to do it but I've yet to find out if >> it'd be illegal according to GR's rules, or legal but not a good >> idea, or absolutely fine, or what? I have no idea if it'd work or >> not. Would it? >> >> Another question: is there a way to specify "closed"? >> >> Thanks, Ben. >> > > > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations From martin.hepp at ebusiness-unibw.org Tue Oct 26 20:23:59 2010 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Tue, 26 Oct 2010 20:23:59 +0200 Subject: [goodrelations] opening times specification In-Reply-To: <6a6b611e5ad377dcce1c155ddf0d9e57@hdbatik.co.uk> References: <6a6b611e5ad377dcce1c155ddf0d9e57@hdbatik.co.uk> Message-ID: Hi Ben, see inline comments: On 19.10.2010, at 22:51, Ben Dougall wrote: > Hello, > > Regarding using GoodRelations to specify opening times data. Would > the following work, or not, could anyone tell me please? > > Emit from a webpage two main types of opening times blocks of data > at the same time: > > 1. A weekly, Mon-Sun normal opening times (as demonstrated in the > example here: http://www.ebusiness-unibw.org/wiki/GoodRelationsQuickstart#Shop.2C_Restaurant.2C_or_Store.2C_and_Opening_Hours) > -- that is Mon-Sun (or Mon-Sat if closed days aren't to be > specified) without any dates so to be applied indefinitely. 1. Closed days do not need to be specified, since the type of promise (assurance) behind an opening hour plate is usually that the shop will be open at a certain time, not that it will be closed (you will be surprised if the shop is closed but said to be open, but there is no promise that the shop will ever be closed). 2. If you make a statement on opening hours without specifying the validity, you simply don't tell any agent (human or software) when this promise will be valid. This is better than nothing, but an agent will have to guess whether that statement will hold on a given day. As already explained, a rational agent will look at opening hour info without explicit validity if no opening hour info with explicit validity for the respective day is found. But the reliability is lower, so if a customer has the choice between two stores, and one is said to be open with a validity statement, it would be logical to go to that store rather than to another one without validity info. So it is always better to specify validity, in particular since that is easy to achieve in dynamic Web applications. > > 2. A day with a specific date range (a date range which covers just > that one day) with different to the normal opening times, using this > kind of code: >
datatype="xsd:dateTime">
>
content="2010-10-10T23:59:59Z" datatype="xsd:dateTime">
Your proposed approach should work, but again, it would be better (and not utterly difficult) to implement explicit validity intervals, because you can update / revoke previously published data easily - no need to tell anybody (except for changing the lastmod attribute in your sitemap.xml); clients and crawlers should use the latest version of your data. > > The idea being that the day's opening times specified with the > specific date range would over-ride its day's standard times. This > seems the most logical way to do it but I've yet to find out if it'd > be illegal according to GR's rules, or legal but not a good idea, or > absolutely fine, or what? I have no idea if it'd work or not. Would > it? It's legal, yet not ideal. So if this is what you can implement now, implement that. It will be 1000 times better than trying any other way of exposing opening hours. > > Another question: is there a way to specify "closed"? No, see the argument above. > > Thanks, Ben. > > Best Martin > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations From brian at epimorphics.com Wed Oct 27 13:50:59 2010 From: brian at epimorphics.com (Brian McBride) Date: Wed, 27 Oct 2010 12:50:59 +0100 Subject: [goodrelations] Recommended practice for text description of a good or service Message-ID: <4CC81223.9030407@epimorphics.com> I'm planning to the use GR ontology in describing the environmental impact of goods and services. When I describe a product, i.e. with ProductOrServiceModel I would like to attach a human readable description of the product or service that applications may display to a user. Is there a recommended practice for this. I'm using dc:description at present. Brian From alex.stolz at ebusiness-unibw.org Wed Oct 27 16:04:35 2010 From: alex.stolz at ebusiness-unibw.org (Alex Stolz) Date: Wed, 27 Oct 2010 16:04:35 +0200 Subject: [goodrelations] Recommended practice for text description of a good or service In-Reply-To: <4CC81223.9030407@epimorphics.com> References: <4CC81223.9030407@epimorphics.com> Message-ID: <4CC83173.7060507@ebusiness-unibw.org> Hello Brian, if you want to attach long textual descriptions to concepts in GoodRelations you should use rdfs:comment. For shorter labels like for example the product name rdfs:label is recommended. Cheers, Alex On 10/27/10 1:50 PM, Brian McBride wrote: > I'm planning to the use GR ontology in describing the environmental > impact of goods and services. > > When I describe a product, i.e. with ProductOrServiceModel I would > like to attach a human readable description of the product or service > that applications may display to a user. Is there a recommended > practice for this. I'm using dc:description at present. > > Brian > > > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations -- Dipl.-Ing. Alex Stolz E-Business& Web Science Research Group Universit?t der Bundeswehr M?nchen e-mail: alex.stolz at ebusiness-unibw.org phone: +49-(0)89-6004-4218 fax: +49-(0)89-6004-4620 skype: stalsoft.com From martin.hepp at ebusiness-unibw.org Wed Oct 27 17:20:41 2010 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Wed, 27 Oct 2010 17:20:41 +0200 Subject: [goodrelations] Recommended practice for text description of a good or service In-Reply-To: <4CC83173.7060507@ebusiness-unibw.org> References: <4CC81223.9030407@epimorphics.com> <4CC83173.7060507@ebusiness-unibw.org> Message-ID: <9308AD9E-657F-48D1-98E9-E1FD560C48C3@ebusiness-unibw.org> Note that you can now also use http://purl.org/goodrelations/v1#description This is mainly a shortcut for RDFa markup so that all basic properties are defined in the GoodRelations namespace. Best Martin Hepp On 27.10.2010, at 16:04, Alex Stolz wrote: > Hello Brian, > > if you want to attach long textual descriptions to concepts in > GoodRelations you should use rdfs:comment. For shorter labels like > for example the product name rdfs:label is recommended. > > Cheers, > Alex > > > On 10/27/10 1:50 PM, Brian McBride wrote: >> I'm planning to the use GR ontology in describing the environmental >> impact of goods and services. >> >> When I describe a product, i.e. with ProductOrServiceModel I would >> like to attach a human readable description of the product or >> service that applications may display to a user. Is there a >> recommended practice for this. I'm using dc:description at present. >> >> Brian >> >> >> _______________________________________________ >> goodrelations mailing list >> goodrelations at ebusiness-unibw.org >> http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations > > -- > Dipl.-Ing. Alex Stolz > E-Business& Web Science Research Group > Universit?t der Bundeswehr M?nchen > > e-mail: alex.stolz at ebusiness-unibw.org > phone: +49-(0)89-6004-4218 > fax: +49-(0)89-6004-4620 > skype: stalsoft.com > > > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations