package rdf

  1. Overview
  2. Docs
OCaml library to manipulate RDF graphs; implements SPARQL

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-rdf-1.0.0.tar.gz
md5=43ce517489f775e6b65fcdef5e713e74
sha512=6130e46d186ca4abf0c44a35ab040f696f8b4d10fd16db9212e8280500f8263626f0ab8d53479b926924b41e45ae4793251727de725c03c409052a96ad2d40bd

doc/rdf/Rdf/Loc/index.html

Module Rdf.LocSource

Locations.

Sourcetype loc = {
  1. loc_start : Lexing.position;
  2. loc_end : Lexing.position;
}
Sourceval dummy_loc : loc

Dummy location.

Sourceval source_info_string : string -> int -> int -> loc

From the given utf8 string and start and stop characters, return the corresponding location.

Sourceval source_info_file : string -> int -> int -> loc

From the given file and start and stop characters, read the content of the file as utf8, and return the corresponding location.

Sourceval string_of_loc : loc -> string

Return a string representing the given location.

Sourceval pp : Format.formatter -> loc -> unit

Pretty-print the given location.