ckanext-interlinking
A CKAN extension that allows resource interlinking using recline.
Lucene Servlet for interlinking
The lucene servlet is able to interlink given terms in Greek with reference datasets. The reference datasets must be provisioned in CSV format, and be indexed once prior searching in them.
After indexing datasets search queries can be carried out. Each time the servlet returns the 10 best results ordered by score in descending order.
Indexing datasets
The reference dataset must use commas as delimiter and its first row should carry the names of its columns. The csv must be placed inside 'WebContent/WEB-INF/data/' folder. Then an indexing POST request must be sent on the service.
Querying indexed datasets
There are two ways to query an indexed dataset:
1. Stemmed term search query - stems the search term and uses it to search an index
2. Wildcard search query - searches for results which start with the searching term
Configuration file settings for ckanext-interlinking
First, add recline_interlinking to the list of enabled CKAN plugins (ckan.plugins).
The plugin needs two configuration settings:
# ckanext-interlinking reference resources
ckanext.interlinking.references =
Names of Municipalities (Kallikratis plan):kallikratis
Names of Municipalities (Kapodistrias plan):kapodistrias
Geonames for Greece:geonames
# ckanext-interlinking lucene servlet url
ckanext.interlinking.lucene_url = http://localhost:8080/LuceneInterlinking/Interlinker
ckanext.interlinking.references contains an array of inscriptions for every reference dataset indexed in the lucene servlet. ckanext.interlinking.lucene_url contains the URL where the lucene servlet is available.