JSON-LD contexts and other Popolo updates

Hello all,

A new draft of the Popolo spec is ready.

JSON-LD contexts now appear in the serialization sections of each class' page, and are linked from the table at http://popoloproject.com/specs/#schema-and-examples The differences between a plain JSON serialization and a JSON-LD serialization are also listed. Please have a look at the JSON-LD contexts and especially the differences from plain JSON. I look forward to your feedback!

The Membership class now uses schema:validFrom and schema:validThrough instead of org:memberDuring. The justification is given in the docs as:

> Given the complex encoding of time intervals in RDF, the schema:validFrom and schema:validThrough pair is used instead of org:memberDuring, an alternative described [1] by the original developers of the Organization ontology.
> 
> 1. http://www.epimorphics.com/web/wiki/organization-ontology-second-draft

This change also makes it much easier for plain JSON to have the same structure as JSON-LD documents that use RDF terms. Post also now uses validFrom and validThrough for creation and elimination dates, for which there previously were no RDF terms.

In order to create the JSON-LD contexts, I had to add a few missing RDF properties. All new properties are, for the time being, in the http://www.w3.org/ns/opengov# namespace, which this Community Group may use according to a W3C FAQ [1].

* In Popolo, a membership has a property to refer to the post in an organization being held by a person through that membership. That property will be opengov:post. The inverse property will be opengov:heldThrough.
* Popolo has a class named ContactDetail. The property to link a resource to its contact details is opengov:contactDetail. A contact detail an instance of the class opengov:ContactDetail.
* Popolo has a property for alternative and former names. The property to link a resource to its other names is opengov:otherName. An other name is an instance of the class opengov:OtherName.
* Popolo has a property for the dissolution date of an Organization. For now, the property is opengov:dissolutionDate, but I've created a proposal [2] for it to be added to Schema.org.

All comments and feedback are welcome!

1. http://www.w3.org/community/about/faq/
2. http://www.w3.org/wiki/WebSchemas/dissolutionDate

--
James McKinney
Open North
http://opennorth.ca/

Received on Wednesday, 28 August 2013 19:52:00 UTC