W3C home > Mailing lists > Public > public-webpayments@w3.org > September 2014

Re: Web Payments Schema & RDF

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Tue, 30 Sep 2014 15:11:43 +0200
Message-ID: <CAKaEYh+b_x9ZZnomEvWpS1xJPG5KyUxJm5TV4+QJXBE2EK=50g@mail.gmail.com>
To: Chaals from Yandex <chaals@yandex-team.ru>
Cc: Web Payments <public-webpayments@w3.org>
On 30 September 2014 13:59, <chaals@yandex-team.ru> wrote:

> 30.09.2014, 10:56, "Melvin Carvalho" <melvincarvalho@gmail.com>:
>
> I've been trying for some time to get the web payments schema to work with
> RDF tooling.
>
> But most of the tools I try with say that the RDF is broken
>
> e.g.
>
> https://w3id.org/commerce#source
>
>
> http://graphite.ecs.soton.ac.uk/browser/?uri=https%3A%2F%2Fw3id.org%2Fcommerce%23source
>
> Gives: "ZERO triples? Chances are your RDF is b0rken!"
>
>
> Yep. Try adding a context:
>   "@context": "schema.org",
> as the first statement in each example
>
>
> {
>
>    "@context": "schema.org",
>
>    "@subject": "http://payswarm.example.com/people/john-doe#account-3",
>
>    "@type": "com:Account",
>
>    "rdfs:label": "John's Financial Account",
>
>    "com:amount": "50.40",
>
>    "com:currency": "USD"
>
> }
> That stops http://webmaster.yandex.com/microtest.xml from telling me it
> didn't find any data…
>

Thanks Chaals.

To clarify, I'm not trying to get my own data to be displayed in tooling
(that already works)

It's when I click through to predicates from the web payment spec such as (
https://w3id.org/commerce#source ) do I get error messages.

Most other predicates I use work fine, so I was wondering if there as any
solution to this.


>
> cheers
>
> Chaals
>
> --
> Charles McCathie Nevile - web standards - CTO Office, Yandex
> chaals@yandex-team.ru - - - Find more at http://yandex.com
>
>
Received on Tuesday, 30 September 2014 13:12:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:39 UTC