Skip to content

iuliavisan/Semantic-Web-Rdf4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Web Project - RDF4J

EN

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.

Technologies

  • 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

Project Structure

  • date.ttl — RDF data (resorts and beaches)
  • proxy.js — HTTP proxy server (port 5000)
  • index.html — frontend

How to Run

  1. Start Tomcat: C:\tomcat\apache-tomcat-9.0.118\bin\startup.bat
  2. Start proxy: node proxy.js
  3. Open Chrome: http://localhost:5000/index.html
  4. RDF4J Workbench: http://localhost:8080/rdf4j-workbench

Features

  • Display all resorts from RDF4J
  • Filter beaches by resort
  • Add a new beach to the database

RO

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.

Tehnologii

  • 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

Structura proiectului

  • date.ttl — date RDF (statiuni si plaje)
  • proxy.js — server proxy HTTP (port 5000)
  • index.html — frontend

Cum pornesti proiectul

  1. Porneste Tomcat: C:\tomcat\apache-tomcat-9.0.118\bin\startup.bat
  2. Porneste proxy-ul: node proxy.js
  3. Deschide Chrome: http://localhost:5000/index.html
  4. RDF4J Workbench: http://localhost:8080/rdf4j-workbench

Functionalitati

  • Afisarea tuturor statiunilor din RDF4J
  • Filtrarea plajelor dupa statiune
  • Adaugarea unei plaje noi in baza de date

About

Semantic web application using RDF4J, SPARQL, and a Node.js proxy to query and display structured data through a JavaScript frontend.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages