rdf

OCaml library to manipulate RDF graphs; implements SPARQL
IN THIS PACKAGE
Module Rdf . Loc
type loc = {
loc_start : Lexing.position;
loc_end : Lexing.position;
}
val dummy_loc : loc

Dummy location.

val source_info_string : string -> int -> int -> loc

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

val 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.

val string_of_loc : loc -> string

Return a string representing the given location.