Presentation is loading. Please wait.

Presentation is loading. Please wait.

Gregg Kellogg – Spec Ops

Similar presentations


Presentation on theme: "Gregg Kellogg – Spec Ops"— Presentation transcript:

1 Gregg Kellogg – Spec Ops
JSON-LD 1.1 Update Gregg Kellogg – Spec Ops Gregg Kellogg @gkellogg (Twitter) #jsonld (W3C)

2 JSON-LD 1.1 It’s been over three years since JSON-LD 1.0 was published, and feature requests have been mounting: 36 issues addressed since 1.0 (15 still open) Use objects to index into collections, rather than only array form Previously restricted Now available Can with other container types (e.g.: Framing, never complete in 1.0. Now provides ability to match inclusive or exclusive @type, property values, and specifics of a value object. Supports framing of datasets, not just graphs. Contexts scoped to terms: property values or entities using a given type term can overlay terms-specific contexts. Ignore some elements of JSON structure. Abstract from JSON-itself, allowing for YAML, CBOR and other LD representations.

3 Version Announcement For backwards compatibility, version 1.1 must be specified to use new 1.1 features (may be through API). { 1.1, "schema": " "name": "schema:name", "body": "schema:articleBody", "words": "schema:wordCount", "post": { "schema:blogPost", } }, " "schema:Blog", "name": "World Financial News",

4 @id Maps Also supports @type and @graph Maps. { "@context":
1.1, "schema": " "name": "schema:name", "body": "schema:articleBody", "words": "schema:wordCount", "post": { "schema:blogPost", } }, " "schema:Blog", "name": "World Financial News", " { "body": "World commodities were up today with heavy trading of crude oil...", "words": 1539 " { "body": "Die Werte an Warenbörsen stiegen im Sog eines starken Handels von Rohöl...", "words": 1204 Also Maps.

5 Graph Containers (@graph Maps)
Property values can reference anonymously/implicitly named graphs: { { 1.1, " "said": " "wrote": " }, "William_Shakespeare", "wrote": { "Richard_III_of_England", "said": "My kingdom for a horse" }

6 Nested Properties { "@context": { "@version": 1.1,
"skos": " "labels": "main_label": "skos:prefLabel"}, "other_label": "skos:altLabel"}, "homepage": " }, " "homepage": " "labels": { "main_label": "This is the main label for my resource", "other_label": "This is the other label" }

7 Scoped Contexts { “@context": { "@version": 1.1,
"name": " "interest": { " } }, "name": "Manu Sporny", " "name": "JSON-LD", "topic": "Linking Data"

8 Recursive Lists { "@context": {
" "type": "bbox": "coordinates": }, "type": "Feature", "bbox": [-10.0, -10.0, 10.0, 10.0], "geometry": { "type": "Polygon", "coordinates": [ [ [-10.0, -10.0], [10.0, -10.0], [10.0, 10.0], [-10.0, -10.0] ] } //... @prefix geojson: < [ a geojson:Feature ; geojson:bbox (-1.0E1 -1.0E1 1.0E1 1.0E1) ; geojson:geometry [ a geojson:Polygon ; geojson:coordinates ( ( (-1.0E1 -1.0E1) (1.0E1 -1.0E1) (1.0E1 1.0E1) (-1.0E1 -1.0E1) ) ) ] ] .

9 JSON-LD 1.1 Timeline Working Group started June 2018 – Completes in June 2020 [5] CR expected Q4 2019 Ruby implementation tracks Working Drafts. Live at Ruby RDF Distiller [7]. [5] [6] [7]

10 More Information json-ld.org w3.org/2018/json-ld-wg w3c.github.io/n3
Gregg Kellogg @gkellogg w3.org: #json-ld


Download ppt "Gregg Kellogg – Spec Ops"

Similar presentations


Ads by Google