Publishing JSON-LD for Developers
21–30 of 64 posts
Re: Publishing JSON-LD for Developers
#22As someone completely out of the loop on this one but deeply entrenched in modern web development, I have some questions. 1. What benefit does this format give that other schema systems do not? 2. The `@context` just seems like a way of defining variables. As best as I can tell, the use case leads to one only using each of these "variables" once. What's the benefit? 3. What benefit does RDF in any format provide to t…
1. This is not a schema language. 2. Context is for shortcuts, all properties can be expanded to full names but these are qualified and long. 3. Benefit over what? RDF is for describing things with machine readable language.
2. Okay, so you either put the long data in the `@context` or in the original data. I suppose it may improve readability but for a data interchange format (which I believe this is), it seems wasteful.
3. Benefit in general. Why would I use RDF at all? What is any of this for? I can describe my data just fine with normal JSON. Why should I design my JSON in this way?
Re: Publishing JSON-LD for Developers
#23Only slightly related bit does anyone have a good current take on how to get going on using RDF for something of value? I recently got interested through a colleague showing off his pet rdf setup, but the more I read the more I am just confused with the platora of dead/abandoned and renamed projects, different standards and tons of different shorter versions like this one. It really feels like everything on the topic…
If the space intrigues you, I would suggest starting with a graph database instead.
Re: Publishing JSON-LD for Developers
#24Re: Publishing JSON-LD for Developers
#25Re: Publishing JSON-LD for Developers
#26As someone completely out of the loop on this one but deeply entrenched in modern web development, I have some questions. 1. What benefit does this format give that other schema systems do not? 2. The `@context` just seems like a way of defining variables. As best as I can tell, the use case leads to one only using each of these "variables" once. What's the benefit? 3. What benefit does RDF in any format provide to t…
They are not, those are good questions. The fact that you've been able to make and deliver successful products for years without knowing or worrying about RDF or JSON-LD should make you suspicious of JSON-LD and it's value proposition.
I've been hearing about for years and yet the development world is pretty happy moving ahead without it. I've looked at RDF and JSON-LD some years back when designing a web API shrugged and ignored it.
Now sure, it's nice. It's like having a car with chrome plated rims instead of regular rims. It's better, shinier, prettier but not enough for me to bother to spend time (money) to get it.
Re: Publishing JSON-LD for Developers
#27Re: Publishing JSON-LD for Developers
#28Try leading with an explanation of why developers should care about JSON-LD. Its value is not obvious to me. According to the Wikipedia article [0] this is used by Google Knowledge Graph, but there's no other examples. Are there open source RDF processors? What are they used for? Previously I've used json-schema for documenting, validating, and testing a REST API. The tooling wasn't very good, but it worked alright.…
For example: 1. How do you distinguish IDs from one system with those of another? RDF solves this. 2. How do you distinguish property names across systems? RDF solves this. 3. What if a entity originates in system A which you don’t control but you want to add a property to it in your system? RDF solves this.
JSON-LD is simply one way to serialize RDF data that makes look like what you would typically expect from an API that returns JSON. I.e. it’s developer friendly
In addition to the above, RDF is also an extraordinarily flexible/schemaless data model if you store your data as triples rather than as documents. There is definitely a steep learning curve to linked data, and I’ve had a hard time explaining it’s value over the years, but I think it’s worth the time to learn, understand, and leverage.
All of these benefits exist before you get into things like ontologies, which allows you to add additional value on top of what I outlined above.
Re: Publishing JSON-LD for Developers
#29As someone completely out of the loop on this one but deeply entrenched in modern web development, I have some questions. 1. What benefit does this format give that other schema systems do not? 2. The `@context` just seems like a way of defining variables. As best as I can tell, the use case leads to one only using each of these "variables" once. What's the benefit? 3. What benefit does RDF in any format provide to t…
> 3. What benefit does RDF in any format provide to the average web developer? Probably (almost) none, otherwise in its 20 years of existence it would have been used somewhere. Heck, even Semantic Web scholars actually don't use it for their own personal websites...
Re: Publishing JSON-LD for Developers
#30I guess I don't understand the purpose. If a high degree of formalization, typing and namespacing is required, why not use full-blown XML with namespaces and schemas?