I have doubts about the differences between JSON, XML, and RDF.
I read on the internet:
JSON (JavaScript Object Identifier) ββis a lightweight data interchange format. Itβs easy for a person to read and write. Cars are easily disassembled and generated.
Resource Description Framework (RDF) is a language for representing resource information on the World Wide Web.
Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML also plays an increasingly important role in sharing a wide variety of data on the Internet and elsewhere.
So, if I am not mistaken, Json is used for data exchange. XML is also used for data exchange. What are the main differences between the two?
RDF is used to describe resources on the Internet and is based on xml syntax. So, can xml be used both for exchanging information and for describing new languages?
Can you give me some clarification?
EDIT:
I understand:
The "Resource Description Framework" suggests creating a structure for describing resources. In the university exam, I used RDF to describe the ontology of the company, in which I described the main components of the company and the relationship between them. RDF is important for the semantic network because "describe resources" allows you to associate the semantic meaning with resources.
XML is a markup language. The markup language is a set of rules that describe the presentation mechanisms (structural, semantic or presentation) of a text (Wikipedia). For this reason, it can be used to determine the structure of RDF or SOAP text, etc. You also say that it is used to serialize data.
JSON is only for serializing data. For serializing data, JSON and XML are similar, but with XML and XML SCHEMA Can I associate a semantic value with data, or am I mistaken?
json xml rdf
Neptune
source share