- From: Stéphane Corlosquet <scorlosquet@gmail.com>
- Date: Sun, 12 Oct 2014 08:53:21 -0400
- To: Melvin Carvalho <melvincarvalho@gmail.com>
- Cc: Manu Sporny <msporny@digitalbazaar.com>, Web Payments <public-webpayments@w3.org>
- Message-ID: <CAGR+nnExWQt4_eQXtOqnHuvF=62kiR1FcsQ4ZczaThh1T_QXFQ@mail.gmail.com>
Hi Manu, I'm confused between the commerce vocab that you published and Good Relations, and I bet many will get confused like me. Could you add something to the spec explaining its relation to GR? Is it competing with GR or is it complementary... what's the overlap? Steph. On Sun, Oct 12, 2014 at 4:14 AM, Melvin Carvalho <melvincarvalho@gmail.com> wrote: > > > On 12 October 2014 04:13, Manu Sporny <msporny@digitalbazaar.com> wrote: > >> Hey Melvin, >> >> I went through and did a huge update to the Commerce vocab tonight wrt. >> ensuring that the RDFa is correct and you can content-negotiate for >> HTML+RDFa 1.1, TURTLE, NTriples, and JSON-LD. Here are a couple of >> examples on how to do conneg: >> >> You can provide an accept header to a generic resource: >> >> curl -L -H "Accept: text/turtle" https://w3id.org/commerce >> >> or you can provide a file extension at the destination resource: >> >> curl https://web-payments.org/vocabs/commerce.nt >> curl https://web-payments.org/vocabs/commerce.jsonld >> >> Hitting the URL in a browser will give you the vocabulary document: >> >> https://w3id.org/commerce >> >> All commerce classes and properties now have labels, descriptions, >> domains, and ranges. There are also examples of typical resources that >> use the property being described. I've tried very hard to veer away from >> the confusing "Domain" and "Range" language of RDF and instead use a >> more conversational English to describe what's happening w/ each >> property. So, for example: >> >> """ >> 4.2 amount >> >> The amount property is used to specify the total value of a financial >> resource or action such as an account, transfer, or transaction. >> >> Status: unstable >> Attribute of: Thing >> Typically used by: Deposit, Transaction, Transfer, Withdrawal >> Associated value must be a: Literal >> """ >> >> Hope that helps you out. >> > > Wow, awesome! > > >> >> -- manu >> >> -- >> Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny) >> Founder/CEO - Digital Bazaar, Inc. >> blog: The Marathonic Dawn of Web Payments >> http://manu.sporny.org/2014/dawn-of-web-payments/ >> > > -- Steph.
Received on Sunday, 12 October 2014 12:54:27 UTC