Class SuggestingAdapter
In: lib/activerdf_rdflite/suggesting.rb
Parent: FetchingAdapter

The SuggestingAdapter is an extension to rdflite that can recommand additional predicates for a given resource, based on usage statistics in the whole dataset. E.g. given a dataset with FOAF data, one can ask a suggestion for a person and get a recommendation for this person to also use foaf:birthday. You can use this adapter in any collaborative editing setting: it leads the community to converge on terminology (everybody will use the same foaf:birthday to define somebody’s birthday).

Methods

new   suggest  

External Aliases

initialize -> _old_initialize

Public Class methods

initialises the adapter, see RDFLite for description of possible parameters.

Public Instance methods

suggests additional predicates that might be applicable for the given resource

[Validate]