简体   繁体   中英

Semantic Web - Are Turtle and JSON-LD the same thing - a way to save RDF

I've just started looking at Semantic Web and there's one thing I'm a little uncertain of:

Are Turtle, JSON-LD (and others like Trig) simply ways to write RDF in their own respective syntaxes?

From what I understand once its in some RDF format, I can happily run SPARQL queries - or is there more to their differences, like specific use cases?

Regards.

RDF-Turtle and JSON-LD are really notations for inscribing RDF sentences to documents.

RDF Documents may reside on a Filesystem or be managed by a DBMS, Quad- or Triple-store.

SPARQL is a Declarative Query Language for performing Data Definition and Data Manipulation operations on Data Represented in RDF (ie, Relations represented as subject->predicate->object 3-tuples).

SPARQL is handled by a SPARQL Processor (or Engine) that is typically a feature of an RDF-supporting DBMS, Quad- or Triple store.

You ability to use SPARQL is totally unaffected by your RDF being created using RDF-Turtle or JSON-LD notations.

One final thing, the body of a SPARQL Query is actually RDF-Turtle plus additional support of variables as another mechanism for entity denotation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM