Giter Site home page Giter Site logo

reconciliation-api's Introduction

Reconciliation APIs

Note: there is a publicly hosted instance of this running at https://reconciliation.brickschema.org/reconcile . You can input that URL directly into OpenRefine

This holds Reconciliation API implementations (compliant to https://reconciliation-api.github.io/specs/0.1/) for use with OpenRefine and other software supporting the reconciliation API standard.

This Reconciliation API implementation enables the inference of Brick equipment and point classes from unstructured BMS labels. If you want to learn how to use this tool to create Brick models, check out our tutorial video.

How to Install Reconciliation Server

You will only need to set this up once before you can use the Reconciliatio nserver

  1. Make sure you have an OpenRefine server running
  2. Make sure you have Python 3 (at least version 3.6) installed
  3. Set up virtual environment and install dependencies for the reconciliation server:
    1. Navigate to the reconciliation-apis directory in your terminal
    2. Run python3 -m venv venv (creates virtual environment) (only need to do this once)
    3. Run source venv/bin/activate (activates virtual environment)
    4. Run pip install -r requirements.txt (installs dependencies) (only need to do this once)
  4. Run the server: python3 app.py:
    • If you need to stop/restart the server, remember to activate the virtual environment before running this command
  5. From the OpenRefine web interface (link here), open up a CSV file as you would normally, and use the drop down menu for any column to select "Reconcile" and then "Start Reconciling" Selecting the "Start Reconciling" button
  6. This should have opened a new modal window. Select "Add Standard Service" in the lower left corner of this window and enter http://localhost:5000/reconcile into the text box. This address is produced by the default address of the reconciliation server (open app.py to change the port) followed by the /reconcile path, which is the endpoint that supports the reconciliation API. This should now appear as the "Brick Reconciliation Service" in the modal.
  7. Use the "Brick Reconciliation Service" as suggested in the YouTube tutorial

reconciliation-api's People

Contributors

advitya17 avatar gtfierro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

reconciliation-api's Issues

Support Brick v1.2

Hi @gtfierro, can I configure the server to make the reconcile services using Brick version 1.2 ? Since my iBMS point have some condenser sensor which only included in version 1.2, thanks!

Missing rdf namespace

Hi @gtfierro, when I use make.py to convert, the ttl file are missing rdf namespace even I put it in template txt, the output ttl file only have brick and building namespace.

How to make a better guess about Brick Class by changing abbreviation mapping

Hello,
When I try to convert the CSV to brick model, I found that there have different accuracy if I split the column into a different number of column, for example:

Some metadata split into 1 column can make a better guess
image
Some metadata split into 2 columns can make a better guess
image

I am thinking it may be the abbreviation mapping does not contain the data about "AUTO" in image 2, so I am trying to expand the abbreviation mapping in abbrmap.py.
If I want to add some data on it to make a better guess about Brick Class by changing abbreviation mapping
What should I do and anythings or rules I need to pay attention to?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.