

FedORKG
ckanext-fedorkg is a CKAN plugin that adds support to query open research knowledge graphs via SPARQL queries.
FedORKG uses DeTrusty as federated query engine.
The visual query editor connecting the frontend and DeTrusty is implemented using the JavaScript library YASGUI.
LLM-based Question Answering
[!NOTE]
This feature is experimental.
Powered by the LLM o1-mini, FedORKG is able to answer natural language questions over the federation by relying on the LLM to translate the question into a SPARQL query.
Check steps 3 and 4 in the post-install setup on how to configure this feature.
Installation
Path variables used below:
$CKAN_STORAGE_PATH (i.e., where CKAN stores files), e.g., /var/lib/ckan
$CKAN_INI (i.e., the CKAN configuration file), e.g., /etc/ckan/default/ckan.ini
Installing from Source
As usual for CKAN extensions, you can install ckanext-fedorkg as follows:
git clone git@github.com:SDM-TIB/ckanext-fedorkg.git
pip install -e ./ckanext-fedorkg
pip install -r ./ckanext-fedorkg/requirements.txt
Post-install Setup
- Copy your file for the source descriptions of DeTrusty to the following location:
$CKAN_STORAGE_PATH/fedorkg/rdfmts.ttl
- Add
fedorkg to the list of plugins in your $CKAN_INI:
ini
ckan.plugins = ... fedorkg
> [!NOTE]
> If you have ckanext-scheming installed, you have to mention fedorkg before the scheming extension in your $CKAN_INI.
> Otherwise the scheming extension overrides the cha