⚙️ Technical Documentation

This page provides an overview of the BIRT project's architecture and data retrieval methods.

🏗️ Architecture Overview

BIRT is a web-based platform built using:

🔌 How Data is Retrieved

BIRT uses SPARQL queries to fetch data from Wikidata, making direct requests via JavaScript.

Example Query (Fetching Artists Influenced by Van Gogh)

const artistsQuery = ` SELECT DISTINCT ?artist ?artistLabel WHERE { ?artist wdt:P737 wd:Q5582. # Influenced by Van Gogh (Q5582) ?artist wdt:P106 wd:Q1028181. # Occupation: painter SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } `; const artistsUrl = "https://query.wikidata.org/sparql?query=" + encodeURIComponent(artistsQuery); async function fetchArtists() { try { const response = await fetch(artistsUrl, { headers: { 'Accept': 'application/sparql-results+json' } }); if (!response.ok) { throw new Error(`Network response was not ok: ${response.statusText}`); } const data = await response.json(); console.log(data); } catch (error) { console.error("Error fetching data:", error); } } fetchArtists();

🚀 Setup Guide

To run the project locally, follow these steps:

git clone https://github.com/ionutf01/Big-Data-Retriever.git cd birt-project dotnet run

Ensure you have:


Last updated: 3rd February 2025

⬅ Back to Home