bonsamurais / exiobase-conversion-software Goto Github PK
View Code? Open in Web Editor NEWChoice of the EXIOBASE version and conversion to RDF.
License: BSD 3-Clause "New" or "Revised" License
Choice of the EXIOBASE version and conversion to RDF.
License: BSD 3-Clause "New" or "Revised" License
See also BONSAMURAIS/rdf#15
Everything that will be deployed in the
http://rdf.bonsai.uno/data/
e.g.,
http://rdf.bonsai.uno/data/exiobase3_3_17/hsup
space needs to use the /
scheme instead
This means that
<http://rdf.bonsai.uno/data/exiobase3_3_17/huse#F_1111694>
needs to become
<http://rdf.bonsai.uno/data/exiobase3_3_17/huse/F_1111694>
instead
Right now the readme is not clear on how toget the original data from
https://www.exiobase.eu/index.php/data-download/exiobase3hyb/
Each Flow is currently (and correctly) making use of the Unit of Measure Ontology with a hasUnit relation to a measure. The object of these triples is however not correct. Currently the object is a URI to a units-of-measure resource, example (http://www.ontology-of-units-of-measure.org/resource/om-2/tonne), but we have already defined the measures we use in the named graph unit.ttl
, which we should instead use.
The project is dependent on the python package xlrd, as it is used by pandas to load xlsx files.
This dependency should be added to the requirements file.
Here column 4 in the CSV is not used ever, this is not a problem for the SUPPLY, but it is for the USE.
Also see example in
BONSAMURAIS/rdf#4
Input form RDF package group needed
Dear all,
Not quite sure if this is your preferred channel to discuss Agenda points. If not, please delete and let me know where to post.
Anyway, regarding the agenda point
"Write parsers for EXIOBASE format to RDF":
Happy to include a RDF export functionality to pymrio (https://github.com/konstantinstadler/pymrio). This would allow to generalize the BONSAI DB for any mrio.
Connected to that: I checked the tutorials for Leontief inversion and I see that you plan the EXIOBASE HIOT tables. Currently, I do not have a parser for the hybrid tables in pymrio, but if the format is stable I can work on that.
best
kst
The code should be refactored to follow the skeleton
https://github.com/BONSAMURAIS/python-skeleton
We were facing a challenge in detecting the determining product flow as theoretically these could be picked up from diagnol of the Supply tables. However, given that Exiobase is non- square i.e. 200 pdts x 164 activities, it is not that trivial to identify the determining flow directly.
Hence we have the following solution:
We use a separate basic correspondence vector of determining products and the activities that helps us translate the information correctly into RDF
Another method could be to square the Supply and Use tables before converting them to RDF. This was already done in the Mojo repository . Here the product flows are aggregated and the exclusive by-products are placed in a global market. This is useful to build the computational structure (A/Z matrix) but aggregating product flows also leads to loss of information.
Would like feedback
EXIOBASE has the following extensions:
In addition, there are separate supply and use tables for 19 categories of waste/materials for the following:
Please provide your input on what is needed for a) a minimum viable product, and b) the final input of EXIOBASE into BONSAI. Each additional dataset represents a nontrivial burden to a group already stretched thin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.