A small utility to lookup URIs in DBpeida
moustaki/dbpediafinder
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
dbpediafinder by Yves Raimond A very small Ruby gems for finding URIs in DBpedia, given a label and an optional disambiguation string. Works in two steps: 1) Uses Google AJAX API to find out possible candidates 2) Uses DBpedia SPARQL end-point to validate one of those candidates Example use: require 'rubygems' require 'dbpediafinder' finder = DbpediaFinder::Finder.new finder.find('j.s. bach', 'composer') => ["Johann Sebastian Bach", "http://dbpedia.org/resource/Johann_Sebastian_Bach"] finder.find('david aaronovitch', 'bbc radio presenter') => ["David Aaronovitch", "http://dbpedia.org/resource/David_Aaronovitch"] finder.find('isle of wight') => ["Isle of Wight", "http://dbpedia.org/resource/Isle_of_Wight"]
About
A small utility to lookup URIs in DBpeida
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published