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

Double blind anonymized #2

Open
wants to merge 4 commits into
base: main
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
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Links to the deployed version of ontology, docs and app.

1. SAQI app - [kracr.iiitd.edu.in/saqi-app/](https://kracr.iiitd.edu.in/saqi-app/)
2. Sparql endpoint for ontology populated with data collected during the project - [kracr.iiitd.edu.in/sparql/#/dataset/aq-store/query](https://kracr.iiitd.edu.in/sparql/#/dataset/aq-store/query)
3. PyLODE documentation for the ontology - [kracr.iiitd.edu.in/ontology/saqi](https://kracr.iiitd.edu.in/ontology/saqi)
1. SAQI app - [https://saqi-er24.netlify.app/](https://saqi-er24.netlify.app/)
2. Sparql endpoint for ontology populated with data collected during the project - [https://saqi-er24.netlify.app/sparql/#/dataset/aq-store/query](https://https://saqi-er24.netlify.app/saqi/sparql/#/dataset/aq-store/query)
3. PyLODE documentation for the ontology - [https://saqi-er24.netlify.app/saqi](https://saqi-er24.netlify.app/saqi)
4. SAQI Dataset - https://doi.org/10.5281/zenodo.10300235

> **Directory Structure of the repo**
Expand Down Expand Up @@ -38,23 +38,23 @@
- `npm i`
- `npm run dev`

## Scripts for deployment on kracr website
## Scripts for deployment on saqi-er-24 website

> Pull latest changes and run the script to deploy.sh

- `./deploy.sh`

> If there is no npm installed, copy build files from local machine

- `scp -r ./saqi-app/dist iiitd@192.168.1.166:`
- `scp -r ./saqi-app/dist iii***@192.168.1.166:`
- Inside VM -
- `sudo cp -r ./dist/ /var/www/kracr.iiitd.edu.in/saqi-app`
- `sudo cp /var/www/kracr.iiitd.edu.in/saqi-app/vite.svg /var/www/kracr.iiitd.edu.in/saqi-app/assets/vite.svg`
- `sudo cp /var/www/kracr.iiitd.edu.in/saqi-app/saqi.png /var/www/kracr.iiitd.edu.in/saqi-app/assets/saqi.png`
- `sudo cp -r ./dist/ /var/www/XXXXX.XXXXX.XXX.XX/saqi-app`
- `sudo cp /var/www/XXXXX.XXXXX.XXX.XX/saqi-app/vite.svg /var/www/XXXXX.XXXXX.XXX.XX/saqi-app/assets/vite.svg`
- `sudo cp /var/www/XXXXX.XXXXX.XXX.XX/saqi-app/saqi.png /var/www/XXXXX.XXXXX.XXX.XX/saqi-app/assets/saqi.png`


## Routing changes to nginx
At `/etc/nginx/sites-available/kracr.iiitd.edu.in`
At `/etc/nginx/sites-available/XXXXX.XXXXX.XXX.XX`

```
location /sparql/ {
Expand Down Expand Up @@ -84,7 +84,7 @@ At `/etc/nginx/sites-available/kracr.iiitd.edu.in`
try_files $uri $uri/ /saqi-app/index.html;
}
location /ontology/webvowl/ {
alias /var/www/kracr.iiitd.edu.in/webvowl/;
alias /var/www/XXXXX.XXXXX.XXX.XX/webvowl/;
}
```
At `/etc/nginx/nginx.conf`
Expand Down
14 changes: 7 additions & 7 deletions dataset/PollutionODP.owl
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<?xml version="1.0"?>
<Ontology xmlns="http://www.w3.org/2002/07/owl#"
xml:base="https://kracr.iiitd.edu.in/ontology/PollutionODP"
xml:base="https://XXXXX.XXXXXX.XXX.XX/ontology/PollutionODP"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
ontologyIRI="https://kracr.iiitd.edu.in/ontology/PollutionODP">
<Prefix name="" IRI="https://kracr.iiitd.edu.in/ontology/PollutionODP"/>
ontologyIRI="https://XXXXX.XXXXXX.XXX.XX/ontology/PollutionODP">
<Prefix name="" IRI="https://XXXXX.XXXXXX.XXX.XX/ontology/PollutionODP"/>
<Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/>
<Prefix name="rdf" IRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
<Prefix name="xml" IRI="http://www.w3.org/XML/1998/namespace"/>
<Prefix name="xsd" IRI="http://www.w3.org/2001/XMLSchema#"/>
<Prefix name="rdfs" IRI="http://www.w3.org/2000/01/rdf-schema#"/>
<Prefix name="skos" IRI="http://www.w3.org/2004/02/skos/core#"/>
<Prefix name="terms" IRI="http://purl.org/dc/terms/"/>
<Prefix name="PollutionODP" IRI="https://kracr.iiitd.edu.in/ontology/PollutionODP#"/>
<Prefix name="PollutionODP" IRI="https://XXXXX.XXXXX.XXX.XX/ontology/PollutionODP#"/>
<Prefix name="cpannotationschema" IRI="http://www.ontologydesignpatterns.org/schemas/cpannotationschema.owl#"/>
<Import>http://www.ontologydesignpatterns.org/schemas/cpannotationschema.owl</Import>
<Annotation>
<AnnotationProperty abbreviatedIRI="terms:contributor"/>
<Literal>Saad Ahmad, Sudhir Attri, Raghava Mutharaju; (https://kracr.iiitd.edu.in/)</Literal>
<Literal>XXXX XXXXX, XXXXXX XXXXX, XXXXXXX XXXXXXXXX; (https://XXXXX.XXXXX.XXX.XX/)</Literal>
</Annotation>
<Annotation>
<AnnotationProperty abbreviatedIRI="terms:created"/>
Expand Down Expand Up @@ -69,15 +69,15 @@ Competency Questions
</Annotation>
<Annotation>
<AnnotationProperty abbreviatedIRI="rdfs:seeAlso"/>
<Literal>https://kracr.iiitd.edu.in/ontology/AirQualityOntology</Literal>
<Literal>https://XXXXX.XXXXX.XXX.XX/ontology/AirQualityOntology</Literal>
</Annotation>
<Annotation>
<AnnotationProperty abbreviatedIRI="owl:versionInfo"/>
<Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#decimal">1.0</Literal>
</Annotation>
<Annotation>
<AnnotationProperty IRI="#Authors"/>
<Literal>Saad Ahmad, Sudhir Attri, Raghava Mutharaju</Literal>
<Literal>XXXX XXXXX, XXXXXX XXXXX, XXXXXXX XXXXXXXXX</Literal>
</Annotation>
<Declaration>
<Class IRI="#Carrier"/>
Expand Down
6 changes: 3 additions & 3 deletions dataset/SHACL-shapes/SAQI_SHACL.shapes.ttl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# baseURI: https://kracr.iiitd.edu.in/ontology/SAQIOntologyPollutionModule
# baseURI: https://saqi-er24.netlify.app/saqiOntologyPollutionModule
# imports: http://datashapes.org/dash
# prefix: saqi

@prefix saqi: <https://w3id.org/saqi#> .
@prefix saqi: <https://saqi-er24.netlify.app/saqi#> .
@prefix dash: <http://datashapes.org/dash#> .
@prefix sosa: <http://www.w3.org/ns/sosa#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
Expand All @@ -11,7 +11,7 @@
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://w3id.org/saqi#>
<https://saqi-er24.netlify.app/saqi#>
rdf:type owl:Ontology ;
owl:imports <http://datashapes.org/dash> ;
owl:versionInfo "Created with TopBraid Composer" ;
Expand Down
Loading