What is the best way to call rdf_assert from C?

Haitao Zhang <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAFUyvhpXx_cTgO1k90wWS8RmsRkYjCes=gMZ=QcW5-KpPsJ3Sg@mail.gmail.com>
I would like to assert a fair amount of facts directly into the rdf db from
a C extension. I guess the straightforward way is to construct the
rdf_assert term and then do PL_call. Presumably this will go through dwim,
module processing and other overhead etc per call. I wonder if there is a
better way. Ideally I would get a handle to the C function directly.

Thanks,
Haitao
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.