Semweb's estimation of triple complexity not working 'out of the box'
Wouter Beek <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAE1un7MCWYFisJsJ6eeZaih10nhj9inpR80F1jrr+iYPn1UdBg@mail.gmail.com> |
Hi all, Has anybody been using rdf_estimate_complexity/4? To me it seems does not seem to work 'out of the box'. For example: ~~~ ?- use_module(library(semweb/rdf_db)). ?- rdf_assert(rdf:a, rdf:b, rdf:c). ?- rdf_estimate_complexity(_, rdf:b, _, C). C = 0. ~~~ But then: ~~~ ?- rdf(_, rdf:b, _). ?- rdf_estimate_complexity(_, rdf:b, _, C). C = 1. ~~~ So it seems like rdf_estimate_complexity/4 need some 'warm-up' before it becomes operational. I would like to know how I can guarantee that it works (I have not yet found a way that works reliably). --- Cheers!, Wouter. E-mail: [email protected] WWW: www.wouterbeek.com Tel.: 0647674624 -------------- next part -------------- HTML attachment scrubbed and removed