A semantic web application for managing Romanian seaside resorts and beaches. The architecture consists of three layers: a vanilla JavaScript frontend that communicates via AJAX with a Node.js HTTP proxy, which in turn sends SPARQL queries to an RDF4J graph database running on Apache Tomcat 9. All data is stored in RDF format using the Turtle syntax and queried via SPARQL.
- RDF4J — graph database, runs on Apache Tomcat 9
- Turtle (.ttl) — RDF data format
- SPARQL — query language for RDF data
- Node.js + Express — HTTP proxy server
- JavaScript — frontend, no frameworks
date.ttl— RDF data (resorts and beaches)proxy.js— HTTP proxy server (port 5000)index.html— frontend
- Start Tomcat:
C:\tomcat\apache-tomcat-9.0.118\bin\startup.bat - Start proxy:
node proxy.js - Open Chrome:
http://localhost:5000/index.html - RDF4J Workbench:
http://localhost:8080/rdf4j-workbench
- Display all resorts from RDF4J
- Filter beaches by resort
- Add a new beach to the database
Aplicatie web semantica pentru gestionarea statiunilor si plajelor de pe litoralul romanesc. Arhitectura este formata din trei straturi: un frontend JavaScript vanilla care comunica prin AJAX cu un proxy HTTP Node.js, care la randul sau trimite interogari SPARQL catre o baza de date graf RDF4J ce ruleaza pe Apache Tomcat 9. Datele sunt stocate in format RDF folosind sintaxa Turtle si interogate prin SPARQL.
- RDF4J — baza de date graf, rulează pe Apache Tomcat 9
- Turtle (.ttl) — format de date RDF
- SPARQL — limbaj de interogare pentru date RDF
- Node.js + Express — server proxy HTTP
- JavaScript — frontend, fara framework-uri
date.ttl— date RDF (statiuni si plaje)proxy.js— server proxy HTTP (port 5000)index.html— frontend
- Porneste Tomcat:
C:\tomcat\apache-tomcat-9.0.118\bin\startup.bat - Porneste proxy-ul:
node proxy.js - Deschide Chrome:
http://localhost:5000/index.html - RDF4J Workbench:
http://localhost:8080/rdf4j-workbench
- Afisarea tuturor statiunilor din RDF4J
- Filtrarea plajelor dupa statiune
- Adaugarea unei plaje noi in baza de date