package rdf
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml library to manipulate RDF graphs; implements SPARQL
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-rdf-1.1.0.tar.bz2
md5=fdca8ab06da34d9d76fe273f654ec6a1
sha512=fff3ad6cb5978e43ac3c509cc25a01d16be6e21b04df607e0595ec0e7226ba7b6e4e2ec86bbeae4aa3d6a181fa399c7c00a4b1c788ddc98486f5c8badf8867f7
doc/rdf/Rdf/Dot/index.html
Module Rdf.DotSource
Dump in graphviz format.
apply_namespaces ns iri return a pair (prefix, suffix) representing the given iri and using one of the namespaces ns, of the form (prefix, iri). If a namespace (pref, iri) exists such that iri is a prefix of iri2, then apply_namespaces ns iri2 = (prefix, rel), with rel being the suffix of iri2 relative to iri.
Source
val build_namespaces :
?namespaces:(Iri.t * string) list ->
Graph.graph ->
(string * string) listbuild_namespaces graph returns the list namespaces of the graph, as a list of pairs (prefix, iri) usable by apply_namespaces.
Source
val dot_of_graph :
?namespaces:(Iri.t * string) list ->
?href:(Term.term -> string option) ->
Graph.graph ->
stringdot_of_graph graph returns the Graphviz code to represent the given graph.
Source
val dot_of_iri :
?namespaces:(Iri.t * string) list ->
?href:(Term.term -> string option) ->
Graph.graph ->
Iri.t ->
stringSame as dot_of_graph but return code to represent only the triples having the given IRI as subject or object.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>