diff service/mqtt_to_rdf/inference_test.py @ 1659:15e84c71beee

parse lists from graph into the Chunks
author drewp@bigasterisk.com
date Sun, 19 Sep 2021 14:42:39 -0700
parents 274bb6c04627
children 31f7dab6a60b
line wrap: on
line diff
--- a/service/mqtt_to_rdf/inference_test.py	Sun Sep 19 13:33:10 2021 -0700
+++ b/service/mqtt_to_rdf/inference_test.py	Sun Sep 19 14:42:39 2021 -0700
@@ -27,6 +27,7 @@
 @prefix ex: <http://example.com/> .
 @prefix room: <http://projects.bigasterisk.com/room/> .
 @prefix math: <http://www.w3.org/2000/10/swap/math#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 """
     g.parse(StringInputSource((prefix + txt).encode('utf8')), format='n3')
     return g