aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/graph/graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsfs/graph/graph.py')
-rw-r--r--bsfs/graph/graph.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsfs/graph/graph.py b/bsfs/graph/graph.py
index b7b9f1c..10e5904 100644
--- a/bsfs/graph/graph.py
+++ b/bsfs/graph/graph.py
@@ -9,6 +9,7 @@ import os
import typing
# bsfs imports
+from bsfs.query import ast
from bsfs.schema import Schema
from bsfs.triple_store import TripleStoreBase
from bsfs.utils import URI, typename
@@ -110,4 +111,8 @@ class Graph():
type_ = self.schema.node(node_type)
return _nodes.Nodes(self._backend, self._user, type_, {guid})
+ def get(self, node_type: URI, subject: ast.filter.FilterExpression) -> Nodes:
+ """Return a `Nodes` instance over all nodes of type *node_type* that match the *subject* query."""
+ raise NotImplementedError()
+
## EOF ##