Clever Geek Handbook
📜 ⬆️ ⬇️

N-triples

N-Triples (triplets) - a text format used for storing and transmitting RDF graphs ("resource description environment"), is a subset of the Turtle format, easier to parse with parsers. This format is recommended by the World Wide Web Consortium (W3C).

N-triples
Expansion
MIME type
Published
Format type, , and
Site

Content

Format

The triplet consists of three parts: subject, predicate and object, separated by spaces (characters U + 0020 and U + 0009). This sequence must end with a '.' and line feed.

 
Triplet RDF

A predicate (also called a property) describes the relationship of the subject with the object. For example, as follows, you can express the statement "Kronos is the father of Zeus":

  <http://mythology.Greek.org/#Cronus> <http://www.example.org/schemas/relationship/fatherOf> <http://mythology.Greek.org/#Zeus>. 

The subject must be a URI link or an empty node, the predicate is a URI , the object is a URI , an empty node or a literal (used to indicate text data, numbers, dates). A set of triplets constitutes a representation of the RDF graph.

Other formats

To represent RDF graphs, other more complex formats are also used: N-Quads , Turtle , Notation 3 .

Literature

  • Shelley Powers. Practical RDF . - "O'Reilly Media, Inc.", July 18, 2003. - P. 42–. - ISBN 978-0-596-55051-6 .
  • Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL . - Elsevier, July 5, 2011. - P. 44–. - ISBN 978-0-12-385966-2 .

Links

  • http://www.w3.org/2007/03/rdf_concepts_en Resource Description Environment (RDF): Concepts and Abstract Syntax
  • RDF 1.1 N-Triples
Source - https://ru.wikipedia.org/w/index.php?title=N-Triples&oldid=95694997


More articles:

  • Argentina Football Championship 1955
  • Potapova, Olga Ananievna
  • Og, Gustave Emil
  • Ashar, Laurent
  • Petrova, Ekaterina Denisovna
  • Az Zabaniya
  • Tarhanka (East Kazakhstan Region)
  • List of wars and battles with the Indians of North America
  • Mosalsky, Vasily Vasilyevich Ring
  • Argentina Football Championship 1956

All articles

Clever Geek | 2019