filterextraction

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: None detected not legal advice Imports: 0 Imported by: 0

Documentation

Overview

Package filterextraction split a bigger NamedGraph to smaller ones according to the needs of SST Ontologies and to support SST Repositories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectNodeAsPredicateUsages

func CollectNodeAsPredicateUsages(graph sst.NamedGraph) (map[sst.IBNode]map[sst.IBNode]struct{}, error)

returns a map key: predicate value: subject collection of this predicate

func ExtractImportedGraphs

func ExtractImportedGraphs(
	graph sst.NamedGraph,
	nodegroups []nodeGroup,
	predicateUsages map[sst.IBNode]map[sst.IBNode]struct{},
) error

func Run

func Run(repo sst.Repository, path string)

path is the repository path, the TTL files in the folder where the provided path is located will be checked.

func SearchRootNodes

func SearchRootNodes(graph sst.NamedGraph) ([]nodeGroup, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL