Hi Rajesh,

Are you sure that there are duplicate triples ?

For performance reasons, the triples are split into blocks (currently around 
100 triples), with each block being loaded into its own document.

See the semantics guide for more information 
https://docs.marklogic.com/guide/semantics/loading#id_81259

Regards,

Ed Outhwaite
Senior Consultant

From: 
<general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of Rajesh Kumar <rajava...@gmail.com<mailto:rajava...@gmail.com>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Monday, October 3, 2016 at 12:46 PM
To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] duplicate triplestore files when loaded using 
rdf and mlcp

Hi Team,

When using sem:rdf-load and loading the turtle ( .ttl ) file , i observed 
multiple triple store files are getting created and the same with mlcp as well. 
But my Sparql query is working as expected eventhough there ae multiple 
triplestore files exist in database ( I guess that will be taken care by triple 
store.)

Load query:

import module namespace sem = "http://marklogic.com/semantics";
      at "/MarkLogic/semantics.xqy";

sem:rdf-load(
    'D:\rajesh\poc\pearson_HED\abc.ttl',
    ("turtle","override-graph=http://www.abc.org/ontologies/abc";),
    (),
    xdmp:default-permissions()
    )

Kindly let me know is there any way that we can restrict duplicate files in db. 
Tried with both graph and default options as well.

Thanks & Regards,
Rajesh
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to