-
Notifications
You must be signed in to change notification settings - Fork 23
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
There is a conversion problem with the oeo-full.owl file #1424
Comments
I noticed it is something to do with instance types: <rdf:type>
<owl:Restriction>
<owl:onProperty rdf:resource="http://openenergy-platform.org/ontology/oeo/OEO_00010232"/>
<owl:someValuesFrom rdf:resource="http://openenergy-platform.org/ontology/oeo/OEO_00010227"/>
</owl:Restriction>
</rdf:type>
<rdf:type>
<owl:Restriction>
<owl:onProperty rdf:resource="http://openenergy-platform.org/ontology/oeo/OEO_00010232"/>
<owl:someValuesFrom rdf:resource="http://openenergy-platform.org/ontology/oeo/OEO_00010227"/>
</owl:Restriction>
</rdf:type> |
This happens to |
Since this seems to be allowed by Robot in Manchester Syntax, i suspect this is a robot bug. |
Before changing anything, we should check whether oeo-full.owl is created correctly. |
What I have already tried is take oeo-social, where these instances are being defined and convert it to owl from protégé. Then I try to convert it back to omn with robot and I get the same error. So either, Protégé allows this axiom and it is illegal or the axiom is legal but robot is not able to parse it from an owl file. |
I have been reading #858 and the implementation at #967 I think the issue has to be repoened. My first idea of a solution was to do this:
But everything broke apart when I tried to do the natural next step which is instantiating the memos themselves, which did not make sense from the context provided in the issue.
The importance of the memo item arises when the sectors are being used in something like national inventory reports where some information associated to the sector is being accounted. In this context you can say that some quantity value reported is just extra information not being accounted towards some total value (Like CO2 emissions). For example in: https://www.eea.europa.eu/data-and-maps/data/national-emissions-reported-to-the-unfccc-and-to-the-eu-greenhouse-gas-monitoring-mechanism-18 |
Here is an idea: Create two new sub-properties of
This makes sense because the sector being accounted or not is dependant on the framework that defines it in the first place. Also |
Class expressions are not in the range of rdf:type. Quoting the RDF Schema 1.1 reference:
But the definitive confirmation of no quantifiers in type axioms to me is the bold part of this quote of the Owl2 Syntax Reference:
|
We should discuss this issue in one of the next oeo dev meetings. |
Status from todays OEODEV: We need support from @OpenEnergyPlatform/oeo-general-expert-formal-ontology to formulate a definitive answer |
This is no longer an issue in 1.14.0 |
Description of the issue
I just noticed there is a problem with the oeo-full.owl file. Apparently some axioms are not being converted properly making it not possible to parse the ontology with robot. The file seems to be working fine with Protégé. Here is an example command:
Ideas of solution
Probably one has to take a look at the make scriptsRemove all quantifiers from individual type axioms
has memo item
property part of a subclass ofsector
which is instantiated by all its users.sector with memo
?Effort sharing regulation
into a subclass ofeffort sharing
with axiomuses
Annual Emission Allocation`policy instrument
with axiomuses
someAllowance
and instantiateEuropean Union Emission Trading System
from that.Workflow checklist
The text was updated successfully, but these errors were encountered: