protocol
json_graph_data_protocol
Canonical JSON graph data protocol for object-backed graph sources and sinks using atom identifiers.
Availability:
logtalk_load(json_graph(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-07-03
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
graph/2
Enumerates or stores graph properties for an atom graph identifier.
Compilation flags:
dynamicTemplate:
graph(GraphId,Properties)Mode and number of proofs:
graph(?atom,?list) - zero_or_morenode/3
Enumerates or stores node properties for atom graph and node identifiers.
Compilation flags:
dynamicTemplate:
node(GraphId,NodeId,Properties)Mode and number of proofs:
node(?atom,?atom,?list) - zero_or_moreedge/5
Enumerates or stores edge properties for atom graph, edge, source node, and target node identifiers.
Compilation flags:
dynamicTemplate:
edge(GraphId,EdgeId,Source,Target,Properties)Mode and number of proofs:
edge(?atom,?atom,?atom,?atom,?list) - zero_or_morehyperedge/4
Enumerates or stores undirected hyperedge properties for atom graph and hyperedge identifiers and a list of atom node identifiers.
Compilation flags:
dynamicTemplate:
hyperedge(GraphId,HyperedgeId,Nodes,Properties)Mode and number of proofs:
hyperedge(?atom,?atom,?list(atom),?list) - zero_or_morehyperedge/5
Enumerates or stores directed hyperedge properties for atom graph and hyperedge identifiers and lists of atom source and target node identifiers.
Compilation flags:
dynamicTemplate:
hyperedge(GraphId,HyperedgeId,Sources,Targets,Properties)Mode and number of proofs:
hyperedge(?atom,?atom,?list(atom),?list(atom),?list) - zero_or_moreProtected predicates
(none)
Private predicates
(none)
Operators
(none)