A4 ESILV - WEB DATAMINING AND SEMANTICS
Amar Merwan CHELOUAH - Kévin CELIE - Mariyam CHEICK ISMAIL
As the project is hosted in a web server, just click in the link.
It takes some time, so don't worry, and wait few minutes :)
Once the web page is loaded, you can either choose to use your location or not. Then, you will be able to see all stations.
For development purposes, we have decided to limit our main query to 500 results.
You can click on the left panel where there are all the results. It will show you the selected car station.
You can also filter by type of car: either thermic or electric. And also, you can enter a zipcode in the search bar.
There is nothing to install as everything is online.
If you want to have a copy of the code, you can :
- Fork this repo
OR
- Clone this repo :
git clone https://github.com/m-cheicki/WEBSEM_car_station.git
- In the shell, go into the repository using
cd PATH_TO_REPO
- Install necessery packages by running the following command in the shell
pip install -r requirements.txt
- Open
server.py
file in your favorite code editor/IDE - Go at the end of the file, uncomment the two last lines in order to have :
if __name__ == '__main__':
app.run(port="5000", debug=True)
- Run the server by typing
python server.py
- Open a web browser like Chrome and go to this URL: http://localhost:5000/
- Wait few seconds, and here you are! The app is loading
NOTE : As the server has the version 3.8.6 of Python we strongly recommand to have 3.8 or higher
To realise this project we have used two APIs :
The first one gives us more than 20,000 entries and the second one around 10,000 which gives us a total of 30,000 data approximatively.
Our ontology is available here. You can download it here.
contexts
contains our APIs context for JSON-LDJSONLD.py
is a file that parse our API into a JSON-LD using its context defined in the context folderQueries.py
is a file with our SPARQL queriesstatic
andtemplates
are folder used by Flask
All images and icons are made with ❤ by us