UNPKG

@faubulous/mentor-rdf

Version:

A library for working with RDF vocabularies with support for basic RDFS and OWL inference.

19 lines (18 loc) 803 B
import * as rdfjs from "@rdfjs/types"; import { ReasonerBase } from "./reasoner"; /** * A simple SKOS reasoner that expands the graph with inferred triples. */ export declare class SkosReasoner extends ReasonerBase { protected concepts: Set<string>; protected conceptSchemes: Set<string>; protected collections: Set<string>; applyInference(quad: rdfjs.Quad): void; protected assertConcept(subject: rdfjs.Quad_Subject): void; protected assertConceptScheme(subject: rdfjs.Quad_Subject): void; protected isClass(id: string): boolean; inferConceptAxioms(quad: rdfjs.Quad): void; protected assertCollection(subject: rdfjs.Quad_Subject): void; protected assertOrderedCollection(subject: rdfjs.Quad_Subject): void; inferCollectionAxioms(quad: rdfjs.Quad): void; }