W3C home > Mailing lists > Public > public-opengov@w3.org > June 2015

Re: [Poplus] Popolo and JSON-LD

From: James McKinney <james@opennorth.ca>
Date: Tue, 2 Jun 2015 12:05:47 -0400
Cc: Martín Szyszlican <martinsz@gmail.com>, Andreas Kuckartz <a.kuckartz@ping.de>, poplus <poplus@googlegroups.com>, public-opengov@w3.org
Message-Id: <46449125-5D33-40D1-91F5-5F59FBAC1C85@opennorth.ca>
To: Paul Mackay <pauljmackay@gmail.com>

> On Jun 2, 2015, at 4:42 AM, Paul Mackay <pauljmackay@gmail.com> wrote:
> 
> James, just responding on a couple of your earlier points:
> 
> > (1) that plain JSON allows using project-specific identifiers in the *_id fields, whereas JSON-LD shouldn’t use any *_id fields
> 
> Isnt it possible to have both? A JSON-LD object could have "id" and "@id" if necessary.

Sure, but the *_id properties are not aliased to any property in RDF.

> > Allowing the use of internal identifiers without having to produce a URL for those identifiers has been a clear use case, hence the *_id fields.
> 
> Could you please expand a bit on these use cases specifically?

It’s as simple as most developers do not want to be concerned with authoring URLs for everything, and very few object-relational mappers (ORMs) facilitate this, so it would be additional work for those developers.

J

> I'm currently doing some civic API work and Popolo has been a big inspiration. I'm also keen to encourage linked data where it makes sense. So this is a useful conversation.
> 
> Paul
> 
> On Tue, Jun 2, 2015 at 9:30 AM, Martín Szyszlican <martinsz@gmail.com <mailto:martinsz@gmail.com>> wrote:
> Hi, this conversation was interesting. Did you guys reach an agreement on how to add json-ld to popolo?
> 
> I have no use case for it, but I like standardy standards.
> 
> 2015-04-14 5:38 GMT+00:00 Andreas Kuckartz <a.kuckartz@ping.de <mailto:a.kuckartz@ping.de>>:
> Am 13.04.2015 17:28, schrieb James McKinney:
> >> On Apr 13, 2015, at 1:19 AM, Andreas Kuckartz
> >> <A.Kuckartz@ping.de <mailto:A.Kuckartz@ping.de>> wrote: I would like to analyse the data,
> >> convert it to RDF and do something with that heap of Linked Data
> >> (and in combination with other Linked Data). Currently I can do
> >> none of these.
> >
> > More common use cases are, “I want a list of all Canadian MPs” or
> > “I want an API for all votes in the House of Commons.”
> 
> These are perfect examples of "do something with that heap of Linked
> Data" ;-)
> 
> > I think you’ll need to do some research yourself, which if you
> > share with the community, others might contribute to.
> 
> The is now a Wiki page on which I am collecting such information
> (starting with the info you provided):
> https://github.com/OpenGovLD/specs/wiki/List-of-data-providers <https://github.com/OpenGovLD/specs/wiki/List-of-data-providers>
> 
> > The only way to avoid out-of-band contexts is to eliminate the
> > plain JSON serialization, which I think will be an unpopular
> > choice.
> 
> That can easily be misunderstood: The addition of support for media
> type "application/ld+json" does *not* require the removal of support
> for "application/json".
> 
> Cheers,
> Andreas
> 
> --
> Poplus.org - Get involved: http://poplus.org/get-involved <http://poplus.org/get-involved>
>    IRC: #poplus https://webchat.freenode.net <https://webchat.freenode.net/>
>    Docs: http://bit.ly/poplusdrive <http://bit.ly/poplusdrive>
> ---
> You received this message because you are subscribed to the Google Groups "Poplus - Collaborative Civic Coding" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to poplus+unsubscribe@googlegroups.com <mailto:poplus%2Bunsubscribe@googlegroups.com>.
> To post to this group, send an email to poplus@googlegroups.com <mailto:poplus@googlegroups.com>.
> Visit this group at http://groups.google.com/group/poplus <http://groups.google.com/group/poplus>.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/poplus/552CA7C0.20700%40ping.de <https://groups.google.com/d/msgid/poplus/552CA7C0.20700%40ping.de>.
> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
> 
> 
> 
> --
> Martín Szyszlican
> Desarrollo web usable y accesible
> martinszyszlican.com <http://martinszyszlican.com/>
> 
> 
> 
> 
> --
> Poplus.org - Get involved: http://poplus.org/get-involved <http://poplus.org/get-involved>
> IRC: #poplus https://webchat.freenode.net <https://webchat.freenode.net/>
> Docs: http://bit.ly/poplusdrive <http://bit.ly/poplusdrive>
> ---
> You received this message because you are subscribed to the Google Groups "Poplus - Collaborative Civic Coding" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to poplus+unsubscribe@googlegroups.com <mailto:poplus+unsubscribe@googlegroups.com>.
> To post to this group, send email to poplus@googlegroups.com <mailto:poplus@googlegroups.com>.
> Visit this group at http://groups.google.com/group/poplus <http://groups.google.com/group/poplus>.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/poplus/CAKTxXVV1W7v9gxzjKxaqk6fKs%2BTsMZ6bRFBrL5ew_LSWgwZbMw%40mail.gmail.com <https://groups.google.com/d/msgid/poplus/CAKTxXVV1W7v9gxzjKxaqk6fKs%2BTsMZ6bRFBrL5ew_LSWgwZbMw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
> 



Received on Tuesday, 2 June 2015 16:06:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 2 June 2015 16:06:20 UTC