view service/rdf_from_mqtt/config_cardreader.n3 @ 718:edc14422f128

add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated Ignore-this: 11b16f06340adc7228930f3774323d1a
author drewp@bigasterisk.com
date Tue, 04 Feb 2020 23:33:21 -0800
parents
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;
  :mqttTopic ("frontwindow" "tag");
  :parser :tagIdToUri;  # AA-BB-CC-DD to <http://bigasterisk.com/rfidCard/aabbccdd>
  
  :graphStatements [
     :outputPredicate :currentRead;
     :statementLifetime "5s";
  ]
  .