Represent and Export RDF Data
RDF (the Resource Description Framework) has a graph data model: Statements consist of triples of the form subject-predicate-object. Subject, predicate and object are IRIs (Internationalized Resource Identifiers), while objects can also be literals.
Version 12 introduces support for representing RDF data.
Create metadata about a book using the basic RDF and the well-known schema vocabulary.
Load GraphStore and define vocabulary utility functions.
Create an example IRI for the book, attach type, name, author, creation date and ISBN to it, and collect the statements in an RDFStore object.
Then you can export the store in any of the RDF formats, in this case "Turtle".