ontola/rdfdev-js

View on GitHub
packages/collections/src/types.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Node, Quadruple, Term } from "@ontologies/core";

export interface Store {
  getResourceProperty<T extends Term = Term>(
    subject: Node,
    property: Node | Node[],
  ): T | undefined
  getResourcePropertyRaw(subject: Node, property: Node | Node[]): Quadruple[]
}