On 13/07/17 10:08, Ghislain Atemezing-Pro wrote:
> Hi list,
> I am trying to combine the function cts:triple-value-statistics with 
> the predefined rulesets of Marklogic.
> I have some 727M triples, with an ontology containing many subclasses 
> and subproperties.
>  I've added 4 predefined rules to see whether I can get some inferred 
> data, such as rdfs-plus-full, subclassOf, sameAs, inverseOf.

Don't use rdfs-plus-full or any of the "*-full" rulesets.

> When I use the function  cts:triple-value-statistics, I can't get the 
> full number of triples with inferred data. Am I doing something wrong? 
> Is it possible to get that information somehow?

In MarkLogic inference happens at query time (backwards chaining) so we 
don't have database statistics about total number of inferred triples.

You can find this information using the count() aggregate in a SPARQL 
query. It will probably take a really long time, and may fail to 
complete if it runs out of scratch space. Given this, I would suggest 
that this probably isn't a valuable question to answer.

John

-- 
John Snelson, Principal Engineer              http://twitter.com/jpcs
MarkLogic Corporation                         http://www.marklogic.com
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to