UNPKG

sparnatural

Version:

Visual client-side SPARQL query builder and knowledge graph exploration tool

37 lines (36 loc) 1.28 kB
import { Term } from "@rdfjs/types/data-model"; import { RdfStore } from "rdf-stores"; import { StoreModel } from "../StoreModel"; export declare class ShaclStoreModel extends StoreModel { constructor(n3store: RdfStore); /** * Reads the sh:node values in a sh:or list. * @param shOrList The sh:or list term. * @return A list of resources. */ readShNodeInShOr(shOrList: Term): Term[]; /** * Reads the sh:class values in a sh:or list. * @param shOrList The sh:or list term. * @return A list of resources. */ readShClassInShOr(shOrList: Term): Term[]; /** * Reads the sh:datatype values in a sh:or list. * @param shOrList The sh:or list term. * @return A list of resources. */ readShDatatypeInShOr(shOrList: Term): Term[]; /** * Reads the sh:nodeKind values in a sh:or list. * @param shOrList The sh:or list term. * @return A list of resources. */ readShNodeKindInShOr(shOrList: Term): Term[]; /** * Reads the sh:class, sh:node, sh:datatype, and sh:nodeKind values in a sh:or list. * @param shOrList The sh:or list term. * @return A list of resources. */ readShClassAndShNodeAndShDatatypeAndShNodeKindInShOr(shOrList: Term): Term[]; }