A QGIS plugin to import geographic data from SPARQL endpoints and linked data repositories into QGIS vector layers.
Part of the QGISParQL suite — see also Layer2Triple.
Triple2Layer enables GIS users to query linked data sources — such as triple stores (Virtuoso, Apache Jena Fuseki) or Data.world — using SPARQL and load the results directly as geographic layers in QGIS.
The plugin bridges the Semantic Web and GIS workflows, allowing data encoded in RDF/WKT format to be visualized and analyzed in a familiar GIS environment.
Download or clone this repository and copy the folder to your QGIS plugins directory:
~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/%APPDATA%\QGIS\QGIS3\profiles\default\python\plugins\Note: Restart QGIS and enable the plugin under Plugins → Manage and Install Plugins.
Because QGIS uses its own Python environment, dependencies must be installed correctly to avoid version conflicts (especially with pandas in Python 3.12+).
Open your terminal and run the commands in this exact order:
# 1. Install core build tools and pandas first
pip install pandas setuptools --break-system-packages
# 2. Install data.world and SPARQLWrapper
pip install datadotworld SPARQLWrapper --break-system-packages
pip install pandas setuptools datadotworld SPARQLWrapper
If you plan to use Data.world, you need an API Token. Triple2Layer provides three ways to handle this:
DW_AUTH_TOKEN in your system.dw configure in your terminal, the plugin will automatically detect the token in ~/.dw/config.user/dataset-name)..sparql file. The plugin will parse the variables automatically.LambdaGeo Research Group — Universidade Federal do Maranhão (UFMA).
If you use this plugin in your research, please cite it as:
@software{costa2026triple2layer,
author = {Costa, Sérgio Souza and Junior, Nerval},
title = {Triple2Layer: A QGIS Plugin for Importing Linked Geographic Data},
year = {2026},
publisher = {GitHub},
journal = {GitHub repository},
url = {https://github.com/LambdaGeo/qgisparql-triple2layer}
}