update to 1.0

This commit is contained in:
Josip Milovac 2022-12-02 15:53:28 +11:00
parent 72a94b72f7
commit 1cb1070d45
10 changed files with 2503 additions and 169 deletions

View file

@ -57,7 +57,7 @@ const tp = new TransactionPool();
const p2pServer = new P2pServer(bc, tp); const p2pServer = new P2pServer(bc, tp);
const miner = new Miner(bc, tp, wallet, p2pServer); const miner = new Miner(bc, tp, wallet, p2pServer);
const parser = new N3.Parser({format: 'application/n-quads'}); const parser = new N3.Parser(); //({format: 'application/n-quads'});
const store = new N3.Store(); const store = new N3.Store();
const myEngine = new QueryEngine(); const myEngine = new QueryEngine();
@ -75,7 +75,7 @@ const storage = multer.diskStorage({
//filtering the type of uploaded Metadata files //filtering the type of uploaded Metadata files
const fileFilter = (req, file, cb) => { const fileFilter = (req, file, cb) => {
// reject a file // reject a file
if (file.mimetype === 'application/json' || file.mimetype === 'text/plain' ) { if (file.mimetype === 'application/json' || file.mimetype === 'text/plain' || file.mimettype === 'turtle') {
cb(null, true); cb(null, true);
} else { } else {
cb(null, false); cb(null, false);
@ -124,8 +124,8 @@ app.get('/Transactions', (req, res) => {
app.get('/mine-transactions', (req, res) => { app.get('/mine-transactions', (req, res) => {
const block = miner.mine(); const block = miner.mine();
console.log(`New block added: ${block.toString()}`); console.log(`New block added: ${block.toString()}`);
//res.redirect('/blocks'); res.redirect('/blocks');
res.json("Block mined"); // res.json("Block mined");
}); });
/////////////// ///////////////
app.get('/public-key', (req, res) => { app.get('/public-key', (req, res) => {
@ -136,6 +136,64 @@ app.get('/Balance', (req, res) => {
res.json({ Balance: wallet.balance }); res.json({ Balance: wallet.balance });
}); });
///////////////
//this API prints all the quads stored in the RDF store and returns the entire store
app.get('/quads', (req, res) => {
for (const quad of store)
console.log(quad);
res.json(store);
});
app.get('/IoTdeviceRegistration', (req, res)=> {
fs.readdir('./uploads', function(err, files) {
console.log(files[files.length-2]);
var FileName = files[files.length-2];
let rawdata = fs.readFileSync(`./uploads/${FileName}`);
let SenShaMartDesc = JSON.parse(rawdata);
/* the following piece of code is used to genrate JSON object out of name-value pairs submitted
let SenShaMartExtNames = ['Name','Geo' ,'IP_URL' , 'Topic_Token', 'Permission', 'RequestDetail',
'OrgOwner', 'DepOwner','PrsnOwner', 'PaymentPerKbyte',
'PaymentPerMinute','Protocol', 'MessageAttributes', 'Interval',
'FurtherDetails']
let SenShaMartExtValues = [Name,Geo ,IP_URL , Topic_Token, Permission, RequestDetail,
OrgOwner, DepOwner,PrsnOwner, PaymentPerKbyte,
PaymentPerMinute,Protocol, MessageAttributes, Interval,
FurtherDetails]
let SenSHaMArtExt = {};
for (let i =0; i <SenShaMartExtNames.length; i++){
SenSHaMArtExt[`${SenShaMartExtNames[i]}`]= SenShaMartExtValues[i]
}
//let SenShaMartOnt = SSNmetadata;
//SenShaMartOnt.push(SenSHaMArtExt); */
console.log(SenShaMartDesc)
jsonld.toRDF(SenShaMartDesc, {format: 'application/n-quads'},
(err, nquads) => {
console.log(nquads)
var metaDataTransaction = wallet.createMetadata(
nquads, tp);
parser.parse(
nquads,
(error, quadN, prefixes) => {
if (quadN){
store.addQuad(DataFactory.quad(
DataFactory.namedNode(quadN.subject.id),
DataFactory.namedNode(quadN.predicate.id),
DataFactory.namedNode(quadN.object.id)));
}
else {
console.log("# That's all, folks!", prefixes);
}
});
//console.log(metaDataTransaction.SSNmetadata)
p2pServer.broadcastMetadata(metaDataTransaction);
});
});
res.json("MetadataTransactionCreated");
});
////////////////////////////////////////////////// //////////////////////////////////////////////////
// POST APIs // POST APIs
app.post('/mine', (req, res) => { app.post('/mine', (req, res) => {
@ -147,68 +205,12 @@ app.post('/mine', (req, res) => {
res.redirect('/blocks'); res.redirect('/blocks');
}); });
/////////////// ///////////////
app.post('/transact', (req, res) => { app.post('/PaymentTransaction', (req, res) => {
const { recipient, amount } = req.body; const { recipient, amount } = req.body;
const transaction = wallet.createTransaction(recipient, amount, bc, tp); const transaction = wallet.createTransaction(recipient, amount, bc, tp);
p2pServer.broadcastTransaction(transaction); p2pServer.broadcastTransaction(transaction);
res.redirect('/transactions'); res.redirect('/transactions');
}); });
///////////////
app.post('/IoTdeviceRegistration', (req, res)=> {
const {Name,Geo ,IP_URL , Topic_Token, Permission, RequestDetail,
OrgOwner, DepOwner,PrsnOwner, PaymentPerKbyte,
PaymentPerMinute,Protocol, MessageAttributes, Interval,
FurtherDetails} = req.body;
fs.readdir('./uploads', function(err, files) {
console.log(files[files.length-2]);
var FileName = files[files.length-2];
let rawdata = fs.readFileSync(`./uploads/${FileName}`);
let SSNmetadata = JSON.parse(rawdata);
let NameIn = Name;
let GeoIn = Geo;
let IP_URLIn = IP_URL;
let Topic_TokenIn = Topic_Token;
let PermissionIn = Permission;
let RequestDetailIn = RequestDetail;
let OrgOwnerIn = OrgOwner;
let DepOwnerIn = DepOwner;
let PrsnOwnerIn = PrsnOwner;
let PaymentPerKbyteIn = PaymentPerKbyte;
let PaymentPerMinuteIn = PaymentPerMinute;
let ProtocolIn = Protocol;
let MessageAttributesIn = MessageAttributes;
let IntervalIn = Interval;
let FurtherDetailsIn = FurtherDetails;
var metaDataTransaction = wallet.createMetadata(NameIn,
GeoIn, IP_URLIn,Topic_TokenIn,
PermissionIn, RequestDetailIn, OrgOwnerIn,
DepOwnerIn, PrsnOwnerIn, PaymentPerKbyteIn,
PaymentPerMinuteIn,ProtocolIn,
MessageAttributesIn, IntervalIn,
FurtherDetailsIn,
SSNmetadata, tp);
/**
* the following piece of code
* is for storing the metadata as a Nquad format inside the blockchain
*/
jsonld.toRDF(metaDataTransaction.SSNmetadata, {format: 'application/n-quads'},
(err, nquads) => {
// nquads is a string of N-Quads
parser.parse(
nquads,
(error, quadN, prefixes) => {
// console.log(quadN)
if (quadN)
//console.log(quadN.predicate)
store.addQuad(DataFactory.quad(
DataFactory.namedNode(quadN.subject.id),
DataFactory.namedNode(quadN.predicate.id),
DataFactory.namedNode(quadN.object.id)));
});
});
metaDataTransaction.SSNmetadata= store;
p2pServer.broadcastMetadata(metaDataTransaction);});
res.json("MetadataTransactionCreated");});
/////////////// ///////////////
app.post('/IoTdevicePaymentTransaction', (req, res) => { app.post('/IoTdevicePaymentTransaction', (req, res) => {
@ -238,54 +240,31 @@ app.post("/UploadMetafile", upload.single('file'), (req, res) => {
// const OrgOwner = req.body.OrgOwner; // const OrgOwner = req.body.OrgOwner;
const file = req.file; const file = req.file;
//file : req.body.file //file : req.body.file
res.status(201).json({ res.status(201).json({
message: 'Uploading Metadata was successful', message: 'Uploading Metadata was successful',
MetadataFile : file MetadataFile : file
}); });
}); });
///////////////////// /////////////////////
//Start of comunica sparql query code //Start of comunica sparql query code
/**
* this code under construction
* try Comunica SPARQL RDFJS
* I believe we need to change the way of storing the metadata
*/
app.post('/sparql', (req, res) => { app.post('/sparql', (req, res) => {
const {Select,subject,predicate,object,Limit}= req.body; /**these const {Select,subject,predicate,object,Limit}= req.body;
variable are used for the sparql query*/ const start = async function (a,b){
var meta = []//represents the array of all metadata inside blockchain const bindingsStream = await myEngine.queryBindings(`SELECT ${Select} WHERE
var queryResult {${subject} ${predicate} ${object}} LIMIT
// BlockData =bc.chain.map (a => a.data); /** extracting the data section ${Limit}`, { sources: [{ type: 'rdfjsSource',
// from each block inside the whole blockchain */ value: store}]
// var i;//i represents the number of blocks inside the whole blockchain });
// for ( i= 1; i < BlockData.length; i++ ){ bindingsStream.on('data', (binding) => {
// var j //represents number of metadata transaction inside each block console.log(binding.toString());
// for ( j= 0; j<BlockData[i][1].length ;j++){ queryResult= binding;
// meta.push(BlockData[i][1][j]["SSNmetadata"]); } } });
// parser.parse( };
// nquads, start()
// (error, quadN, prefixes) => { res.json("Query succsessful");
// if (quadN) });
// store.addQuad(DataFactory.quad(
// DataFactory.namedNode(quadN.subject.id),
// DataFactory.namedNode(quadN.predicate.id),
// DataFactory.namedNode(quadN.object.id)));
// else {(console.log("no metadata"))
// store.addQuad(DataFactory.quad(
// DataFactory.namedNode('http://ex.org/null'),
// DataFactory.namedNode('http://ex.org/null'),
// DataFactory.namedNode('http://ex.org/null')));}});
const start = async function (a,b){
const result = await myEngine.query(`SELECT ${Select} WHERE
{${subject} ${predicate} ${object}} LIMIT
${Limit}`, { sources: [{ type: 'rdfjsSource',
value: store}] })
result.bindingsStream.on('data', (data) =>
console.log(data.toObject()));
queryResult= result.bindingsStream};
start()
// logQuery(queryResult);
res.json(queryResult);});
///////////////////////////////////////////////////////////Integration/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////Integration///////////////////////////////////////////////////////////
DistributedBrokers = ["mqtt.eclipse.org", "test.mosquitto.org","broker.hivemq.com"]; DistributedBrokers = ["mqtt.eclipse.org", "test.mosquitto.org","broker.hivemq.com"];

View file

@ -2,7 +2,7 @@
"name": "senshamartproject", "name": "senshamartproject",
"version": "1.0.0", "version": "1.0.0",
"description": "A novel Marketplace for sharing sensors in decentralized environment", "description": "A novel Marketplace for sharing sensors in decentralized environment",
"main": "index.js", "main": "app/index.js",
"scripts": { "scripts": {
"test": "jest --watchAll", "test": "jest --watchAll",
"dev-test": "nodemon dev-test", "dev-test": "nodemon dev-test",
@ -30,7 +30,7 @@
"jsonld": "^1.7.0", "jsonld": "^1.7.0",
"mqtt": "^4.1.0", "mqtt": "^4.1.0",
"multer": "^1.3.1", "multer": "^1.3.1",
"n3": "^1.2.0", "n3": "^1.16.3",
"uuid": "^9.0.0", "uuid": "^9.0.0",
"ws": "^8.9.0" "ws": "^8.9.0"
} }

View file

@ -0,0 +1,793 @@
[ {
"@id" : "_:genid1",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "_:genid2",
"@type" : [ "http://www.w3.org/ns/sosa/QuantityValue" ]
}, {
"@id" : "_:genid3",
"@type" : [ "http://www.w3.org/2006/time#TemporalEntity" ]
}, {
"@id" : "_:genid4",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "_:genid5",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "http://example.org/data/Observation/346344",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Observation" ],
"http://www.w3.org/ns/sosa/hasFeatureOfInterest" : [ {
"@id" : "http://www.w3.org/ns/sosa/'Office_temperature'"
} ],
"http://www.w3.org/ns/sosa/madeBySensor" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ],
"http://www.w3.org/ns/sosa/observedProperty" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'"
} ]
}, {
"@id" : "http://example.org/data/Observation/346345",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Observation" ],
"http://www.w3.org/ns/sosa/hasFeatureOfInterest" : [ {
"@id" : "http://www.w3.org/ns/sosa/'Office_Humidity'"
} ],
"http://www.w3.org/ns/sosa/madeBySensor" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ],
"http://www.w3.org/ns/sosa/observedProperty" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'"
} ]
}, {
"@id" : "http://purl.org/dc/terms/created",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/creator",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/description",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/license",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/rights",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/title",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/vocab/vann/preferredNamespacePrefix",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/vocab/vann/preferredNamespaceUri",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://schema.org/domainIncludes",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://schema.org/rangeIncludes",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#definition",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#example",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#note",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2006/time#TemporalEntity",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/",
"@type" : [ "http://www.w3.org/2002/07/owl#Ontology" ],
"http://purl.org/dc/terms/created" : [ {
"@type" : "http://www.w3.org/2001/XMLSchema#date",
"@value" : "2017-04-17"
} ],
"http://purl.org/dc/terms/creator" : [ {
"@id" : "_:genid1"
} ],
"http://purl.org/dc/terms/description" : [ {
"@language" : "en",
"@value" : "This ontology is based on the SSN Ontology by the W3C Semantic Sensor Networks Incubator Group (SSN-XG), together with considerations from the W3C/OGC Spatial Data on the Web Working Group."
} ],
"http://purl.org/dc/terms/license" : [ {
"@id" : "http://www.opengeospatial.org/ogc/Software"
}, {
"@id" : "http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document"
} ],
"http://purl.org/dc/terms/rights" : [ {
"@value" : "Copyright 2017 W3C/OGC."
} ],
"http://purl.org/dc/terms/title" : [ {
"@language" : "en",
"@value" : "Sensor, Observation, Sample, and Actuator (SOSA) Ontology"
} ],
"http://purl.org/vocab/vann/preferredNamespacePrefix" : [ {
"@value" : "sosa"
} ],
"http://purl.org/vocab/vann/preferredNamespaceUri" : [ {
"@value" : "http://www.w3.org/ns/sosa/"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Arduino_UNO_R3'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Platform" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Arduino Uno R3"
} ],
"http://www.w3.org/ns/sosa/Owner" : [ {
"@value" : "04f5add581755fad29e698e053f2b923e5a15cc6bad9987bcb4dc79edb36cd54a732faae838841205461717391d0d198604d9d20a6a68b472339e1ff4874188d0a"
} ],
"http://www.w3.org/ns/sosa/hosts" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Sensor" ],
"http://purl.org/dc/terms/creator" : [ {
"@value" : "AOSONG"
} ],
"http://purl.org/dc/terms/description" : [ {
"@value" : "Measures the temperature and humidity of the surrounding air.\nWorks on 3.3 - 5.5 volts"
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "DHT11"
} ],
"http://www.w3.org/ns/sosa/Owner" : [ {
"@value" : "04f5add581755fad29e698e053f2b923e5a15cc6bad9987bcb4dc79edb36cd54a732faae838841205461717391d0d198604d9d20a6a68b472339e1ff4874188d0a"
} ],
"http://www.w3.org/ns/sosa/observes" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'"
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Office_Humidity'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/FeatureOfInterest" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Office_Humidity"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Office_temperature'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/FeatureOfInterest" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Office_temperature"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/ObservableProperty" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "air_Humidity"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/ObservableProperty" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "air_temperature"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The thing whose property is being estimated or calculated in the course of an Observation to arrive at a Result or whose property is being manipulated by an Actuator, or which is being sampled or transformed in an act of Sampling."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Feature Of Interest"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The thing whose property is being estimated or calculated in the course of an Observation to arrive at a Result or whose property is being manipulated by an Actuator, or which is being sampled or transformed in an act of Sampling."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "When measuring the height of a tree, the height is the observed ObservableProperty, 20m may be the Result of the Observation, and the tree is the FeatureOfInterest. A window is a FeatureOfInterest for an automatic window control Actuator."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "An observable quality (property, characteristic) of a FeatureOfInterest."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Observable Property"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "An observable quality (property, characteristic) of a FeatureOfInterest."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The height of a tree, the depth of a water body, or the temperature of a surface are examples of observable properties, while the value of a classic car is not (directly) observable but asserted."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Observation",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Act of carrying out an (Observation) Procedure to estimate or calculate a value of a property of a FeatureOfInterest. Links to a Sensor to describe what made the Observation and how; links to an ObservableProperty to describe what the result is an estimate of, and to a FeatureOfInterest to detail what that property was associated with."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Act of carrying out an (Observation) Procedure to estimate or calculate a value of a property of a FeatureOfInterest. Links to a Sensor to describe what made the Observation and how; links to an ObservableProperty to describe what the result is an estimate of, and to a FeatureOfInterest to detail what that property was associated with."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The activity of estimating the intensity of an Earthquake using the Mercalli intensity scale is an Observation as is measuring the moment magnitude, i.e., the energy released by said earthquake."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Owner",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Platform",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A Platform is an entity that hosts other entities, particularly Sensors, Actuators, Samplers, and other Platforms."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Platform"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A Platform is an entity that hosts other entities, particularly Sensors, Actuators, Samplers, and other Platforms."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "A post, buoy, vehicle, ship, aircraft, satellite, cell-phone, human or animal may act as platforms for (technical or biological) sensors or actuators."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/QuantityValue",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Result",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The Result of an Observation, Actuation, or act of Sampling. To store an observation's simple result value one can use the hasSimpleResult property."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Result"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The Result of an Observation, Actuation, or act of Sampling. To store an observation's simple result value one can use the hasSimpleResult property."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The value 20 as the height of a certain tree together with the unit, e.g., Meter."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#subClassOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "Accelerometers, gyroscopes, barometers, magnetometers, and so forth are Sensors that are typically mounted on a modern smart phone (which acts as Platform). Other examples of sensors include the human eyes."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/actsOnProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Actuation and the property of a FeatureOfInterest it is acting upon."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "acts on property"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isActedOnBy"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Actuation and the property of a FeatureOfInterest it is acting upon."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "In the activity (Actuation) of automatically closing a window if the temperature in a room drops below 20 degrees Celsius, the property on which the Actuator acts upon is the state of the window as it changes from being open to being closed. "
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasFeatureOfInterest",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation between an Observation and the entity whose quality was observed, or between an Actuation and the entity whose property was modified, or between an act of Sampling and the entity that was sampled."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has feature of interest"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isFeatureOfInterestOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation between an Observation and the entity whose quality was observed, or between an Actuation and the entity whose property was modified, or between an act of Sampling and the entity that was sampled."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "For example, in an Observation of the weight of a person, the FeatureOfInterest is the person and the property is its weight."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasResult",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Result"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation or Actuation or act of Sampling and a Result or Sample."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has result"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isResultOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation or Actuation or act of Sampling and a Result or Sample."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasSample",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a FeatureOfInterest and the Sample used to represent it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has sample"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isSampleOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a FeatureOfInterest and the Sample used to represent it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasSimpleResult",
"@type" : [ "http://www.w3.org/2002/07/owl#DatatypeProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The simple value of an Observation or Actuation or act of Sampling."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has simple result"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The simple value of an Observation or Actuation or act of Sampling."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "For instance, the values 23 or true."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hosts",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Platform and a Sensor, Actuator, Sampler, or Platform, hosted or mounted on it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "hosts"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isHostedBy"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Platform and a Sensor, Actuator, Sampler, or Platform, hosted or mounted on it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isActedOnBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an ActuatableProperty of a FeatureOfInterest and an Actuation changing its state."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is acted on by"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an ActuatableProperty of a FeatureOfInterest and an Actuation changing its state."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "In the activity (Actuation) of automatically closing a window if the temperature in a room drops below 20 degrees Celsius, the property on which the Actuator acts upon is the state of the window as it changes from being open to being closed. "
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isFeatureOfInterestOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation between a FeatureOfInterest and an Observation about it, an Actuation acting on it, or an act of Sampling that sampled it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is feature of interest of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation between a FeatureOfInterest and an Observation about it, an Actuation acting on it, or an act of Sampling that sampled it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isHostedBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor, Actuator, Sampler, or Platform, and the Platform that it is mounted on or hosted by."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is hosted by"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor, Actuator, Sampler, or Platform, and the Platform that it is mounted on or hosted by."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isObservedBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an ObservableProperty and the Sensor able to observe it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is observed by"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/observes"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an ObservableProperty and the Sensor able to observe it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isResultOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Result"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking a Result to the Observation or Actuation or act of Sampling that created or caused it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is result of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking a Result to the Observation or Actuation or act of Sampling that created or caused it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isSampleOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation from a Sample to the FeatureOfInterest that it is intended to be representative of."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is sample of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation from a Sample to the FeatureOfInterest that it is intended to be representative of."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeActuation",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Actuator and the Actuation it has made."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made actuation"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeByActuator"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Actuator and the Actuation it has made."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeByActuator",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Actuation to the Actuator that made that Actuation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by actuator"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Actuation to the Actuator that made that Actuation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeBySampler",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an act of Sampling to the Sampler (sampling device or entity) that made it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by sampler"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeSampling"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an act of Sampling to the Sampler (sampling device or entity) that made it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeBySensor",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Observation and the Sensor which made the Observation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by sensor"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeObservation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Observation and the Sensor which made the Observation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeObservation",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an Observation made by the Sensor."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an Observation made by the Sensor."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeSampling",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sampler (sampling device or entity) and the Sampling act it performed."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made sampling"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sampler (sampling device or entity) and the Sampling act it performed."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/observedProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation to the property that was observed. The ObservableProperty should be a property of the FeatureOfInterest (linked by hasFeatureOfInterest) of this Observation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "observed property"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation to the property that was observed. The ObservableProperty should be a property of the FeatureOfInterest (linked by hasFeatureOfInterest) of this Observation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/observes",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an ObservableProperty that it is capable of sensing."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "observes"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an ObservableProperty that it is capable of sensing."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/phenomenonTime",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/2006/time#TemporalEntity"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The time that the Result of an Observation, Actuation or Sampling applies to the FeatureOfInterest. Not necessarily the same as the resultTime. May be an Interval or an Instant, or some other compound TemporalEntity."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "phenomenon time"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The time that the Result of an Observation, Actuation or Sampling applies to the FeatureOfInterest. Not necessarily the same as the resultTime. May be an Interval or an Instant, or some other compound TemporalEntity."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/resultTime",
"@type" : [ "http://www.w3.org/2002/07/owl#DatatypeProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The result time is the instant of time when the Observation, Actuation or Sampling activity was completed."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "result time"
} ],
"http://www.w3.org/2000/01/rdf-schema#range" : [ {
"@id" : "http://www.w3.org/2001/XMLSchema#dateTime"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The result time is the instant of time when the Observation, Actuation or Sampling activity was completed."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/usedProcedure",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation to link to a re-usable Procedure used in making an Observation, an Actuation, or a Sample, typically through a Sensor, Actuator or Sampler."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "used procedure"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation to link to a re-usable Procedure used in making an Observation, an Actuation, or a Sample, typically through a Sensor, Actuator or Sampler."
} ]
}, {
"@id" : "http://xmlns.com/foaf/0.1/Agent",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://xmlns.com/foaf/0.1/name",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
} ]

View file

@ -0,0 +1,793 @@
[ {
"@id" : "_:genid1",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "_:genid2",
"@type" : [ "http://www.w3.org/ns/sosa/QuantityValue" ]
}, {
"@id" : "_:genid3",
"@type" : [ "http://www.w3.org/2006/time#TemporalEntity" ]
}, {
"@id" : "_:genid4",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "_:genid5",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "http://example.org/data/Observation/346344",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Observation" ],
"http://www.w3.org/ns/sosa/hasFeatureOfInterest" : [ {
"@id" : "http://www.w3.org/ns/sosa/'Office_temperature'"
} ],
"http://www.w3.org/ns/sosa/madeBySensor" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ],
"http://www.w3.org/ns/sosa/observedProperty" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'"
} ]
}, {
"@id" : "http://example.org/data/Observation/346345",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Observation" ],
"http://www.w3.org/ns/sosa/hasFeatureOfInterest" : [ {
"@id" : "http://www.w3.org/ns/sosa/'Office_Humidity'"
} ],
"http://www.w3.org/ns/sosa/madeBySensor" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ],
"http://www.w3.org/ns/sosa/observedProperty" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'"
} ]
}, {
"@id" : "http://purl.org/dc/terms/created",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/creator",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/description",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/license",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/rights",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/title",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/vocab/vann/preferredNamespacePrefix",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/vocab/vann/preferredNamespaceUri",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://schema.org/domainIncludes",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://schema.org/rangeIncludes",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#definition",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#example",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#note",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2006/time#TemporalEntity",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/",
"@type" : [ "http://www.w3.org/2002/07/owl#Ontology" ],
"http://purl.org/dc/terms/created" : [ {
"@type" : "http://www.w3.org/2001/XMLSchema#date",
"@value" : "2017-04-17"
} ],
"http://purl.org/dc/terms/creator" : [ {
"@id" : "_:genid1"
} ],
"http://purl.org/dc/terms/description" : [ {
"@language" : "en",
"@value" : "This ontology is based on the SSN Ontology by the W3C Semantic Sensor Networks Incubator Group (SSN-XG), together with considerations from the W3C/OGC Spatial Data on the Web Working Group."
} ],
"http://purl.org/dc/terms/license" : [ {
"@id" : "http://www.opengeospatial.org/ogc/Software"
}, {
"@id" : "http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document"
} ],
"http://purl.org/dc/terms/rights" : [ {
"@value" : "Copyright 2017 W3C/OGC."
} ],
"http://purl.org/dc/terms/title" : [ {
"@language" : "en",
"@value" : "Sensor, Observation, Sample, and Actuator (SOSA) Ontology"
} ],
"http://purl.org/vocab/vann/preferredNamespacePrefix" : [ {
"@value" : "sosa"
} ],
"http://purl.org/vocab/vann/preferredNamespaceUri" : [ {
"@value" : "http://www.w3.org/ns/sosa/"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Arduino_UNO_R3'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Platform" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Arduino Uno R3"
} ],
"http://www.w3.org/ns/sosa/Owner" : [ {
"@value" : "04f5add581755fad29e698e053f2b923e5a15cc6bad9987bcb4dc79edb36cd54a732faae838841205461717391d0d198604d9d20a6a68b472339e1ff4874188d0a"
} ],
"http://www.w3.org/ns/sosa/hosts" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Sensor" ],
"http://purl.org/dc/terms/creator" : [ {
"@value" : "AOSONG"
} ],
"http://purl.org/dc/terms/description" : [ {
"@value" : "Measures the temperature and humidity of the surrounding air.\nWorks on 3.3 - 5.5 volts"
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "DHT11"
} ],
"http://www.w3.org/ns/sosa/Owner" : [ {
"@value" : "04f5add581755fad29e698e053f2b923e5a15cc6bad9987bcb4dc79edb36cd54a732faae838841205461717391d0d198604d9d20a6a68b472339e1ff4874188d0a"
} ],
"http://www.w3.org/ns/sosa/observes" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'"
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Office_Humidity'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/FeatureOfInterest" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Office_Humidity"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Office_temperature'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/FeatureOfInterest" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Office_temperature"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/ObservableProperty" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "air_Humidity"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/ObservableProperty" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "air_temperature"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The thing whose property is being estimated or calculated in the course of an Observation to arrive at a Result or whose property is being manipulated by an Actuator, or which is being sampled or transformed in an act of Sampling."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Feature Of Interest"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The thing whose property is being estimated or calculated in the course of an Observation to arrive at a Result or whose property is being manipulated by an Actuator, or which is being sampled or transformed in an act of Sampling."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "When measuring the height of a tree, the height is the observed ObservableProperty, 20m may be the Result of the Observation, and the tree is the FeatureOfInterest. A window is a FeatureOfInterest for an automatic window control Actuator."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "An observable quality (property, characteristic) of a FeatureOfInterest."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Observable Property"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "An observable quality (property, characteristic) of a FeatureOfInterest."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The height of a tree, the depth of a water body, or the temperature of a surface are examples of observable properties, while the value of a classic car is not (directly) observable but asserted."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Observation",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Act of carrying out an (Observation) Procedure to estimate or calculate a value of a property of a FeatureOfInterest. Links to a Sensor to describe what made the Observation and how; links to an ObservableProperty to describe what the result is an estimate of, and to a FeatureOfInterest to detail what that property was associated with."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Act of carrying out an (Observation) Procedure to estimate or calculate a value of a property of a FeatureOfInterest. Links to a Sensor to describe what made the Observation and how; links to an ObservableProperty to describe what the result is an estimate of, and to a FeatureOfInterest to detail what that property was associated with."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The activity of estimating the intensity of an Earthquake using the Mercalli intensity scale is an Observation as is measuring the moment magnitude, i.e., the energy released by said earthquake."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Owner",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Platform",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A Platform is an entity that hosts other entities, particularly Sensors, Actuators, Samplers, and other Platforms."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Platform"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A Platform is an entity that hosts other entities, particularly Sensors, Actuators, Samplers, and other Platforms."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "A post, buoy, vehicle, ship, aircraft, satellite, cell-phone, human or animal may act as platforms for (technical or biological) sensors or actuators."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/QuantityValue",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Result",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The Result of an Observation, Actuation, or act of Sampling. To store an observation's simple result value one can use the hasSimpleResult property."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Result"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The Result of an Observation, Actuation, or act of Sampling. To store an observation's simple result value one can use the hasSimpleResult property."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The value 20 as the height of a certain tree together with the unit, e.g., Meter."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#subClassOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "Accelerometers, gyroscopes, barometers, magnetometers, and so forth are Sensors that are typically mounted on a modern smart phone (which acts as Platform). Other examples of sensors include the human eyes."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/actsOnProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Actuation and the property of a FeatureOfInterest it is acting upon."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "acts on property"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isActedOnBy"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Actuation and the property of a FeatureOfInterest it is acting upon."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "In the activity (Actuation) of automatically closing a window if the temperature in a room drops below 20 degrees Celsius, the property on which the Actuator acts upon is the state of the window as it changes from being open to being closed. "
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasFeatureOfInterest",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation between an Observation and the entity whose quality was observed, or between an Actuation and the entity whose property was modified, or between an act of Sampling and the entity that was sampled."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has feature of interest"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isFeatureOfInterestOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation between an Observation and the entity whose quality was observed, or between an Actuation and the entity whose property was modified, or between an act of Sampling and the entity that was sampled."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "For example, in an Observation of the weight of a person, the FeatureOfInterest is the person and the property is its weight."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasResult",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Result"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation or Actuation or act of Sampling and a Result or Sample."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has result"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isResultOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation or Actuation or act of Sampling and a Result or Sample."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasSample",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a FeatureOfInterest and the Sample used to represent it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has sample"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isSampleOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a FeatureOfInterest and the Sample used to represent it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasSimpleResult",
"@type" : [ "http://www.w3.org/2002/07/owl#DatatypeProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The simple value of an Observation or Actuation or act of Sampling."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has simple result"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The simple value of an Observation or Actuation or act of Sampling."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "For instance, the values 23 or true."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hosts",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Platform and a Sensor, Actuator, Sampler, or Platform, hosted or mounted on it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "hosts"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isHostedBy"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Platform and a Sensor, Actuator, Sampler, or Platform, hosted or mounted on it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isActedOnBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an ActuatableProperty of a FeatureOfInterest and an Actuation changing its state."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is acted on by"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an ActuatableProperty of a FeatureOfInterest and an Actuation changing its state."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "In the activity (Actuation) of automatically closing a window if the temperature in a room drops below 20 degrees Celsius, the property on which the Actuator acts upon is the state of the window as it changes from being open to being closed. "
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isFeatureOfInterestOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation between a FeatureOfInterest and an Observation about it, an Actuation acting on it, or an act of Sampling that sampled it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is feature of interest of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation between a FeatureOfInterest and an Observation about it, an Actuation acting on it, or an act of Sampling that sampled it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isHostedBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor, Actuator, Sampler, or Platform, and the Platform that it is mounted on or hosted by."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is hosted by"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor, Actuator, Sampler, or Platform, and the Platform that it is mounted on or hosted by."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isObservedBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an ObservableProperty and the Sensor able to observe it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is observed by"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/observes"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an ObservableProperty and the Sensor able to observe it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isResultOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Result"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking a Result to the Observation or Actuation or act of Sampling that created or caused it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is result of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking a Result to the Observation or Actuation or act of Sampling that created or caused it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isSampleOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation from a Sample to the FeatureOfInterest that it is intended to be representative of."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is sample of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation from a Sample to the FeatureOfInterest that it is intended to be representative of."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeActuation",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Actuator and the Actuation it has made."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made actuation"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeByActuator"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Actuator and the Actuation it has made."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeByActuator",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Actuation to the Actuator that made that Actuation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by actuator"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Actuation to the Actuator that made that Actuation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeBySampler",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an act of Sampling to the Sampler (sampling device or entity) that made it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by sampler"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeSampling"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an act of Sampling to the Sampler (sampling device or entity) that made it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeBySensor",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Observation and the Sensor which made the Observation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by sensor"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeObservation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Observation and the Sensor which made the Observation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeObservation",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an Observation made by the Sensor."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an Observation made by the Sensor."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeSampling",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sampler (sampling device or entity) and the Sampling act it performed."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made sampling"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sampler (sampling device or entity) and the Sampling act it performed."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/observedProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation to the property that was observed. The ObservableProperty should be a property of the FeatureOfInterest (linked by hasFeatureOfInterest) of this Observation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "observed property"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation to the property that was observed. The ObservableProperty should be a property of the FeatureOfInterest (linked by hasFeatureOfInterest) of this Observation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/observes",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an ObservableProperty that it is capable of sensing."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "observes"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an ObservableProperty that it is capable of sensing."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/phenomenonTime",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/2006/time#TemporalEntity"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The time that the Result of an Observation, Actuation or Sampling applies to the FeatureOfInterest. Not necessarily the same as the resultTime. May be an Interval or an Instant, or some other compound TemporalEntity."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "phenomenon time"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The time that the Result of an Observation, Actuation or Sampling applies to the FeatureOfInterest. Not necessarily the same as the resultTime. May be an Interval or an Instant, or some other compound TemporalEntity."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/resultTime",
"@type" : [ "http://www.w3.org/2002/07/owl#DatatypeProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The result time is the instant of time when the Observation, Actuation or Sampling activity was completed."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "result time"
} ],
"http://www.w3.org/2000/01/rdf-schema#range" : [ {
"@id" : "http://www.w3.org/2001/XMLSchema#dateTime"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The result time is the instant of time when the Observation, Actuation or Sampling activity was completed."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/usedProcedure",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation to link to a re-usable Procedure used in making an Observation, an Actuation, or a Sample, typically through a Sensor, Actuator or Sampler."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "used procedure"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation to link to a re-usable Procedure used in making an Observation, an Actuation, or a Sample, typically through a Sensor, Actuator or Sampler."
} ]
}, {
"@id" : "http://xmlns.com/foaf/0.1/Agent",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://xmlns.com/foaf/0.1/name",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
} ]

View file

@ -0,0 +1,793 @@
[ {
"@id" : "_:genid1",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "_:genid2",
"@type" : [ "http://www.w3.org/ns/sosa/QuantityValue" ]
}, {
"@id" : "_:genid3",
"@type" : [ "http://www.w3.org/2006/time#TemporalEntity" ]
}, {
"@id" : "_:genid4",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "_:genid5",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
}, {
"@id" : "http://example.org/data/Observation/346344",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Observation" ],
"http://www.w3.org/ns/sosa/hasFeatureOfInterest" : [ {
"@id" : "http://www.w3.org/ns/sosa/'Office_temperature'"
} ],
"http://www.w3.org/ns/sosa/madeBySensor" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ],
"http://www.w3.org/ns/sosa/observedProperty" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'"
} ]
}, {
"@id" : "http://example.org/data/Observation/346345",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Observation" ],
"http://www.w3.org/ns/sosa/hasFeatureOfInterest" : [ {
"@id" : "http://www.w3.org/ns/sosa/'Office_Humidity'"
} ],
"http://www.w3.org/ns/sosa/madeBySensor" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ],
"http://www.w3.org/ns/sosa/observedProperty" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'"
} ]
}, {
"@id" : "http://purl.org/dc/terms/created",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/creator",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/description",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/license",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/rights",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/dc/terms/title",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/vocab/vann/preferredNamespacePrefix",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://purl.org/vocab/vann/preferredNamespaceUri",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://schema.org/domainIncludes",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://schema.org/rangeIncludes",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#definition",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#example",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2004/02/skos/core#note",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/2006/time#TemporalEntity",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/",
"@type" : [ "http://www.w3.org/2002/07/owl#Ontology" ],
"http://purl.org/dc/terms/created" : [ {
"@type" : "http://www.w3.org/2001/XMLSchema#date",
"@value" : "2017-04-17"
} ],
"http://purl.org/dc/terms/creator" : [ {
"@id" : "_:genid1"
} ],
"http://purl.org/dc/terms/description" : [ {
"@language" : "en",
"@value" : "This ontology is based on the SSN Ontology by the W3C Semantic Sensor Networks Incubator Group (SSN-XG), together with considerations from the W3C/OGC Spatial Data on the Web Working Group."
} ],
"http://purl.org/dc/terms/license" : [ {
"@id" : "http://www.opengeospatial.org/ogc/Software"
}, {
"@id" : "http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document"
} ],
"http://purl.org/dc/terms/rights" : [ {
"@value" : "Copyright 2017 W3C/OGC."
} ],
"http://purl.org/dc/terms/title" : [ {
"@language" : "en",
"@value" : "Sensor, Observation, Sample, and Actuator (SOSA) Ontology"
} ],
"http://purl.org/vocab/vann/preferredNamespacePrefix" : [ {
"@value" : "sosa"
} ],
"http://purl.org/vocab/vann/preferredNamespaceUri" : [ {
"@value" : "http://www.w3.org/ns/sosa/"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Arduino_UNO_R3'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Platform" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Arduino Uno R3"
} ],
"http://www.w3.org/ns/sosa/Owner" : [ {
"@value" : "04f5add581755fad29e698e053f2b923e5a15cc6bad9987bcb4dc79edb36cd54a732faae838841205461717391d0d198604d9d20a6a68b472339e1ff4874188d0a"
} ],
"http://www.w3.org/ns/sosa/hosts" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Sensor" ],
"http://purl.org/dc/terms/creator" : [ {
"@value" : "AOSONG"
} ],
"http://purl.org/dc/terms/description" : [ {
"@value" : "Measures the temperature and humidity of the surrounding air.\nWorks on 3.3 - 5.5 volts"
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "DHT11"
} ],
"http://www.w3.org/ns/sosa/Owner" : [ {
"@value" : "04f5add581755fad29e698e053f2b923e5a15cc6bad9987bcb4dc79edb36cd54a732faae838841205461717391d0d198604d9d20a6a68b472339e1ff4874188d0a"
} ],
"http://www.w3.org/ns/sosa/observes" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'"
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Office_Humidity'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/FeatureOfInterest" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Office_Humidity"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'Office_temperature'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/FeatureOfInterest" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Office_temperature"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_Humidity'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/ObservableProperty" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "air_Humidity"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/ObservableProperty" ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "air_temperature"
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The thing whose property is being estimated or calculated in the course of an Observation to arrive at a Result or whose property is being manipulated by an Actuator, or which is being sampled or transformed in an act of Sampling."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Feature Of Interest"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The thing whose property is being estimated or calculated in the course of an Observation to arrive at a Result or whose property is being manipulated by an Actuator, or which is being sampled or transformed in an act of Sampling."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "When measuring the height of a tree, the height is the observed ObservableProperty, 20m may be the Result of the Observation, and the tree is the FeatureOfInterest. A window is a FeatureOfInterest for an automatic window control Actuator."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "An observable quality (property, characteristic) of a FeatureOfInterest."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Observable Property"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "An observable quality (property, characteristic) of a FeatureOfInterest."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The height of a tree, the depth of a water body, or the temperature of a surface are examples of observable properties, while the value of a classic car is not (directly) observable but asserted."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Observation",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Act of carrying out an (Observation) Procedure to estimate or calculate a value of a property of a FeatureOfInterest. Links to a Sensor to describe what made the Observation and how; links to an ObservableProperty to describe what the result is an estimate of, and to a FeatureOfInterest to detail what that property was associated with."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Act of carrying out an (Observation) Procedure to estimate or calculate a value of a property of a FeatureOfInterest. Links to a Sensor to describe what made the Observation and how; links to an ObservableProperty to describe what the result is an estimate of, and to a FeatureOfInterest to detail what that property was associated with."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The activity of estimating the intensity of an Earthquake using the Mercalli intensity scale is an Observation as is measuring the moment magnitude, i.e., the energy released by said earthquake."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Owner",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Platform",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A Platform is an entity that hosts other entities, particularly Sensors, Actuators, Samplers, and other Platforms."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Platform"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A Platform is an entity that hosts other entities, particularly Sensors, Actuators, Samplers, and other Platforms."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "A post, buoy, vehicle, ship, aircraft, satellite, cell-phone, human or animal may act as platforms for (technical or biological) sensors or actuators."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/QuantityValue",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Result",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The Result of an Observation, Actuation, or act of Sampling. To store an observation's simple result value one can use the hasSimpleResult property."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Result"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The Result of an Observation, Actuation, or act of Sampling. To store an observation's simple result value one can use the hasSimpleResult property."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "The value 20 as the height of a certain tree together with the unit, e.g., Meter."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#subClassOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "Accelerometers, gyroscopes, barometers, magnetometers, and so forth are Sensors that are typically mounted on a modern smart phone (which acts as Platform). Other examples of sensors include the human eyes."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/actsOnProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Actuation and the property of a FeatureOfInterest it is acting upon."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "acts on property"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isActedOnBy"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Actuation and the property of a FeatureOfInterest it is acting upon."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "In the activity (Actuation) of automatically closing a window if the temperature in a room drops below 20 degrees Celsius, the property on which the Actuator acts upon is the state of the window as it changes from being open to being closed. "
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasFeatureOfInterest",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation between an Observation and the entity whose quality was observed, or between an Actuation and the entity whose property was modified, or between an act of Sampling and the entity that was sampled."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has feature of interest"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isFeatureOfInterestOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation between an Observation and the entity whose quality was observed, or between an Actuation and the entity whose property was modified, or between an act of Sampling and the entity that was sampled."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "For example, in an Observation of the weight of a person, the FeatureOfInterest is the person and the property is its weight."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasResult",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Result"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation or Actuation or act of Sampling and a Result or Sample."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has result"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isResultOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation or Actuation or act of Sampling and a Result or Sample."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasSample",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a FeatureOfInterest and the Sample used to represent it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has sample"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isSampleOf"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a FeatureOfInterest and the Sample used to represent it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hasSimpleResult",
"@type" : [ "http://www.w3.org/2002/07/owl#DatatypeProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The simple value of an Observation or Actuation or act of Sampling."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "has simple result"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The simple value of an Observation or Actuation or act of Sampling."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "For instance, the values 23 or true."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/hosts",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Platform and a Sensor, Actuator, Sampler, or Platform, hosted or mounted on it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "hosts"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/isHostedBy"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Platform and a Sensor, Actuator, Sampler, or Platform, hosted or mounted on it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isActedOnBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an ActuatableProperty of a FeatureOfInterest and an Actuation changing its state."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is acted on by"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an ActuatableProperty of a FeatureOfInterest and an Actuation changing its state."
} ],
"http://www.w3.org/2004/02/skos/core#example" : [ {
"@language" : "en",
"@value" : "In the activity (Actuation) of automatically closing a window if the temperature in a room drops below 20 degrees Celsius, the property on which the Actuator acts upon is the state of the window as it changes from being open to being closed. "
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isFeatureOfInterestOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation between a FeatureOfInterest and an Observation about it, an Actuation acting on it, or an act of Sampling that sampled it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is feature of interest of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation between a FeatureOfInterest and an Observation about it, an Actuation acting on it, or an act of Sampling that sampled it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isHostedBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
}, {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Platform"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor, Actuator, Sampler, or Platform, and the Platform that it is mounted on or hosted by."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is hosted by"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor, Actuator, Sampler, or Platform, and the Platform that it is mounted on or hosted by."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isObservedBy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an ObservableProperty and the Sensor able to observe it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is observed by"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/observes"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an ObservableProperty and the Sensor able to observe it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isResultOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Result"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking a Result to the Observation or Actuation or act of Sampling that created or caused it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is result of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking a Result to the Observation or Actuation or act of Sampling that created or caused it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/isSampleOf",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/FeatureOfInterest"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation from a Sample to the FeatureOfInterest that it is intended to be representative of."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "is sample of"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation from a Sample to the FeatureOfInterest that it is intended to be representative of."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeActuation",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Actuator and the Actuation it has made."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made actuation"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeByActuator"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Actuator and the Actuation it has made."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeByActuator",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Actuation to the Actuator that made that Actuation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by actuator"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Actuation to the Actuator that made that Actuation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeBySampler",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an act of Sampling to the Sampler (sampling device or entity) that made it."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by sampler"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeSampling"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an act of Sampling to the Sampler (sampling device or entity) that made it."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeBySensor",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between an Observation and the Sensor which made the Observation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made by sensor"
} ],
"http://www.w3.org/2002/07/owl#inverseOf" : [ {
"@id" : "http://www.w3.org/ns/sosa/madeObservation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between an Observation and the Sensor which made the Observation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeObservation",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an Observation made by the Sensor."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made observation"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an Observation made by the Sensor."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/madeSampling",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sampler (sampling device or entity) and the Sampling act it performed."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "made sampling"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sampler (sampling device or entity) and the Sampling act it performed."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/observedProperty",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation to the property that was observed. The ObservableProperty should be a property of the FeatureOfInterest (linked by hasFeatureOfInterest) of this Observation."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "observed property"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation linking an Observation to the property that was observed. The ObservableProperty should be a property of the FeatureOfInterest (linked by hasFeatureOfInterest) of this Observation."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/observes",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Sensor"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/ObservableProperty"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an ObservableProperty that it is capable of sensing."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "observes"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "Relation between a Sensor and an ObservableProperty that it is capable of sensing."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/phenomenonTime",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://schema.org/rangeIncludes" : [ {
"@id" : "http://www.w3.org/2006/time#TemporalEntity"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The time that the Result of an Observation, Actuation or Sampling applies to the FeatureOfInterest. Not necessarily the same as the resultTime. May be an Interval or an Instant, or some other compound TemporalEntity."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "phenomenon time"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The time that the Result of an Observation, Actuation or Sampling applies to the FeatureOfInterest. Not necessarily the same as the resultTime. May be an Interval or an Instant, or some other compound TemporalEntity."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/resultTime",
"@type" : [ "http://www.w3.org/2002/07/owl#DatatypeProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "The result time is the instant of time when the Observation, Actuation or Sampling activity was completed."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "result time"
} ],
"http://www.w3.org/2000/01/rdf-schema#range" : [ {
"@id" : "http://www.w3.org/2001/XMLSchema#dateTime"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "The result time is the instant of time when the Observation, Actuation or Sampling activity was completed."
} ]
}, {
"@id" : "http://www.w3.org/ns/sosa/usedProcedure",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://schema.org/domainIncludes" : [ {
"@id" : "http://www.w3.org/ns/sosa/Observation"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A relation to link to a re-usable Procedure used in making an Observation, an Actuation, or a Sample, typically through a Sensor, Actuator or Sampler."
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "used procedure"
} ],
"http://www.w3.org/2004/02/skos/core#definition" : [ {
"@language" : "en",
"@value" : "A relation to link to a re-usable Procedure used in making an Observation, an Actuation, or a Sample, typically through a Sensor, Actuator or Sampler."
} ]
}, {
"@id" : "http://xmlns.com/foaf/0.1/Agent",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
}, {
"@id" : "http://xmlns.com/foaf/0.1/name",
"@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ]
} ]

View file

@ -1,8 +0,0 @@
[ {
"@id" : "_:genid1",
"@type" : [ "http://xmlns.com/foaf/0.1/Agent" ],
"http://xmlns.com/foaf/0.1/name" : [ {
"@language" : "en",
"@value" : "W3C/OGC Spatial Data on the Web Working Group"
} ]
} ]

View file

@ -1,13 +0,0 @@
[ {
"@id" : "http://example.org/data/Observation/346344",
"@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://www.w3.org/ns/sosa/Observation" ],
"http://www.w3.org/ns/sosa/hasFeatureOfInterest" : [ {
"@id" : "http://www.w3.org/ns/sosa/'Office_temperature'"
} ],
"http://www.w3.org/ns/sosa/madeBySensor" : [ {
"@id" : "http://www.w3.org/ns/sosa/'DHT11'"
} ],
"http://www.w3.org/ns/sosa/observedProperty" : [ {
"@id" : "http://www.w3.org/ns/sosa/'air_temperature'"
} ]
}]

View file

@ -40,18 +40,14 @@ class Wallet {
return transaction; return transaction;
} }
createMetadata(Name,Geo ,IP_URL , Topic_Token, Permission, RequestDetail, OrgOwner, DepOwner, createMetadata(SSNmetadata, transactionPool){
PrsnOwner, PaymentPerKbyte, PaymentPerMinute, Protocol, MessageAttributes, Interval,
FurtherDetails, SSNmetadata, transactionPool){
//let metadata = transactionPool.existingMetadata(this.publicKey); //let metadata = transactionPool.existingMetadata(this.publicKey);
// if (metaData) { // if (metaData) {
// metadata.update(this, Geo, Std, Name,MetaHash,file); // metadata.update(this, Geo, Std, Name,MetaHash,file);
// } else {*/ // } else {*/
let metadata= Metadata.newMetadata(this, Name,Geo ,IP_URL , Topic_Token, Permission, let metadata= Metadata.newMetadata(this, SSNmetadata);
RequestDetail, OrgOwner, DepOwner,PrsnOwner, PaymentPerKbyte, PaymentPerMinute,
Protocol, MessageAttributes,Interval, FurtherDetails, SSNmetadata);
transactionPool.AddMetadata(metadata); transactionPool.AddMetadata(metadata);
//} //}
@ -66,7 +62,7 @@ class Wallet {
transactions.push(transaction); transactions.push(transaction);
})); }));
console.log("transactions of balance") console.log("transactions of balance")
console.log(transactions); console.log(transactions);
const PaymentTransactions = transactions[0]; const PaymentTransactions = transactions[0];
console.log("Payment transactions ") console.log("Payment transactions ")
console.log(PaymentTransactions); console.log(PaymentTransactions);

View file

@ -4,65 +4,66 @@ class Metadata {
constructor() { constructor() {
this.id = null; this.id = null;
this.Signiture = null; this.Signiture = null;
this.Name = null; // this.Name = null;
this.Geo = null; // this.Geo = null;
// this.GeospatialLocation = []; // this.GeospatialLocation = [];
// this.Owenership = null; // this.Owenership = null;
// this.Cost = null; // this.Cost = null;
// this.Identifications = null; // this.Identifications = null;
// this.Integration = null; // this.Integration = null;
this.IP_URL = null; // this.IP_URL = null;
this.Topic_Token = null; // this.Topic_Token = null;
this.Permission = null; // this.Permission = null;
this.RequestDetail = null; // this.RequestDetail = null;
this.OrgOwner = null; // this.OrgOwner = null;
this.DepOwner = null; // this.DepOwner = null;
this.PrsnOwner = null; // this.PrsnOwner = null;
this.MetaHash = null; // this.MetaHash = null;
this.PaymentPerKbyte = null; // this.PaymentPerKbyte = null;
this.PaymentPerMinute = null; // this.PaymentPerMinute = null;
this.Protocol = null; // this.Protocol = null;
this.MessageAttributes= {}; // this.MessageAttributes= {};
this.Interval = null; // this.Interval = null;
this.FurtherDetails = null; // this.FurtherDetails = null;
this.SSNmetadata = null; this.SSNmetadata = null;
} }
static MetadataOfIoTDevice(senderWallet, Name,Geo ,IP_URL , Topic_Token, Permission, RequestDetail, OrgOwner, DepOwner,PrsnOwner, PaymentPerKbyte, PaymentPerMinute, Protocol, MessageAttributes, Intrval, FurtherDetails, SSNmetadata) { static MetadataOfIoTDevice(senderWallet, SSNmetadata) {
const metadata = new this(); const metadata = new this();
metadata.id = ChainUtil.id(); metadata.id = ChainUtil.id();
metadata.Name = Name; // metadata.Name = Name;
metadata.Geo = Geo; // metadata.Geo = Geo;
metadata.IP_URL = IP_URL; // metadata.IP_URL = IP_URL;
metadata.Topic_Token = Topic_Token; // metadata.Topic_Token = Topic_Token;
metadata.Permission = Permission; // metadata.Permission = Permission;
metadata.RequestDetail = RequestDetail // metadata.RequestDetail = RequestDetail
metadata.OrgOwner = OrgOwner; // metadata.OrgOwner = OrgOwner;
metadata.DepOwner = DepOwner; // metadata.DepOwner = DepOwner;
metadata.PrsnOwner = PrsnOwner; // metadata.PrsnOwner = PrsnOwner;
metadata.PaymentPerKbyte = PaymentPerKbyte ; // metadata.PaymentPerKbyte = PaymentPerKbyte ;
metadata.PaymentPerMinute = PaymentPerMinute; // metadata.PaymentPerMinute = PaymentPerMinute;
metadata.Protocol = Protocol; // metadata.Protocol = Protocol;
metadata.MessageAttributes = MessageAttributes; // metadata.MessageAttributes = MessageAttributes;
// metadata.MessageAttributes['DeviceID'] = metadata.id; // metadata.MessageAttributes['DeviceID'] = metadata.id;
// metadata.MessageAttributes['DeviceName'] = Name; // metadata.MessageAttributes['DeviceName'] = Name;
// metadata.MessageAttributes['Sensors'] =[{"SensorName":"","Value":"" , "Unit":""}]; // metadata.MessageAttributes['Sensors'] =[{"SensorName":"","Value":"" , "Unit":""}];
// metadata.MessageAttributes['TimeStamp'] = ""; // metadata.MessageAttributes['TimeStamp'] = "";
metadata.Interval = Intrval;
metadata.FurtherDetails = FurtherDetails;
// metadata.Interval = Intrval;
// metadata.FurtherDetails = FurtherDetails;
metadata.SSNmetadata = SSNmetadata; metadata.SSNmetadata = SSNmetadata;
metadata.MetaHash = ChainUtil.hash(SSNmetadata); metadata.MetaHash = ChainUtil.hash(SSNmetadata);
Metadata.signMetadata(metadata, senderWallet); Metadata.signMetadata(metadata, senderWallet);
return metadata; return metadata;
} }
static newMetadata(senderWallet,Name,Geo ,IP_URL , Topic_Token, Permission, RequestDetail, static newMetadata(senderWallet,SSNmetadata){
OrgOwner, DepOwner,PrsnOwner, PaymentPerKbyte, PaymentPerMinute, Protocol, MessageAttributes, return Metadata.MetadataOfIoTDevice(senderWallet, SSNmetadata
Interval, FurtherDetails, SSNmetadata){
return Metadata.MetadataOfIoTDevice(senderWallet, Name,Geo ,IP_URL , Topic_Token, Permission,
RequestDetail, OrgOwner, DepOwner,PrsnOwner, PaymentPerKbyte, PaymentPerMinute, Protocol,
MessageAttributes, Interval, FurtherDetails, SSNmetadata
); );
} }