When compared to relational databases, NoSQL databases are often more scalable and provide superior performance. In addition, the flexibility and ease of use of their data models can speed development in comparison to the relational model, especially in the cloud computing environment.
MarkLogic is not only a NoSQL database, it's the only enterprise NoSQL database. This means that it comes with all of the features that traditional databases have—features that enterprises need. MarkLogic Server is designed to securely store and manage a variety of data to run transactional, operational, and analytical applications.
The cluster has multiple machines (hosts), each running an instance of MarkLogic Server. Each host in a cluster is sometimes called a node, and each node in the cluster has its own copy of all of the configuration information for the entire cluster.
FLWOR (pronounced "flower") is an acronym for "For, Let, Where, Order by, Return".
It uses XML and JSON documents as its data model, and stores the documents within a transactional repository. It indexes the words and values from each of the loaded documents, as well as the document structure.
Each document can contain multiple triples. The setting for the number of triples stored in documents is defined by MarkLogic Server and is not a user configuration. Ingested triples are indexed with the triples index to provide access and the ability to query the triples with SPARQL, XQuery, or a combination of both.
You can use the following methods to query triples:
You can query an RDF dataset using any of these SPARQL query forms:
SELECT
query returns a solution, which is a set of bindings of variables and values.CONSTRUCT
query returns triples as a sequence of sem:triple values in an RDF graph. These triples are constructed by substituting variables in a set of triple templates to create new triples from existing triples.DESCRIBE
query returns a sequence of sem:triple values as an RDF graph that describes the resources found.ASK
query returns a boolean (true
or false
) indicating whether a query pattern matches the dataset.To execute a SPARQL query:
http://hostname:8000/qconsole
where hostname is the name of your MarkLogic Server host.
The Query Console supports syntax highlighting for SPARQL keywords.
You can add comments prefaced with the hash symbol (#).
,
select the target database.The MarkLogic Data Hub isan open-source software interface that works to ingest data from multiple sources, harmonize that data, master it, and then search and analyze it. It runs on MarkLogic Server, and together, they provide a unified platform for mission-critical use cases.
External binaries require special handling at load time because they are not managed by MarkLogic.
Searches with the cts:triple-range-query constructor require the triple index; if the triple index is not configured, then an exception is thrown. The subjects to look up. When multiple values are specified, the query matches if any value matches.
The MarkLogic Reference Application Architecture is a three-tier model containing database, middle, and browser tiers.
MarkLogic Server provides many ways to load content into a database including built-in XQuery functions, the REST Client API, and the command-line tool, MarkLogic Content Pump (mlcp).