Skip to content

anhlt18vn/Semantic2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantics2019

Data Schema and Generator

The dataset which was used in this experiment was created by wrapping the weather data dataset NOAA to RDF using the updated version of SSN ontology.

Image Data Schema

The java tool for wrapping the NOAA dataset can be found at 1.

Guidelines for running evaluation.

Setting Up the Ecosystem

Our system is developed using 4 components. To setup each components we provide guidelines for each of the following.

  1. Blockchain - Ethereum Cluster
  2. IPFS Cluster
  3. Redis Cluster
  4. Java Client

We deployed the above components on Raspberry Pi Model 3B. The Raspbian OS was used on Rpi.

Setting up the Experiments

  • Clone this repository in <home_dir> ex. /home/pi
  • Location for the data should be /home/pi/dataset

Run the Experiments

Skeleton to Run a Publisher-Consumer Client

java -Xms200m -Xmx650m -cp ./tub.ods.distributed.rdf4led/tub.ods.distributed.rdf4led.1.0-SNAPSHOT.jar tub.ods.rdf4led.distributed.benchmark.{TASK} SMART_CONTRACT_ADDRESS PRE-FUNDED_ADDRESS ETHEREUM_FULL_CLIENT

TASK: Mention the task to carry out the evaluation. example Insertion & Querying.

SMART_CONTRACT_ADDRESS: Smart Contract address which is deployed on blockchain network to interact with our Smart Contract Manager Service.

PRE-FUNDED_ADDRESS: We provide Ethereum's client address who already has pre-loaded Ethers/Tokens which can be transfered to each client to carry out transactions.

ETHEREUM_FULL_CLIENT: The Remote Procedure Client to submit transactions to Blockchain network

1. Inserting Linked Sensor Data

java -Xms200m -Xmx750m -cp ./tub.ods.distributed.rdf4led/tub.ods.distributed.rdf4led.1.0-SNAPSHOT.jar tub.ods.rdf4led.distributed.benchmark.DistributedTripleIndexTest 0x9F1ef2A6Eee18B512c6BC9825F7eaDD7Fc2d6277 0x0bb88C02096d91aeD3AD33e15CFC240A37d77b92 http://192.168.1.228:8545

2. Querying Dataset

java -Xms200m -Xmx750m -cp ./tub.ods.distributed.rdf4led/tub.ods.distributed.rdf4led.1.0-SNAPSHOT.jar tub.ods.rdf4led.distributed.benchmark.QueryingTest 0x9F1ef2A6Eee18B512c6BC9825F7eaDD7Fc2d6277 0x0bb88C02096d91aeD3AD33e15CFC240A37d77b92 http://192.168.1.228:8545

About

Repository for Semantic 2019 paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published