jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Reasoners, Datasets, Models
Date Mon, 13 Dec 2010 16:34:41 GMT
So, in practical terms, can I call 'read' on the OntModel that is
constructed over the UNION_GRAPH to get the rules into its clutches?



On Mon, Dec 13, 2010 at 11:32 AM, Ian Dickinson <ian@epimorphics.com> wrote:
> On 13/12/10 16:16, Benson Margulies wrote:
>> Meanwhile, is there any advantage of reading the ontology tuples
>> themselves into memory instead of into TDB?
> Yes, for sure, if you're using the inference engine. The reasoners make
> many, many checks into the model of the form "is triple <t>
> present/absent?". If that check goes to TDB, at best you're hitting the
> cache but at worst you'll be doing a disk operation. For a small model,
> if I understand it correctly, TDB will have everything cached. But for a
> larger model, you will likely pay a performance** penalty.
>
> Ian
>
> **
> http://www.reddit.com/r/programming/comments/90tge/hey_rprogramming_i_made_a_visualization_of_the/c0b1t0v
>
>
>
> --
> ____________________________________________________________
> Ian Dickinson                   Epimorphics Ltd, Bristol, UK
> mailto:ian@epimorphics.com        http://www.epimorphics.com
> cell: +44-7786-850536              landline: +44-1275-399069
> ------------------------------------------------------------
> Epimorphics Ltd.  is a limited company registered in England
> (no. 7016688). Registered address: Court Lodge, 105 High St,
>              Portishead, Bristol BS20 6PT, UK
>
>

Mime
View raw message