Commit 6584ec7e authored by Nicolas Seydoux's avatar Nicolas Seydoux
Browse files

Coopis topologies

parent e8472a47
{
"name":"comfort-app",
"uri":"http://syndream.laas.fr/",
"port":8005,
"endpoint":"http://syndream.laas.fr:6001/rules/add",
"ruleset":[
"rules-syndream/abstract/r1.ttl",
"rules-syndream/abstract/r2.ttl",
"rules-syndream/abstract/r3.ttl",
"rules-syndream/abstract/r4.ttl",
"rules-syndream/abstract/r5.ttl",
"rules-syndream/abstract/r6.ttl",
"rules-syndream/abstract/r7.ttl",
"rules-syndream/abstract/r8.ttl",
"rules-syndream/abstract/r9.ttl"
]
}
{
"name":"comfort-app",
"uri":"http://syndream.laas.fr/",
"port":8002,
"endpoint":"http://syndream.laas.fr:6001/rules/add",
"ruleset":["rules-syndream/comfort/aboveThresholdTemperature.ttl", "rules-syndream/comfort/comfortableSpot.ttl", "rules-syndream/comfort/veryComfortableSpot.ttl","rules-syndream/comfort/uncomfortableSpot.ttl"]
}
{
"name":"comfort-app",
"uri":"http://localhost/",
"port":8005,
"endpoint":"http://localhost:6001/rules/add",
"ruleset":[
"shapes/abstract/r1Shape.ttl",
"shapes/abstract/r2Shape.ttl",
"shapes/abstract/r3Shape.ttl",
"shapes/abstract/r4Shape.ttl",
"shapes/abstract/r5Shape.ttl",
"shapes/abstract/r6Shape.ttl",
"shapes/abstract/r7Shape.ttl",
"shapes/abstract/r8Shape.ttl",
"shapes/abstract/r9Shape.ttl"
]
}
{
"name":"comfort-app",
"uri":"http://localhost/",
"port":8002,
"endpoint":"http://localhost:6001/rules/add",
"ruleset":["shapes/comfort/comfortableShape.ttl", "shapes/comfort/uncomfortableShape.ttl", "shapes/comfort/thresholdShape.ttl"]
}
{
"centralized": "adp",
"layers": {
"count": 1,
"type": "building",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "floor",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Floor0",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "presence"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "luminosity"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "particle_level"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "temperature"
},
{
"count": 1,
"type": "gallery",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Conveyor00",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "conveyor_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "presence"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "conveyor_speed"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "supervisor_presence"
},
{
"count": 1,
"type": "room",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Machine000",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "product_quality"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_speed"
}
]
},
{
"count": 1,
"type": "room",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Machine001",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "product_quality"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_speed"
}
]
}
]
},
{
"count": 1,
"type": "gallery",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Conveyor01",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "conveyor_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "conveyor_speed"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "supervisor_presence"
},
{
"count": 1,
"type": "room",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Machine010",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "product_quality"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_speed"
}
]
},
{
"count": 1,
"type": "room",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Machine011",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "product_quality"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_speed"
}
]
}
]
}
]
},
{
"count": 1,
"type": "floor",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Floor1",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "presence"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "luminosity"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "particle_level"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "temperature"
},
{
"count": 1,
"type": "gallery",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Conveyor10",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "conveyor_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "presence"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "conveyor_speed"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "supervisor_presence"
},
{
"count": 1,
"type": "room",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Machine100",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "product_quality"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_speed"
}
]
},
{
"count": 1,
"type": "room",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Machine101",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "product_quality"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_speed"
}
]
}
]
},
{
"count": 1,
"type": "gallery",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Conveyor11",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "conveyor_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "conveyor_speed"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "supervisor_presence"
},
{
"count": 1,
"type": "room",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Machine110",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "product_quality"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_speed"
}
]
},
{
"count": 1,
"type": "room",
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Machine111",
"host": "http://localhost",
"concentrates": [
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_state"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "product_quality"
},
{
"count": 1,
"type": "sensor",
"host": "http://localhost",
"measures": "machine_speed"
}
]
}
]
}
]
}
]
},
"name": "myFactory",
"common_knowledge": [
"https://w3id.org/laas-iot/edr/iiot/scala_syndream/clone_f_1.ttl"
]
}
\ No newline at end of file
@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.
{
"layers": {
"count": 1,
"host": "http://syndream.laas.fr",
"type": "building",
"concentrates": [
{
"count": 1,
"feature": "https://w3id.org/laas-iot/edr/iiot/factory#Floor0",
"type": "floor",
"concentrates": [
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "particle_level"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "temperature"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "particle_level"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "temperature"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "luminosity"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "presence"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "luminosity"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "presence"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "luminosity"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "presence"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "luminosity"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "presence"
},
{
"count": 1,
"host": "http://syndream.laas.fr",
"type": "sensor",
"measures": "luminosity"
},
{