view service/mqtt_graph_bridge/config_cardreader.n3 @ 1433:be9b456717bd

round numbers. py3 updates. ws Ignore-this: d1191987ce8070c9700a26b89436478a darcs-hash:284883b8403f0563572a154cca19d5e96a5e5654
author drewp <drewp@bigasterisk.com>
date Sun, 11 Aug 2019 03:25:20 -0700
parents 31aed1a0af9c
children
line wrap: on
line source

@prefix : <http://projects.bigasterisk.com/room/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix fr: <http://bigasterisk.com/foaf/> .

:cardReader a :MqttStatementSource;
  :mqttTopicHead ("nightlight_display1" "tag");
  :valueProcess [
    :conversion :tagIdToUri  # AA-BB-CC-DD to <http://bigasterisk.com/rfidCard/aabbccdd>
  ];
  :graphStatements [
     :outputPredicate :currentRead;
     :statementLifetime "5s";
  ]
  .