package rdf
OCaml library to manipulate RDF graphs; implements SPARQL
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-rdf-1.0.0.tar.gz
md5=43ce517489f775e6b65fcdef5e713e74
sha512=6130e46d186ca4abf0c44a35ab040f696f8b4d10fd16db9212e8280500f8263626f0ab8d53479b926924b41e45ae4793251727de725c03c409052a96ad2d40bd
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)"
>