Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "sindice"

Title:Access to Sindice semantic web search engine
Rating:Not rated. Create the first rating!
Latest version:0.0.5
SHA1 sum:14d8dc84af821cc23b999f6e34236f070503743b
Author:Samer Abdallah <s.abdallah@ucl.ac.uk>
Download URL:https://github.com/samer--/prolog/raw/master/sindice/release/sindice-0.0.5.tgz

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.0.1f0080ce9faabd84379d8891693c57549bce219561https://github.com/samer--/prolog/raw/master/sindice/release/sindice-0.0.1.tgz
0.0.2944833f2085b6e6359ae5656025561d2521f11f31https://github.com/samer--/prolog/raw/master/sindice/release/sindice-0.0.2.tgz
0.0.39883568e8da5cb3634769ac9d40a30667ca705085https://github.com/samer--/prolog/raw/master/sindice/release/sindice-0.0.3.tgz
0.0.514d8dc84af821cc23b999f6e34236f070503743b21https://github.com/samer--/prolog/raw/master/sindice/release/sindice-0.0.5.tgz

This package provides an interface to the Sindice semantic web search engine.

Simple usage

The simplest way to use this module is to call si_with_result/5. The last argument is an ordinary Prolog goal that will be called with the 4th argument bound to the URI of a search result stored in a temporary named graph. Progress is bound to a term Current/Total which says how far through the result set we are. Multi-page result sets are managed transparently.

?- use_module(library(sindice)).
?- si_with_result(keyword(coltrane),[],Progress,Res,si_facet(Res,Facet)).
?- si_with_result(keywords([coltrane,monk]),[fields([cache])],Progress,Res,si_facet(Res,cache(Cache))).

Planned enhancements

  • A query language similar to that implemented in lucene.pl (part of the musicbrainz package).
  • A means to load and query the cache URL corresponding to a search result.

Contents of pack "sindice"

Pack contains 3 files holding a total of 11.8K bytes.