Skip to content

Commit

Permalink
Update User Context
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed May 30, 2024
1 parent 27ceaa5 commit 158c7ad
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 32 deletions.
155 changes: 148 additions & 7 deletions data-models/alternate-context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"aktuator": "https://w3id.org/saref#actuator",
"zusätzlicherName": "schema:additionalName",
"adresse": "schema:address",
"addressCountry": "schema:addressCountry",
"addressLocality": "schema:addressLocality",
"addressRegion": "schema:addressRegion",
"airPollution": "https://w3id.org/saref#airPollution",
"atmosphericPressure": "https://w3id.org/saref#atmosphericPressure",
"scheune": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dbarn",
Expand Down Expand Up @@ -91,7 +94,7 @@
"öffnungszeiten": "fiware:openingHours",
"osVersion": "fiware:osVersion",
"inhaber": "fiware:owner",

"postalCode": "schema:postalCode",
"niederschlag": "https://w3id.org/saref#precipitation",
"druck": "https://w3id.org/saref#pressure",
"anbieter": "fiware:provider",
Expand Down Expand Up @@ -135,10 +138,148 @@

"spezies": "fiware:species",
"sex": "fiware:sex",
"rechtlicheIdentität": "fiware:legalID",

"InventoryArtikel" : "fiware:InventoryItem",
"Produkt" : "fiware:Product",
"Regal" : "fiware:Shelf"
}
"rechtlicheIdentität": "fiware:legalID"
},
"@graph": [
{
"@id": "fiware:Building",
"@type": "rdfs:Class",
"rdfs:comment": [
{
"@language": "en",
"@value": ""
}
],
"rdfs:label": [
{
"@language": "en",
"@value": "Building"
}
],
"rdfs:subClassOf": {
"@id": "schema:Thing"
}
},
{
"@id": "fiware:TemperatureSensor",
"@type": "rdfs:Class",
"rdfs:comment": [
{
"@language": "en",
"@value": "A device that consists of a sensor, has category `saref:Sensor` and is used for the purpose of sensing temperature`."
}
],
"rdfs:label": [
{
"@language": "en",
"@value": "TemperatureSensor"
}
],
"rdfs:subClassOf": {
"@id": "schema:Thing"
}
},
{
"@id": "fiware:FillingLevelSensor",
"@type": "rdfs:Class",
"rdfs:comment": [
{
"@language": "en",
"@value": "A device that consists of a sensor, has category `saref:Sensor` and is used for the purpose of sensing filling Level."
}
],
"rdfs:label": [
{
"@language": "en",
"@value": "FillingLevelSensor"
}
],
"rdfs:subClassOf": {
"@id": "schema:Thing"
}
},
{
"@id": "fiware:Person",
"@type": "rdfs:Class",
"rdfs:comment": [
{
"@language": "en",
"@value": ""
}
],
"rdfs:label": [
{
"@language": "en",
"@value": "Person"
}
],
"rdfs:subClassOf": {
"@id": "schema:Thing"
}
},
{
"@id": "fiware:temperature",
"@type": "ngsi-ld:Property",
"rdfs:comment": [
{
"@language": "en",
"@value": "Property related to some measurements that are characterized by a certain value that is measured in a temperature unit (degree_Celsius, degree_Fahrenheit, or degree_kelvin)"
}
],
"rdfs:label": [
{
"@language": "en",
"@value": "temperature"
}
]
},
{
"@id": "fiware:fillingLevel",
"@type": "ngsi-ld:Property",
"rdfs:comment": [
{
"@language": "en",
"@value": "Property related to some measurements that are characterized by a certain value that is a filling level."
}
],
"rdfs:label": [
{
"@language": "en",
"@value": "fillingLevel"
}
]
},
{
"@id": "fiware:temperature",
"@type": "ngsi-ld:Property",
"rdfs:comment": [
{
"@language": "en",
"@value": "Property related to some measurements that are characterized by a certain value that is measured in a temperature unit (degree_Celsius, degree_Fahrenheit, or degree_kelvin)"
}
],
"rdfs:label": [
{
"@language": "en",
"@value": "temperature"
}
]
},
{
"@id": "fiware:fillingLevel",
"@type": "ngsi-ld:Property",
"rdfs:comment": [
{
"@language": "en",
"@value": "Property related to some measurements that are characterized by a certain value that is a filling level."
}
],
"rdfs:label": [
{
"@language": "en",
"@value": "fillingLevel"
}
]
}
]
}
40 changes: 22 additions & 18 deletions data-models/json-context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@
"Water": "tutorial:Water",
"actuator": "https://w3id.org/saref#actuator",
"additionalName": {
"@id": "schema:additionalName",
"@id": "https://schema.org/additionalName",
"@type": "xsd:string"
},
"address": "schema:address",
"addressCountry": "schema:addressCountry",
"addressLocality": "schema:addressLocality",
"addressRegion": "schema:addressRegion",
"airPollution": "https://w3id.org/saref#airPollution",
"atmosphericPressure": "https://w3id.org/saref#atmosphericPressure",
"barn": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dbarn",
Expand Down Expand Up @@ -102,18 +105,18 @@
"digester": "https://wiki.openstreetmap.org/wiki/Tag:building%3Ddigester",
"eatingActivity": "https://w3id.org/saref#eatingActivity",
"email": {
"@id": "schema:email",
"@id": "https://schema.org/email",
"@type": "xsd:string"
},
"endgun": "https://w3id.org/saref#endgun",
"familyName": {
"@id": "schema:familyName",
"@id": "https://schema.org/familyName",
"@type": "xsd:string"
},
"farm": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dfarm",
"farm_auxiliary": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dfarm_auxiliary",
"faxNumber": {
"@id": "schema:faxNumber",
"@id": "https://schema.org/faxNumber",
"@type": "xsd:string"
},
"filling": "https://w3id.org/saref#fillingLevel",
Expand All @@ -130,11 +133,11 @@
"@type": "xsd:integer"
},
"gender": {
"@id": "schema:gender",
"@id": "https://schema.org/gender",
"@type": "@vocab"
},
"givenName": {
"@id": "schema:givenName",
"@id": "https://schema.org/givenName",
"@type": "xsd:string"
},
"greenhouse": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dgreenhouse",
Expand All @@ -144,11 +147,11 @@
"@type": "xsd:string"
},
"honorificPrefix": {
"@id": "schema:honorificPrefix",
"@id": "https://schema.org/honorificPrefix",
"@type": "xsd:string"
},
"honorificSuffix": {
"@id": "schema:honorificSuffix",
"@id": "https://schema.org/honorificSuffix",
"@type": "xsd:string"
},
"humidity": "https://w3id.org/saref#humidity",
Expand All @@ -161,11 +164,11 @@
"irrSection": "https://w3id.org/saref#irrSection",
"irrSystem": "https://w3id.org/saref#irrSystem",
"isicV4": {
"@id": "schema:isicV4",
"@id": "https://schema.org/isicV4",
"@type": "xsd:string"
},
"jobTitle": {
"@id": "schema:jobTitle",
"@id": "https://schema.org/jobTitle",
"@type": "xsd:string"
},
"location": "https://w3id.org/saref#location",
Expand All @@ -187,7 +190,7 @@
"movementActivity": "https://w3id.org/saref#movementActivity",
"multimedia": "https://w3id.org/saref#multimedia",
"name": {
"@id": "schema:name", "@type": "xsd:string"
"@id": "https://schema.org/name", "@type": "xsd:string"
},
"network": "https://w3id.org/saref#network",
"occupancy": "https://w3id.org/saref#occupancy",
Expand All @@ -207,6 +210,7 @@
"@id": "fiware:owner",
"@type": "@id"
},
"postalCode": "schema:postalCode",
"precipitation": "https://w3id.org/saref#precipitation",
"pressure": "https://w3id.org/saref#pressure",
"provider": {
Expand Down Expand Up @@ -249,11 +253,11 @@
"@type": "@vocab"
},
"taxID": {
"@id": "schema:taxID",
"@id": "https://schema.org/taxID",
"@type": "xsd:string"
},
"telephone": {
"@id": "schema:telephone",
"@id": "https://schema.org/telephone",
"@type": "xsd:string"
},
"temperature": "https://w3id.org/saref#temperature",
Expand All @@ -263,7 +267,7 @@
"@type": "xsd:string"
},
"vatID": {
"@id": "schema:vatID",
"@id": "https://schema.org/vatID",
"@type": "xsd:string"
},
"waterConsumption": "https://w3id.org/saref#waterConsumption",
Expand Down Expand Up @@ -312,7 +316,7 @@
}
],
"rdfs:subClassOf": {
"@id": "schema:Thing"
"@id": "https://schema.org/Thing"
}
},
{
Expand All @@ -331,7 +335,7 @@
}
],
"rdfs:subClassOf": {
"@id": "schema:Thing"
"@id": "https://schema.org/Thing"
}
},
{
Expand All @@ -350,7 +354,7 @@
}
],
"rdfs:subClassOf": {
"@id": "schema:Thing"
"@id": "https://schema.org/Thing"
}
},
{
Expand All @@ -369,7 +373,7 @@
}
],
"rdfs:subClassOf": {
"@id": "schema:Thing"
"@id": "https://schema.org/Thing"
}
},
{
Expand Down
14 changes: 7 additions & 7 deletions data-models/ngsi-context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fiware": "https://uri.fiware.org/ns/dataModels#",
"schema": "https://schema.org/",
"tutorial": "https://ngsi-ld-tutorials.readthedocs.io/en/latest/datamodels.html#",
"Building": "fiware:Building",
"Building": "https://uri.fiware.org/ns/dataModels#Building",
"Device": "fiware:Device",
"Animal": "fiware:Animal",
"Female": "schema:Female",
Expand All @@ -24,6 +24,9 @@
"actuator": "https://w3id.org/saref#actuator",
"additionalName": "schema:additionalName",
"address": "schema:address",
"addressCountry": "schema:addressCountry",
"addressLocality": "schema:addressLocality",
"addressRegion": "schema:addressRegion",
"airPollution": "https://w3id.org/saref#airPollution",
"atmosphericPressure": "https://w3id.org/saref#atmosphericPressure",
"barn": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dbarn",
Expand Down Expand Up @@ -90,6 +93,7 @@
"openingHours": "fiware:openingHours",
"osVersion": "fiware:osVersion",
"owner": "fiware:owner",
"postalCode": "schema:postalCode",
"precipitation": "https://w3id.org/saref#precipitation",
"pressure": "https://w3id.org/saref#pressure",
"providedBy": "fiware:providedBy",
Expand All @@ -106,6 +110,7 @@
"solarRadiation": "https://w3id.org/saref#solarRadiation",
"source": "fiware:source",
"stable": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dstable",
"streetAddress": "schema:streetAddress",
"sty": "https://wiki.openstreetmap.org/wiki/Tag:building%3Dsty",
"supportedProtocol": "fiware:supportedProtocol",
"taxID": "schema:taxID",
Expand Down Expand Up @@ -133,11 +138,6 @@
"verified": "fiware:verified",
"species": "fiware:species",
"sex": "fiware:sex",
"legalID": "fiware:legalID",


"InventoryItem" : "fiware:InventoryItem",
"Product" : "fiware:Product",
"Shelf" : "fiware:Shelf"
"legalID": "fiware:legalID"
}
}

0 comments on commit 158c7ad

Please sign in to comment.