From martin.hepp at ebusiness-unibw.org Mon Jun 3 11:19:47 2013 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Mon, 3 Jun 2013 11:19:47 +0200 Subject: [goodrelations] gr:categories In-Reply-To: References: Message-ID: Dear Paul: See my inline replies: On May 14, 2013, at 1:17 AM, Paul Sunny wrote: > Hello, > > Am trying to integrate my online store with goodrelations and I have a couple of quick questions. > > 1) Is there any way to link more than one category to a partucular product other than the hierarchial structure mentioned? > You can use gr:category multiple times for indicating multiple categories per product; those can be either hierarchical or flat strings:
ACME Foldable Canoe
> 2) how to upload the image using URL? > I recommend using one of the two properties foaf:depiction or schema:image. You can attach it either to the gr:ProductOrService or the gr:Offering. Note that at this point Google does not show product images in Rich Snippets.
...
...
> I would really appreciate if you could provide me with answers. > > Thanks and regards > Paul > Avetti.com > > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations -------------------------------------------------------- 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/ From beroca at gmail.com Mon Jun 3 11:36:12 2013 From: beroca at gmail.com (Bene Rodriguez) Date: Mon, 3 Jun 2013 11:36:12 +0200 Subject: [goodrelations] gr:categories In-Reply-To: References: Message-ID: Hi Paul, Not sure if I understood your questions and their context correctly. Regarding 1), if by category you refer to the "gr:category" property (http://www.heppnetz.de/ontologies/goodrelations/v1.html#category), you can link more than one category to a particular product by populating gr:category more than once. For example, if we had a pair of shoes known as "Acme123", and we wanted to link this shoe to two categories from the Product Classification Scheme by Google (http://www.google.com/basepages/producttype/taxonomy.en-US.txt) such as "Walking Shoes" and "Sneakers", then we could use the following snippet in Turtle: @prefix ex: http://www.example.org/myshop/ ex:Acme123 a gr:ProductOrService ; gr:category "Apparel & Accessories > Shoes > Athletic Shoes > Walking Shoes"@en ; gr:category "Apparel & Accessories > Shoes > Sneakers"@en . If there were even more applicable categories to the product ex:Acme123, they could be also linked by adding the additional gr:category triples accordingly. Regarding 2), to specify an image associated to a product, the property "foaf:depiction" (http://xmlns.com/foaf/spec/#term_depiction) is the one typically used in the GoodRelations vocabulary. For example, if we had an image for our shoes ex:Acme123 stored at , we could link them together as follows in the Turtle snippet below: ex:Acme123 a gr:ProductOrService ; foaf:depiction . I hope these quick, minimal examples can help. Best regards, Bene Rodriguez -- Research Associate E-Business and Web Science Research Group Department of General Management and E-Business Universitaet der Bundeswehr Munich (Germany) phone: +49 89 6004-4218 email: bene.rodriguez at ebusiness-unibw.org web: http://purl.org/beroca On Tue, May 14, 2013 at 1:17 AM, Paul Sunny wrote: > Hello, > > Am trying to integrate my online store with goodrelations and I have a > couple of quick questions. > > 1) Is there any way to link more than one category to a partucular product > other than the hierarchial structure mentioned? > > 2) how to upload the image using URL? > > I would really appreciate if you could provide me with answers. > > Thanks and regards > Paul > Avetti.com > > > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations >