RDF triples specify statements with 3 parts: subject, predicate, object.
To store triples in a file there are several alternatives:
The first is RDF/XML.
The others are text based and are easier to read and use:
N3, TURTLE (TTL) and N-TRIPLE are plain text serializations of RDF.
N3 is a superset of TTL, and TTL is a superset of N-TRIPLE.
The most basic representation is N-TRIPLE but it is very verbose.
My personal favorite is TURTLE (TTL) because it provides some very nice shorcuts while maintaining the overall simplicity. Read more about it in the guide, section 2.
No comments:
Post a Comment