Mercurial > code > home > repos > homeauto
diff service/mqtt_to_rdf/lhs_evaluation.py @ 1673:80f4e741ca4f
redo RHS bnode processing
author | drewp@bigasterisk.com |
---|---|
date | Wed, 22 Sep 2021 01:00:32 -0700 |
parents | 00a5624d1d14 |
children |
line wrap: on
line diff
--- a/service/mqtt_to_rdf/lhs_evaluation.py Tue Sep 21 23:21:59 2021 -0700 +++ b/service/mqtt_to_rdf/lhs_evaluation.py Wed Sep 22 01:00:32 2021 -0700 @@ -1,14 +1,13 @@ import logging from decimal import Decimal -from typing import (Dict, Iterator, List, Optional, Set, Tuple, Type, Union, cast) +from typing import Dict, Iterator, List, Optional, Type, Union, cast -from prometheus_client import Summary -from rdflib import RDF, Literal, Namespace, URIRef +from rdflib import Literal, Namespace, URIRef from rdflib.term import Node, Variable from candidate_binding import CandidateBinding -from inference_types import BindableTerm, Triple -from stmt_chunk import Chunk, ChunkedGraph +from inference_types import BindableTerm +from stmt_chunk import Chunk log = logging.getLogger('infer')