subgraph.pl -- subgraph-of relationship between RDF graphs.
author
- Daniel Beßler
license
- BSD
load_graph_structure
is
det
Avoid that there are any orphan graphs.
add_subgraph
(+Sub, +Sup)
is
det
Adds the subgraph-of relation between two named graphs.
Arguments:
Sub
- Name of the subgraph.
Sup
- Name of the super-graph.
get_supgraphs
(+GraphName, -SupGraphs)
is
det
Get all super-graphs of a named graph. This minds transitivity of the relation.
Arguments:
GraphName
- Name of a graph.
SupGraphs
- List of super-graphs.
get_subgraphs
(+GraphName, -SubGraphs)
is
det
Get all subgraphs of a named graph. This minds transitivity of the relation.
Arguments:
GraphName
- Name of a graph.
SubGraphs
- List of subgraphs.