Commit 87aaa94e authored by Nicolas Seydoux's avatar Nicolas Seydoux
Browse files

Updated factories topo for distributed experiments

parent cfdc344d
......@@ -27,3 +27,5 @@ itl_results/*
results_*/**
debug/
*.json2
simulator/thesis/distribution/distribution_?.ttl
simulator/thesis/distribution/distribution_?.json
@prefix : <https://w3id.org/laas-iot/edr/iiot/factory#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://w3id.org/laas-iot/edr/iiot/factory> .
:Floor0 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor00 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine000 :onConveyor :Conveyor00.
:Machine000 rdf:type :SparkGeneratingMachine.
:Machine001 :onConveyor :Conveyor00.
:Machine001 rdf:type :ColdSensitiveMachine.
:Conveyor01 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine010 :onConveyor :Conveyor01.
:Machine010 rdf:type :SparkGeneratingMachine.
:Machine011 :onConveyor :Conveyor01.
:Machine011 rdf:type :ColdSensitiveMachine.
:Floor1 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor10 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine100 :onConveyor :Conveyor10.
:Machine100 rdf:type :SparkGeneratingMachine.
:Machine101 :onConveyor :Conveyor10.
:Machine101 rdf:type :ColdSensitiveMachine.
:Conveyor11 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine110 :onConveyor :Conveyor11.
:Machine110 rdf:type :SparkGeneratingMachine.
:Machine111 :onConveyor :Conveyor11.
:Machine111 rdf:type :ColdSensitiveMachine.
@prefix : <https://w3id.org/laas-iot/edr/iiot/factory#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://w3id.org/laas-iot/edr/iiot/factory> .
:Floor0 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor00 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine000 :onConveyor :Conveyor00.
:Machine000 rdf:type :SparkGeneratingMachine.
:Machine001 :onConveyor :Conveyor00.
:Machine001 rdf:type :ColdSensitiveMachine.
:Conveyor01 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine010 :onConveyor :Conveyor01.
:Machine010 rdf:type :SparkGeneratingMachine.
:Machine011 :onConveyor :Conveyor01.
:Machine011 rdf:type :ColdSensitiveMachine.
:Floor1 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor10 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine100 :onConveyor :Conveyor10.
:Machine100 rdf:type :SparkGeneratingMachine.
:Machine101 :onConveyor :Conveyor10.
:Machine101 rdf:type :ColdSensitiveMachine.
:Conveyor11 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine110 :onConveyor :Conveyor11.
:Machine110 rdf:type :SparkGeneratingMachine.
:Machine111 :onConveyor :Conveyor11.
:Machine111 rdf:type :ColdSensitiveMachine.
@prefix : <https://w3id.org/laas-iot/edr/iiot/factory#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://w3id.org/laas-iot/edr/iiot/factory> .
:Floor0 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor00 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine000 :onConveyor :Conveyor00.
:Machine000 rdf:type :SparkGeneratingMachine.
:Machine001 :onConveyor :Conveyor00.
:Machine001 rdf:type :ColdSensitiveMachine.
:Conveyor01 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine010 :onConveyor :Conveyor01.
:Machine010 rdf:type :SparkGeneratingMachine.
:Machine011 :onConveyor :Conveyor01.
:Machine011 rdf:type :ColdSensitiveMachine.
:Floor1 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor10 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine100 :onConveyor :Conveyor10.
:Machine100 rdf:type :SparkGeneratingMachine.
:Machine101 :onConveyor :Conveyor10.
:Machine101 rdf:type :ColdSensitiveMachine.
:Conveyor11 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine110 :onConveyor :Conveyor11.
:Machine110 rdf:type :SparkGeneratingMachine.
:Machine111 :onConveyor :Conveyor11.
:Machine111 rdf:type :ColdSensitiveMachine.
@prefix : <https://w3id.org/laas-iot/edr/iiot/factory#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://w3id.org/laas-iot/edr/iiot/factory> .
:Floor0 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor00 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine000 :onConveyor :Conveyor00.
:Machine000 rdf:type :SparkGeneratingMachine.
:Machine001 :onConveyor :Conveyor00.
:Machine001 rdf:type :ColdSensitiveMachine.
:Conveyor01 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine010 :onConveyor :Conveyor01.
:Machine010 rdf:type :SparkGeneratingMachine.
:Machine011 :onConveyor :Conveyor01.
:Machine011 rdf:type :ColdSensitiveMachine.
:Floor1 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor10 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine100 :onConveyor :Conveyor10.
:Machine100 rdf:type :SparkGeneratingMachine.
:Machine101 :onConveyor :Conveyor10.
:Machine101 rdf:type :ColdSensitiveMachine.
:Conveyor11 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine110 :onConveyor :Conveyor11.
:Machine110 rdf:type :SparkGeneratingMachine.
:Machine111 :onConveyor :Conveyor11.
:Machine111 rdf:type :ColdSensitiveMachine.
@prefix : <https://w3id.org/laas-iot/edr/iiot/factory#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://w3id.org/laas-iot/edr/iiot/factory> .
:Floor0 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor00 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine000 :onConveyor :Conveyor00.
:Machine000 rdf:type :SparkGeneratingMachine.
:Machine001 :onConveyor :Conveyor00.
:Machine001 rdf:type :ColdSensitiveMachine.
:Conveyor01 rdf:type :Conveyor ; :locatedIn :Floor0.
:Machine010 :onConveyor :Conveyor01.
:Machine010 rdf:type :SparkGeneratingMachine.
:Machine011 :onConveyor :Conveyor01.
:Machine011 rdf:type :ColdSensitiveMachine.
:Floor1 rdf:type :Floor ; :locatedIn :myFactory.
:Conveyor10 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine100 :onConveyor :Conveyor10.
:Machine100 rdf:type :SparkGeneratingMachine.
:Machine101 :onConveyor :Conveyor10.
:Machine101 rdf:type :ColdSensitiveMachine.
:Conveyor11 rdf:type :Conveyor ; :locatedIn :Floor1.
:Machine110 :onConveyor :Conveyor11.
:Machine110 rdf:type :SparkGeneratingMachine.
:Machine111 :onConveyor :Conveyor11.
:Machine111 rdf:type :ColdSensitiveMachine.
import json
import argparse
SENSOR_HOST = "http://localhost"
MACHINE_HOST = "http://localhost"
CONVEYOR_HOST = "http://localhost"
FLOOR_HOST = "http://localhost"
FACTORY_HOST = "http://localhost"
# SENSOR_HOST = "http://syndream.laas.fr"
# MACHINE_HOST = "http://140.93.48.11"
# CONVEYOR_HOST = "http://rate.laas.fr"
# FLOOR_HOST = "http://syndream.laas.fr"
# FACTORY_HOST = "http://syndream.laas.fr"
# SENSOR_HOST = "http://localhost"
# MACHINE_HOST = "http://localhost"
# CONVEYOR_HOST = "http://localhost"
# FLOOR_HOST = "http://localhost"
# FACTORY_HOST = "http://localhost"
SENSOR_HOST = "http://blacksad.laas.fr"
MACHINE_HOST = "http://syndream.laas.fr"
CONVEYOR_HOST = "http://rate.laas.fr"
FLOOR_HOST = "http://blacksad.laas.fr"
FACTORY_HOST = "http://syndream.laas.fr"
PREFIXES = """
@prefix : <https://w3id.org/laas-iot/edr/iiot/factory#> .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment