Getting Started With MarkLogic Server (PDF)

MarkLogic 9 Product Documentation
Getting Started With MarkLogic Server
— Chapter 5

« Previous chapter
Next chapter »

Getting Started with MarkLogic Semantics

MarkLogic includes Semantic tools to index and store RDF triples, search and manage those triples using native SPARQL query and SPARQL Update, and do inference to discover new facts about your data. MarkLogic can function as a document store for triples embedded in documents and as a triple store for triples in graphs. These semantic capabilities can be accessed natively or through JavaScript, XQuery, and REST.

Each RDF triple represents a fact (John Smith lives in London) in the form of a statement made up of a subject, predicate, and object. Groups of triples are stored as RDF graphs. Here is a model of a simple RDF graph that contains three triples:

Using this graph, we could ask who lives in England? and learn that both John Smith and Jane Smith live in England.

To get started with Semantics, see Introduction to Semantics in MarkLogic and Getting Started with Semantics in MarkLogic in the Semantics Developer's Guide.

« Previous chapter
Next chapter »
Powered by MarkLogic Server | Terms of Use | Privacy Policy