Re: query variant rdf_persistency/2 ?
Jan Wielemaker <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hi Jacco, On 08/13/2013 12:26 PM, Jacco van Ossenbruggen wrote: > Jan, > > I could not find a way to find the current persistency status for an RDF graph. I was a bit surprised that just > > ?- rdf_persistency(graphname, Boolean). > > did not work and gave me an > > ERROR: Arguments are not sufficiently instantiated > > Looking at the code, just testing for blocked_db(graphname, persistency) would do the job, right? Yes, but that accesses private details of the module :-( I've added ?- rdf_graph_property(Graph, persistent(Boolean)). This uses a new extension mechanism to define new properties on graphs which is used by the persistency library to add this property. Cheers --- Jan > > Am I missing something? > > Jacco > _______________________________________________ > SWI-Prolog mailing list > [email protected] > https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog >