Hi all,
the DBpedia Lookup Service is back online. We sincerely apologize for
the interruption.
The DBpedia Lookup Service can be used to look up DBpedia URIs by related
keywords. Related means that either the label of a resource matches, or an
anchor text that was frequently used in Wikipedia to refer to a specific
resource matches (for example the resource
http://dbpedia.org/resource/United_States can be looked up by the string
USA). The results are ranked by the number of Wikipedia page inlinks.
Two APIs are offered: Keyword Search and Prefix Search. The URL has the form
http://lookup.dbpedia.org/api/search.asmx/<API>?<parameters>
1. Keyword Search
The Keyword Search API can be used to find related DBpedia resources for a
given string. The string may consist of a single or multiple words.
Example:
http://lookup.dbpedia.org/api/search.asmx/KeywordSearch?QueryClass=Place&Max
Hits=5&QueryString=berlin
2. Prefix Search (i.e. Autocomplete)
The Prefix Search API can be used to implement autocomplete input boxes. For
a given partial keyword like berl the API returns URIs of related DBpedia
resources like http://dbpedia.org/resource/Berlin.
Example:
http://lookup.dbpedia.org/api/search.asmx/PrefixSearch?QueryClass=&MaxHits=5
&QueryString=berl
Parameters
The three parameters are
Query String: a string for which a DBpedia URI should be found.
Query Class: a DBpedia class from the Ontology that the results should have
(for owl#Thing and untyped resource, leave this parameter empty).
Max Hits: the maximum number of returned results (default: 5)
Results
The service returns results in XML format. The rresults comprise of the
following:
URI
Label
(Short) Description
Classes (URI & label)
Categories (URI & label)
Refcount (number of Wikipedia page inlinks)
Search Index
DBpedia Lookup is relies on a Lucene index that has been build based on the
October / November 2010 Wikipedia dumps (DBpedia 3.6).
The documentation of the Dbpedia Lookup Service is also found at
http://wiki.dbpedia.org/Lookup
Thanks a lot to Max Jakob (Freie Universität Berlin) for updating the index
behind the service and getting the service back online!
Have fun using DBpedia Lookup!
Cheers,
Chris
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion