• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

4.5.1 Literal maps: Creating additional indices on literals
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • Plugin modules for rdf_db
          • library(semweb/rdf_litindex): Indexing words in literals
            • Literal maps: Creating additional indices on literals
              • rdf_new_literal_map/1
              • rdf_destroy_literal_map/1
              • rdf_reset_literal_map/1
              • rdf_insert_literal_map/3
              • rdf_insert_literal_map/4
              • rdf_delete_literal_map/2
              • rdf_delete_literal_map/2
              • rdf_find_literal_map/3
              • rdf_keys_in_literal_map/3
              • rdf_statistics_literal_map/2
Availability::- use_module(library(semweb/rdf_litindex)).
rdf_insert_literal_map(+Map, +Key, +Value, -KeyCount)
As rdf_insert_literal_map/3. In addition, if Key is a new key in Map, unify KeyCount with the number of keys in Map. This serves two purposes. Derived maps, such as the stem and metaphone maps need to know about new keys and it avoids additional foreign calls for doing the progress in rdf_litindex.pl.
ClioPatria (version V3.1.1-51-ga0b30a5)