JSON-LD: Compaction and Expansion

  Рет қаралды 18,786

Manu Sporny

Manu Sporny

Күн бұрын

Пікірлер: 11
@ManuSporny
@ManuSporny 9 жыл бұрын
*JSON-LD: Compaction and Expansion* An overview of JSON-LD's compaction and expansion features and how you can use them to merge data from multiple sources. For more information, see json-ld.org/ or follow @manusporny on Twitter.
@JamesStansell
@JamesStansell 9 жыл бұрын
Thanks Manu Sporny These are very similar concepts to ones from an inhouse system I worked on around 1990. Fun stuff! :)
@CharlesDibsdale
@CharlesDibsdale 6 жыл бұрын
Such clarity! - thank you for making this so easy to understand.
@ugolorusso661
@ugolorusso661 9 жыл бұрын
Thanks for the video. I also watched some other video you made about linked data and json-ld, everything is explained clearly with nice sketches, great job.
@DanielBeeke
@DanielBeeke 3 жыл бұрын
Thank you very much! Very clear and good information!
@florianwege7563
@florianwege7563 Жыл бұрын
How are the output short identifiers when compacting determined? Is this the last segment of the URL? But that might conflict with the target programming language, maybe need another normalization then like converting dashes to camel case.
@angusmcallister8831
@angusmcallister8831 9 жыл бұрын
Thanks for the vid; really helped to consolidate my understanding of how contexts are used for linking otherwise disparate data. Just one thing wasn't quite clear: does the expansion mechanism just replace the context that an existing KVP datum comes with, or does it actually provide context that wasn't previously there (by associating it with schema.org/name, for example)?
@ManuSporny
@ManuSporny 9 жыл бұрын
Angus McAllister I don't quite understand the question, but I'm going to try to answer it anyway. Expansion will take the current document and expand all the keys (and some of the values) out into full URLs. At that point, there will be no context, but all the data will be expanded and very specific. Compacting that same data w/ a different JSON-LD Context will shrink the keys that are now full URLs (and some of the values) back down into short values that developers like. So, visually, it looks like this: { "name": "Angus" } -> expand() -> { "schema.org/name": "Angus" } -> compact(my_context) -> { "myname": "Angus" }
@800pieds
@800pieds 3 жыл бұрын
Clear explanation.
@unlink1649
@unlink1649 6 жыл бұрын
This is exactly what I need
What is JSON-LD?
13:16
Manu Sporny
Рет қаралды 154 М.
What is Linked Data?
12:10
Manu Sporny
Рет қаралды 182 М.
"كان عليّ أكل بقايا الطعام قبل هذا اليوم 🥹"
00:40
Holly Wolly Bow Arabic
Рет қаралды 15 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 6 МЛН
Tech Talk: What is Public Key Infrastructure (PKI)?
9:22
IBM Technology
Рет қаралды 126 М.
RDF and OWL : the powerful duo, Tara Raafat
19:13
Connected Data
Рет қаралды 56 М.
JSON-LD: Core Markup
9:39
Manu Sporny
Рет қаралды 66 М.
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
Wednesday Webinar: Introduction to NGSI-LD
46:34
FIWARE
Рет қаралды 4,2 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 207 М.
RDF Tutorial - An Introduction to the Resource Description Framework
9:22
Taxonomies and Ontologies - The Yin and Yang of Knowledge Engineering
1:04:31
PoolParty Semantic Suite
Рет қаралды 10 М.
"كان عليّ أكل بقايا الطعام قبل هذا اليوم 🥹"
00:40
Holly Wolly Bow Arabic
Рет қаралды 15 МЛН