view service/mqtt_graph_bridge/config_cardreader.n3 @ 1495:690226a7dddb

extract rdfStatementsFromRequest for sharing with other tools Ignore-this: 74eba63f3a29f48b48c6fb1ae74780d3 darcs-hash:9250a3eb40d95ef6522f3bb573f8fa093c84c48e
author drewp <drewp@bigasterisk.com>
date Fri, 31 Jan 2020 23:54:20 -0800
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";
  ]
  .