packages-semweb icon indicating copy to clipboard operation
packages-semweb copied to clipboard

Literal parsing as a constraint

Open wouterbeek opened this issue 9 years ago • 0 comments

If O in rdf(S, P, O) is an expensive literal (in terms of in_ground_type_hook/3 and out_type_hook/3) then it may be better to first match to the unparsed rdf_db term literal(type(D,Lex)) and only later, when first used, parse Lex into a Val.

This may be implemented as part of the rdf_where/1 or {...} notation.

wouterbeek avatar Jun 10 '16 18:06 wouterbeek