From melvincarvalho at gmail.com Tue May 7 23:23:01 2013 From: melvincarvalho at gmail.com (Melvin Carvalho) Date: Tue, 7 May 2013 23:23:01 +0200 Subject: [goodrelations] semantically modelling a balance Message-ID: very quick question: is there a way to model a balance using commerce vocabs? for example: alice has 10 euros or account XYZ has 10 bitcoins -------------- next part -------------- An HTML attachment was scrubbed... URL: From brent.shambaugh at gmail.com Wed May 8 00:55:19 2013 From: brent.shambaugh at gmail.com (Brent Shambaugh) Date: Tue, 7 May 2013 17:55:19 -0500 Subject: [goodrelations] semantically modelling a balance In-Reply-To: References: Message-ID: Moral support: I spent a good part of the day looking at Node.js. I'm happy you're looking into this. I hope to catch you! Introduction to Node.js with Ryan Dahl http://www.youtube.com/watch?v=jo_B4LTHi3I On Tue, May 7, 2013 at 4:23 PM, Melvin Carvalho wrote: > very quick question: > > is there a way to model a balance using commerce vocabs? > > for example: > > alice has 10 euros > > or account XYZ has 10 bitcoins > > -- Brent Shambaugh I've worked with polymers, I teach chemistry, I'm currently researching how to build distributed economies. Website: http://adistributedeconomy.blogspot.com From msporny at digitalbazaar.com Wed May 8 04:13:37 2013 From: msporny at digitalbazaar.com (Manu Sporny) Date: Tue, 07 May 2013 22:13:37 -0400 Subject: [goodrelations] semantically modelling a balance In-Reply-To: References: Message-ID: <5189B4D1.3010909@digitalbazaar.com> On 05/07/2013 05:23 PM, Melvin Carvalho wrote: > is there a way to model a balance using commerce vocabs? Yes. > for example: alice has 10 euros I wouldn't model Alice as having 10 Euros... Alice has an account that contains 10 Euros. { "@context": "https://w3id.org/payswarm/v1", "id": "http://example.com/alice", "name": "Alice", "account": { "id": "http://example.com/alice/accounts/savings", "type": "Account", "label": "Savings Account", "amount": "7563.00", "currency": "EUR" } } > or account XYZ has 10 bitcoins { "@context": "https://w3id.org/payswarm/v1", "id": "http://example.com/bob/accounts/retirement", "type": "Account", "label": "Retirement Account", "amount": "2.12498", "currency": "BTC" } Note that in the above two examples, EUR and BTC will resolve to a relative URL when they really should resolve to a currency URL like: https://w3id.org/currencies/EUR or https://w3id.org/currencies/BTC Currently, we have only created the USD currency. If you'd like, we can add EUR and BTC as well. Or, you can submit a pull request for the PaySwarm context here: https://github.com/web-payments/payswarm.com/blob/master/contexts/payswarm-v1.jsonld#L103 And then some re-direction entries here: https://github.com/perma-id/w3id.org Let me know how you'd like to proceed. -- manu -- Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny) Founder/CEO - Digital Bazaar, Inc. blog: Meritora - Web payments commercial launch http://blog.meritora.com/launch/ From martin.hepp at ebusiness-unibw.org Wed May 8 08:52:38 2013 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Wed, 8 May 2013 08:52:38 +0200 Subject: [goodrelations] semantically modelling a balance In-Reply-To: <5189B4D1.3010909@digitalbazaar.com> References: <5189B4D1.3010909@digitalbazaar.com> Message-ID: <4E6B63BD-6DF6-4330-8E6A-EF1FFBD3F460@ebusiness-unibw.org> Manu: The quick answer is that GoodRelations does not cover monetary transactions. You could, in theory, model monetary amounts by reusing the PriceSpecification class, but at least currently, there is no super-class gr:MonetaryAmount. We may add that at some point. What you could model with GoodRelations is the offer to carry out monetary transactions (e.g. currency conversion services), but the focus here would be on the terms and conditions of the service, and not on the service itself. May I also kindly ask you to continue this thread in the Web Payments forum if it no longer deals with GoodRelations issues, since many subscribers to the GoodRelations list are mainly interested in how to use GoodRelations and understandably unhappy with off-topic discussions? Thanks! Best wishes Martin On May 8, 2013, at 4:13 AM, Manu Sporny wrote: > On 05/07/2013 05:23 PM, Melvin Carvalho wrote: >> is there a way to model a balance using commerce vocabs? > > Yes. > >> for example: alice has 10 euros > > I wouldn't model Alice as having 10 Euros... Alice has an account that > contains 10 Euros. > > { > "@context": "https://w3id.org/payswarm/v1", > "id": "http://example.com/alice", > "name": "Alice", > "account": > { > "id": "http://example.com/alice/accounts/savings", > "type": "Account", > "label": "Savings Account", > "amount": "7563.00", > "currency": "EUR" > } > } > >> or account XYZ has 10 bitcoins > > { > "@context": "https://w3id.org/payswarm/v1", > "id": "http://example.com/bob/accounts/retirement", > "type": "Account", > "label": "Retirement Account", > "amount": "2.12498", > "currency": "BTC" > } > > Note that in the above two examples, EUR and BTC will resolve to a > relative URL when they really should resolve to a currency URL like: > > https://w3id.org/currencies/EUR > > or > > https://w3id.org/currencies/BTC > > Currently, we have only created the USD currency. If you'd like, we can > add EUR and BTC as well. Or, you can submit a pull request for the > PaySwarm context here: > > https://github.com/web-payments/payswarm.com/blob/master/contexts/payswarm-v1.jsonld#L103 > > And then some re-direction entries here: > > https://github.com/perma-id/w3id.org > > Let me know how you'd like to proceed. > > -- manu > > -- > Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny) > Founder/CEO - Digital Bazaar, Inc. > blog: Meritora - Web payments commercial launch > http://blog.meritora.com/launch/ > > _______________________________________________ > 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 martin.hepp at ebusiness-unibw.org Wed May 8 08:55:16 2013 From: martin.hepp at ebusiness-unibw.org (Martin Hepp) Date: Wed, 8 May 2013 08:55:16 +0200 Subject: [goodrelations] New free GoodRelations / Module for Drupal! Message-ID: <04B9FD0A-A031-4C13-ADDC-4919EC634E4D@ebusiness-unibw.org> Dear all: I am very happy to announce that St?phane Corlosquet just released a free module for Drupal that adds GoodRelations markup to your Web site with ease: http://drupal.org/project/commerce_goodrelations Thanks for this contribution, St?phane! Best wishes Martin Hepp -------------------------------------------------------- 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 pauls at avetti.ca Tue May 14 01:17:18 2013 From: pauls at avetti.ca (Paul Sunny) Date: Mon, 13 May 2013 23:17:18 -0000 Subject: [goodrelations] gr:categories Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: