Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/smart meter addindex concepts #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 129 additions & 20 deletions src/main/ontop/1.0/ElectricPowerSystemOntology-1.0.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,17 @@ seas:subElectricPowerSystemOf a owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .


seas:hasSubElectricPowerSystem a owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "has sub electric power system"@en ;
rdfs:comment """Links an electric power system to its sub electric power systems.
The electricity of a super power system is sum to the electricity of its sub electric power system."""@en ;
rdfs:subPropertyOf seas:subSystemOf ;
rdfs:domain seas:ElectricPowerSystem ;
rdfs:range seas:ElectricPowerSystem ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .


## electrical connection

seas:ElectricalConnection a owl:Class ;
Expand Down Expand Up @@ -233,23 +244,23 @@ seas:ElectricPowerConsumer a owl:Class ;
rdfs:label "Electric Power Consumer"@en ;
rdfs:comment """An electric power consumer is an electric power system that is capable of consuming electricity."""@en ;
rdfs:subClassOf seas:ElectricPowerSystem ;
rdfs:subClassOf [ owl:onProperty seas:consumedElectricPower ; owl:someValuesFrom seas:Property ] ;
rdfs:subClassOf [ owl:onProperty seas:consumedElectricPower ; owl:someValuesFrom seas:ElectricPowerProperty ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:ElectricPowerProducer a owl:Class ;
rdfs:label "Electric Power Producer"@en ;
rdfs:comment """An electric power producer is an electric power system that is capable of producing electricity."""@en ;
rdfs:subClassOf seas:ElectricPowerSystem ;
rdfs:subClassOf [ owl:onProperty seas:producedElectricPower ; owl:someValuesFrom seas:Property ] ;
rdfs:subClassOf [ owl:onProperty seas:producedElectricPower ; owl:someValuesFrom seas:ElectricPowerProperty ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:ElectricPowerStorageSystem a owl:Class ;
rdfs:label "Electric Power Storage System"@en ;
rdfs:comment """An electric power storage system is an electric power system that is capable of storing electricity. Usually a battery, an electric vehicle, or a microgrid"""@en ;
rdfs:subClassOf seas:ElectricPowerSystem ;
rdfs:subClassOf [ owl:onProperty seas:storageElectricPower ; owl:someValuesFrom seas:Property ] ;
rdfs:subClassOf [ owl:onProperty seas:storageElectricPower ; owl:someValuesFrom seas:ElectricPowerProperty ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

Expand All @@ -262,27 +273,129 @@ seas:ElectricPowerTransmissionSystem a owl:Class ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .


seas:ElectricPowerLine a owl:Class ;
rdfs:label "Electric Power Line"@en ;
rdfs:comment """An electric power line is an electric transmission system that is capable of transmitting electricity on a certain distance within an electric power network.

An electric power line must be connected to two power connections, although this requirement cannot be modeled using OWL axioms if we want to remain in a decidable fragment."""@en ;
An electric power line must be connected to two power connections, although this requirement cannot be modeled using OWL axioms if we want to remain in a decidable fragment."""@en, """
En electric power line may be composed by many electric cables which can a mixe of overhead, underground or facade cables"""@en ;
rdfs:subClassOf seas:ElectricPowerTransmissionSystem ;
rdfs:subClassOf [ owl:onProperty seas:length ; owl:someValuesFrom seas:Property ] ;
rdfs:subClassOf [ owl:onProperty seas:temperature ; owl:someValuesFrom seas:Property ] ;
rdfs:subClassOf [ owl:onProperty seas:electricResistance ; owl:someValuesFrom seas:Property ] ;
rdfs:subClassOf [ owl:onProperty seas:electricReactance ; owl:someValuesFrom seas:Property ] ;
rdfs:subClassOf [ owl:onProperty seas:electricSusceptance ; owl:someValuesFrom seas:Property ] ;
rdfs:subClassOf [ owl:onProperty seas:length ; owl:someValuesFrom seas:LengthProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:temperature ; owl:someValuesFrom seas:TemperatureProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:electricResistance ; owl:someValuesFrom seas:ElectricResistanceProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:electricReactance ; owl:someValuesFrom seas:ElectricReactanceProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:electricSusceptance ; owl:someValuesFrom seas:ElectricSusceptanceProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:failure ; owl:someValuesFrom seas:Property ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:length a owl:ObjectProperty , owl:FunctionalProperty;
rdfs:label "length"@en ;
rdfs:comment """The lenght of the feature of interest"""@en ;
rdfs:subPropertyOf seas:hasProperty ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .
# ElectricPowerLine may be composed of a succession of electric cable !
seas:ElectricCable a owl:Class ;
rdfs:label "Electric Cable"@en ;
rdfs:comment """An electric cable is an assembly of one or more wires running side by side or bundled, which is used to carry electric current. (source:wikipedia)
An Electric Cable may be sub system of Electric Power Line which may be formed by a sucessive Electric cable"""@en ;
rdfs:subClassOf seas:ElectricPowerSystem ;
rdfs:subClassOf [ owl:onProperty seas:length ; owl:someValuesFrom seas:LengthProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:temperature ; owl:someValuesFrom seas:TemperatureProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:electricResistance ; owl:someValuesFrom seas:ElectricResistanceProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:electricReactance ; owl:someValuesFrom seas:ElectricReactanceProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:electricSusceptance ; owl:someValuesFrom seas:ElectricSusceptanceProperty ] ;
rdfs:subClassOf [ owl:onProperty seas:failure ; owl:someValuesFrom seas:Property ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .


seas:OverheadCable a owl:Class ;
rdfs:label "Overhead Cable"@en ;
rdfs:comment """An overhead cable is a cable which is suspended in the air, between utility poles or electricity pylons."""@en ;
rdfs:subClassOf seas:ElectricCable ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:UnderGroundCable a owl:Class ;
rdfs:label "Underground Cable"@en ;
rdfs:comment """An underground cable is a cable which is burned in the ground."""@en ;
rdfs:subClassOf seas:ElectricCable ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:FacadeCable a owl:Class ;
rdfs:label "Facade Cable"@en ;
rdfs:comment """A Facade cable is a cable which put along with a building and facade."""@en ;
rdfs:subClassOf seas:ElectricCable ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .


seas:LowVoltageElectricPowerLine a owl:Class ;
rdfs:label "Low Voltage Electric Power Line"@en ;
rdfs:comment """Low Voltage Electric Power Line is an Electric Power Line which is less than 1000 volts, used for connection
between a residential or small commercial customer and the utility. (source:wikipedia)"""@en ;
rdfs:subClassOf seas:ElectricPowerLine ;
rdfs:subClassOf [ owl:onProperty seas:voltage ; owl:someValuesFrom seas:LowVoltage ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:MediumVoltageElectricPowerLine a owl:Class ;
rdfs:label "Medium Voltage Electric Power Line"@en ;
rdfs:comment """Low Voltage Electric Power Line is an Electric Power Line which is between 1000 volts (1 kV) and 69 kV,
used for distribution in urban and rural areas.(source:wikipedia)"""@en ;
rdfs:subClassOf seas:ElectricPowerLine ;
rdfs:subClassOf [ owl:onProperty seas:voltage ; owl:someValuesFrom seas:MediumVoltage ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:HighVoltageElectricElectricPowerLine a owl:Class ;
rdfs:label "High Voltage Electric Power Line"@en ;
rdfs:comment """High Voltage Electric Power Line is an Electric Power Line which is less than 100 kV; subtransmission or transmission at voltages such as 115 kV and 138 kV),
used for sub-transmission and transmission of bulk quantities of electric power and connection to very large consumers.(source:wikipedia)"""@en ;
rdfs:subClassOf seas:ElectricPowerLine ;
rdfs:subClassOf [ owl:onProperty seas:voltage ; owl:someValuesFrom seas:HighVoltage ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:ExtraHighVoltageElectricPowerLine a owl:Class ;
rdfs:label "Extra High Voltage Electric Power Line"@en ;
rdfs:comment """High Voltage Electric Power Line is an Electric Power Line which is over 230 kV, up to about 800 kV, used for long distance, very high power transmission.(source:wikipedia)"""@en ;
rdfs:subClassOf seas:ElectricPowerLine ;
rdfs:subClassOf [ owl:onProperty seas:voltage ; owl:someValuesFrom seas:ExtraHighVoltage ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .


seas:ElectricPowerSubStation a owl:Class;
rdfs:label "Electric Power Substation"@en ;
rdfs:comment """An Electrical power substation is an Electric Power System which is a subsystem of an electrical generation, transmission, and distribution system.
Substations transform voltage from high to low, or the reverse, or perform any of several other important functions. Between the generating station and consumer, electric power may flow
through several substations at different voltage levels. A substation may include transformers to change voltage levels between high transmission voltages and lower distribution voltages,
or at the interconnection of two different transmission voltages.(source:wikipedia)"""@en ;
rdfs:subClassOf seas:ElectricPowerSystem ;
rdfs:subClassOf [ owl:onProperty seas:hasSubElectricPowerSystem ; owl:someValuesFrom seas:ElectricPowerTransformer ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .


seas:ElectricPowerTransmissionSubStation a owl:Class;
rdfs:label "Electrical Power Transmission Substation"@en ;
rdfs:comment """A transmission substation' connects two or more transmission lines. The simplest case is where all transmission
lines have the same voltage. In such cases, substation contains high-voltage switches that allow lines to be connected
or isolated for fault clearance or maintenance. A transmission station may have transformers to convert between two
transmission voltages, voltage control/power factor correction devices such as capacitors, reactors or static VAR
compensators and equipment such as phase shifting transformers to control power flow between two adjacent power systems.(source:wikipedia)"""@en ;
rdfs:subClassOf seas:ElectricalSubStation, seas:ElectricPowerTransmissionSystem ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:ElectricPowerDistributionSubStation a owl:Class;
rdfs:label "Electrical Power Distribution Substation"@en ;
rdfs:comment """A distribution substation transfers power from the transmission system to the distribution system of an area.[2]
It is uneconomical to directly connect electricity consumers to the main transmission network, unless they use large
amounts of power, so the distribution station reduces voltage to a level suitable for local distribution.(source:wikipedia)"""@en ;
rdfs:subClassOf seas:ElectricalSubStation, seas:ElectricPowerTransmissionSystem;
rdfs:subClassOf [ owl:onProperty seas:hasSubElectricPowerSystem ; owl:someValuesFrom seas:ElectricPowerTransformer ] ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .

seas:ElectricPowerTransformer a owl:Class ;
rdfs:label "Electric Power Transformer"@en ;
Expand Down Expand Up @@ -1970,18 +2083,14 @@ seas:OverheadElectricPowerDistributionNetwork a owl:Class;
rdfs:subClassOf seas:ElectricPowerDistributionNetwork ;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .
## reseau connal
## reseau facade
seas:FacadeElectricPowerDistributionNetwork a owl:Class;
rdfs:label "Facade Electric Power Distribution Network"@en ;
rdfs:comment """A Facade Electric Power DistributionNetwork is an ElectricPowerDistributionNetwork which is hanging along a facade."""@en ;
rdfs:subClassOf seas:ElectricPowerDistributionNetwork;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:ElectricPowerSystemOntology .





seas:PowerBox a owl:Class;
rdfs:label "Power box"@en ;
rdfs:comment """A power box (USA) or feeder pillar (UK) is a cabinet for electrical equipment,
Expand Down
51 changes: 44 additions & 7 deletions src/main/ontop/1.0/SmartMeterOntology-1.1.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,7 @@ seas:Meter a owl:Class;
vs:term_status "testing" ;
rdfs:isDefinedBy seas:SmartMeterOntology .

seas:hasInstallationDate a owl:DatatypeProperty ;
rdfs:label "has installation date"@en; # rdfs:comment "link the smartMeter to the installation installation. "@en;
rdfs:domain seas:SmartMeter;
rdfs:range xsd:dateTime;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology .


seas:WaterMeter a owl:Class ;
rdfs:label "Water Meter"@en ;
Expand Down Expand Up @@ -361,7 +356,7 @@ seas:MeteringExecution a owl:Class ;
rdfs:comment """A Water Volume Metering Execution is the execution of some Water Volume Metering implemented by some Water Meter."""@en ;
rdfs:subClassOf seas:MeteringExecution ;
rdfs:subClassOf [ a owl:Restriction ; owl:onProperty pep:madeBy ; owl:someValuesFrom seas:WaterMeter ] ;
rdfs:subClassOf [ a owl:Restriction ; owl:onProperty pep:usedProcedure ; owl:someValuesFrom seas:WaterVolumeMetering ] ;
rdfs:subClassOf [ a owl:Restriction ; owl:onProperty pep:a ; owl:someValuesFrom seas:WaterVolumeMetering ] ;
rdfs:subClassOf [ a owl:Restriction ; owl:onProperty seas:measuresProperty ; owl:someValuesFrom seas:WaterVolumeProperty ] ;
owl:equivalentClass [ a owl:Restriction ; owl:onProperty pep:usedProcedure ; owl:someValuesFrom seas:WaterVolumeMetering ] ;
vs:term_status "testing" ;
Expand Down Expand Up @@ -572,6 +567,23 @@ seas:MeterIndexProperty a owl:Class;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology.

seas:FullHoursMeterIndexProperty a owl:Class;
rdfs:label "Full Hours Meter Index Property"@en;
rdfs:comment "The full hours Meter index property is a property which is inherent in the Index of the Meter.
That index indicats the consumption during the full hours schedule."@en;
rdfs:subClassOf seas:MeterIndexProperty;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology.

seas:OffHoursMeterIndexProperty a owl:Class;
rdfs:label "Off Hours Meter Index Property"@en;
rdfs:comment "The off hours Meter index property is a property which is inherent in the Index of the Meter.
That index indicats the consumption during the full hours schedule."@en;
rdfs:subClassOf seas:MeterIndexProperty;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology.


seas:meterIndex a owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:label "meter index"@en;
rdfs:comment "Links the meter to its index property."@en;
Expand All @@ -581,6 +593,24 @@ seas:MeterIndexProperty a owl:Class;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology .

seas:fullHoursMeterIndex a owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:label "full hours meter index"@en;
rdfs:comment "Links the meter to its full hours index property."@en;
rdfs:subPropertyOf seas:meterIndex;
rdfs:domain seas:Meter;
rdfs:range seas:FullHoursMeterIndexProperty;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology .

seas:offHoursMeterIndex a owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:label "off hours meter index"@en;
rdfs:comment "Links the meter to its off hours index property."@en;
rdfs:subPropertyOf seas:meterIndex;
rdfs:domain seas:Meter;
rdfs:range seas:OffHoursMeterIndexProperty;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology .

seas:MeterIndexEvaluation a owl:Class ;
rdfs:label "Meter Index Evaluation"@en ;
rdfs:comment "The class of evaluations for meter index properties."@en ;
Expand All @@ -596,3 +626,10 @@ seas:MeterIndexProperty a owl:Class;
rdfs:subClassOf seas:MeterIndexEvaluation;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology.

seas:hasInstallationDate a owl:DatatypeProperty ;
rdfs:label "has installation date"@en; # rdfs:comment "link the smartMeter to the installation installation. "@en;
rdfs:domain seas:SmartMeter;
rdfs:range xsd:dateTime;
vs:term_status "unstable" ;
rdfs:isDefinedBy seas:SmartMeterOntology .