swish-0.3.0.0: A semantic web toolkit.

PortabilityMultiParamTypeClasses
Stabilityexperimental
MaintainerDouglas Burke

Swish.RDF.Ruleset

Description

This module defines a ruleset data type, used to collect information about a ruleset that may contribute torwards inferences in RDF; e.g. RDF and RDFS are rulesets.

A ruleset consists of a namespace, a collection of axioms and a collection of rules.

Synopsis

Documentation

data Ruleset ex Source

Ruleset, having namespace, axioms and rules

Constructors

Ruleset 

Fields

rsNamespace :: Namespace
 
rsAxioms :: [Formula ex]
 
rsRules :: [Rule ex]
 

Instances

getRulesetAxiom :: ScopedName -> Ruleset ex -> Maybe (Formula ex)Source

Find a named axiom or rule in a ruleset or proof context