Search found 7 matches

by Rangarajan
28 Jul 2019 13:45
Forum: Visual Prolog
Topic: Compiled clauses
Replies: 10
Views: 1894

Re: Compiled clauses

Hi,
I meant no offence in my post. What I asked first was a genuine question. There was no need to disguise my intentions! The follow up was just another use case for binary representation.

Regards,
Rangarajan
by Rangarajan
25 Jul 2019 11:30
Forum: Visual Prolog
Topic: Compiled clauses
Replies: 10
Views: 1894

Re: Compiled clauses

Thanks to all who have responded. I get the idea. One reason why one might want to store the facts/clauses in a binary format is to protect IP. Suppose these facts have sensitive information (e.g. business logic related data) that I don't want the end user to know, I would not want to keep it in a t...
by Rangarajan
20 Jul 2019 10:06
Forum: Visual Prolog
Topic: Compiled clauses
Replies: 10
Views: 1894

Re: Compiled clauses

Thanks Martin! Assuming I have a text file that contains just "facts" (something like your "myFact"), I would like to load them all into the program, save them in a binary format, and then when needed, load them all in one go. In your example, I see that you are saving and reading the facts one by o...
by Rangarajan
19 Jul 2019 12:31
Forum: Visual Prolog
Topic: Compiled clauses
Replies: 10
Views: 1894

Compiled clauses

Hi, I am new to Visual Prolog. It is going to take me a while to get used to the strong typing, etc. I have a quick question: If I have many "Clauses" files, each containing hundreds of clauses (the standard Prolog clauses), is there way to load them all and save the combined set as "compiled" binar...
by Rangarajan
25 Nov 2012 23:42
Forum: Visual Prolog
Topic: Huge facts database
Replies: 4
Views: 1146

Thanks for the clarification.

Regards,
Rangarajan
by Rangarajan
25 Nov 2012 14:44
Forum: Visual Prolog
Topic: Huge facts database
Replies: 4
Views: 1146

Thank you. let me put it this way. If I have a large set of facts and rules, does it still make sense to keep this in a .PL file (or perhaps in compiled form), or save it in an external database? The important question is whether VP can run inference over such an external data base, without my loadi...
by Rangarajan
25 Nov 2012 7:53
Forum: Visual Prolog
Topic: Huge facts database
Replies: 4
Views: 1146

Huge facts database

Hi, Does VP 7 support very large facts databases? Is it possible, for example, to store 1 million facts/predicates in the external DB and use it for inferencing? I am considering using VP in a project related to semantic web where I expect (at least) a few million triples. I would appreciate if anyo...