Nicco
Nicco

Reputation: 1

How to load an ontology in MarkLogic

is there a way to load an Ontology in rdf/xml or rdf format in markLogic ruleset database?

In the markLogic Documentation, it says that to use its own ontology, it must be loaded using the interface on the "localhost:8001 page" and this ontology must be written in a specific MarkLogic language and have the .rules extension.

My question now is: is it possible to use the rdf/xml format instead of this MarkLogic format language.

Upvotes: 0

Views: 178

Answers (1)

grtjn
grtjn

Reputation: 20414

An Ontology is usually expressed in triples, which can be loaded into MarkLogic like any other set of triples. You can import it with MLCP using -input_file_type rdf, which supports a few file extensions, including .ttl, .rdf, and .owl if I am not mistaken.

The rules files are exclusively used for Inferencing.

HTH!

Upvotes: 2

Related Questions