Added JSON-LD contexts for people, places, events and recipes.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contexts/event Thu Oct 27 23:41:08 2011 -0400
@@ -0,0 +1,36 @@
+{
+ "@context":
+ {
+ "Event": "http://schema.org/Event",
+ "name": "http://purl.org/dc/terms/title",
+ "description": "http://purl.org/dc/terms/description",
+ "telephone": "http://schema.org/telephone",
+ "email": "http://xmlns.com/foaf/0.1/mbox",
+
+ "latitude": "http://www.w3.org/2003/01/geo/wgs84_pos#latitude",
+ "longitude": "http://www.w3.org/2003/01/geo/wgs84_pos#longitude",
+ "elevation": "http://www.w3.org/2003/01/geo/wgs84_pos#altitude",
+
+ "Address": "http://www.w3.org/2006/vcard/ns#Address",
+ "address": "http://www.w3.org/2006/vcard/ns#address",
+ "street": "http://www.w3.org/2006/vcard/ns#street-address",
+ "locality": "http://www.w3.org/2006/vcard/ns#locality",
+ "region": "http://www.w3.org/2006/vcard/ns#region",
+ "country": "http://www.w3.org/2006/vcard/ns#country",
+ "postalCode": "http://www.w3.org/2006/vcard/ns#postal-code",
+
+ "meter": "http://purl.org/measurement#meter",
+ "kilometer": "http://purl.org/measurement#kilometer",
+ "feet": "http://purl.org/measurement#feet",
+ "miles": "http://purl.org/measurement#miles",
+
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+
+ "@coerce":
+ {
+ "latitude": "xsd:decimal",
+ "longitude": "xsd:decimal",
+ }
+ }
+}
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contexts/person Thu Oct 27 23:41:08 2011 -0400
@@ -0,0 +1,49 @@
+{
+ "@context":
+ {
+ "Person": "http://xmlns.com/foaf/0.1/Person",
+ "name": "http://xmlns.com/foaf/0.1/name",
+ "nickname": "http://xmlns.com/foaf/0.1/nick",
+ "affiliation": "http://schema.org/affiliation",
+ "depiction": "http://xmlns.com/foaf/0.1/depiction",
+ "born": "http://schema.org/birthDate",
+ "child": "http://schema.org/children",
+ "colleague": "http://schema.org/colleagues",
+ "knows": "http://xmlns.com/foaf/0.1/knows",
+ "died": "http://schema.org/deathDate",
+ "email": "http://xmlns.com/foaf/0.1/mbox",
+ "familyName": "http://xmlns.com/foaf/0.1/familyName",
+ "givenName": "http://xmlns.com/foaf/0.1/givenName",
+ "gender": "http://schema.org/gender",
+ "honorificPrefix": "http://schema.org/honorificPrefix",
+ "honorificSuffix": "http://schema.org/honorificSuffix",
+ "jobTitle": "http://xmlns.com/foaf/0.1/title",
+ "nationality": "http://schema.org/nationality",
+ "parent": "http://schema.org/parent",
+ "sibling": "http://schema.org/sibling",
+ "spouse": "http://schema.org/spouse",
+ "telephone": "http://schema.org/telephone",
+
+ "Address": "http://www.w3.org/2006/vcard/ns#Address",
+ "address": "http://www.w3.org/2006/vcard/ns#address",
+ "street": "http://www.w3.org/2006/vcard/ns#street-address",
+ "locality": "http://www.w3.org/2006/vcard/ns#locality",
+ "region": "http://www.w3.org/2006/vcard/ns#region",
+ "country": "http://www.w3.org/2006/vcard/ns#country",
+ "postalCode": "http://www.w3.org/2006/vcard/ns#postal-code",
+
+ "@coerce":
+ {
+ "born": "xsd:dateTime",
+ "knows": "@iri",
+ "died": "xsd:dateTime",
+ "email": "@iri",
+ "parent": "@iri",
+ "child": "@iri",
+ "colleague": "@iri",
+ "sibling": "@iri",
+ "spouse": "@iri"
+ }
+ }
+}
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contexts/place Thu Oct 27 23:41:08 2011 -0400
@@ -0,0 +1,34 @@
+{
+ "@context":
+ {
+ "Place": "http://schema.org/Place",
+ "name": "http://purl.org/dc/terms/title",
+ "description": "http://purl.org/dc/terms/description",
+ "latitude": "http://www.w3.org/2003/01/geo/wgs84_pos#latitude",
+ "longitude": "http://www.w3.org/2003/01/geo/wgs84_pos#longitude",
+ "elevation": "http://www.w3.org/2003/01/geo/wgs84_pos#altitude",
+ "telephone": "http://schema.org/telephone",
+
+ "Address": "http://www.w3.org/2006/vcard/ns#Address",
+ "address": "http://www.w3.org/2006/vcard/ns#address",
+ "street": "http://www.w3.org/2006/vcard/ns#street-address",
+ "locality": "http://www.w3.org/2006/vcard/ns#locality",
+ "region": "http://www.w3.org/2006/vcard/ns#region",
+ "country": "http://www.w3.org/2006/vcard/ns#country",
+ "postalCode": "http://www.w3.org/2006/vcard/ns#postal-code",
+
+ "meter": "http://purl.org/measurement#meter",
+ "kilometer": "http://purl.org/measurement#kilometer",
+ "feet": "http://purl.org/measurement#feet",
+ "miles": "http://purl.org/measurement#miles",
+
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+
+ "@coerce":
+ {
+ "latitude": "xsd:decimal",
+ "longitude": "xsd:decimal",
+ }
+ }
+}
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contexts/recipe Thu Oct 27 23:41:08 2011 -0400
@@ -0,0 +1,48 @@
+{
+ "@context":
+ {
+ "Recipe": "http://schema.org/Recipe",
+ "title": "http://purl.org/dc/terms/title",
+ "author": "http://purl.org/dc/terms/creator",
+ "description": "http://purl.org/dc/terms/description",
+ "cookTime": "http://schema.org/cookTime",
+ "ingredient": "http://schema.org/ingredient",
+ "prepTime": "http://schema.org/prepTime",
+ "category": "http://schema.org/category",
+ "cuisine": "http://schema.org/cuisine",
+ "step": "http://schema.org/recipeInstructions",
+ "yield": "http://schema.org/recipeYield",
+
+ "pinch": "http://purl.org/measurement#pinch",
+ "teaspoon": "http://purl.org/measurement#teaspoon",
+ "tablespoon": "http://purl.org/measurement#tablespoon",
+ "cup": "http://purl.org/measurement#cup",
+ "pint": "http://purl.org/measurement#pint",
+ "gallon": "http://purl.org/measurement#gallon",
+ "liquidOunce": "http://purl.org/measurement#liquidOunce",
+ "dryOunce": "http://purl.org/measurement#dryOunce",
+ "milligram": "http://purl.org/measurement#milligram",
+ "gram": "http://purl.org/measurement#gram",
+ "kilogram": "http://purl.org/measurement#kilogram",
+ "millilitre": "http://purl.org/measurement#millilitre",
+ "litre": "http://purl.org/measurement#litre",
+ "pound": "http://purl.org/measurement#pound",
+ "whole": "http://purl.org/measurement#whole",
+ "slice": "http://purl.org/measurement#slice",
+ "wedge": "http://purl.org/measurement#wedge",
+ "second": "http://purl.org/measurement#second",
+ "minute": "http://purl.org/measurement#minute",
+ "hour": "http://purl.org/measurement#hour",
+ "day": "http://purl.org/measurement#day",
+
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+
+ "@coerce":
+ {
+ "cookTime": "xsd:duration",
+ "prepTime": "xsd:duration",
+ "step": "xsd:integer"
+ }
+ }
+}
+