package rdf
OCaml library to manipulate RDF graphs; implements SPARQL
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-rdf-1.1.0.tar.bz2
md5=fdca8ab06da34d9d76fe273f654ec6a1
sha512=fff3ad6cb5978e43ac3c509cc25a01d16be6e21b04df607e0595ec0e7226ba7b6e4e2ec86bbeae4aa3d6a181fa399c7c00a4b1c788ddc98486f5c8badf8867f7
doc/rdf/Rdf/Xml/index.html
Module Rdf.Xml
Source
Reading and writing RDF/XML.
The type of XML tree walked through to fill the graph.
get_first tree tag
returns the first child with tag s
of the given xml tree or None
if the given node has no such child.
Source
type state = {
subject : Term.term option;
predicate : Iri.t option;
xml_base : Iri.t;
xml_lang : string option;
datatype : Iri.t option;
namespaces : string Iri.Map.t;
}
Type of current state when walking through the xml tree.
Global state of the analysis.
Fill a graph from a current state, a pair (global state, li counter), and a property node.
Input graph from string. Default base is the graph name.
Same as from_string
but read from the given file.
Same as from_string
but read from the given Xmlm.input handle.
Same as from_string
but read from the given Xml tree.
Return a RDF/XML representation of the graph in a string.
Source
val to_file :
?compact:bool ->
?namespaces:(Iri.t * string) list ->
Graph.graph ->
string ->
unit
Same as to_string
but writes to the given file.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>