Hi John, > Bug or feature?
Not a bug, so probably a feature. If the lookup used a Wikipedia redirect to find the query result, then it's listed in the "Redirects" field. The "Redirects" is not a list of all redirects. In the past (before adding redirects to the system), the refcount used to simply be the number of inlinks for a resource. But that's not the case for "redirected" results: There, the refcount is the number of inlinks for the *redirect* plus a function of the number of inlinks for the resource (something like inlinks(redirect) + log2(inlinks(resource))*100). This way, both the redirect itself and the according resource are weigthed in combination. That's because Wikipedia redirects can't be always threaded as synonyms. There was an example of "XYZ_(Bill_Clinton's_dog)" redirecting to "Bill_Clinton" in Wikipedia. There, you want to assign a weight to the redirect itself, or else Bill Clinton would show up as result for the keyword "dog"... Hope that explanation makes sense. Best, Georgi -- Georgi Kobilarov www.georgikobilarov.com > -----Original Message----- > From: John Muth [mailto:[email protected]] > Sent: Friday, August 28, 2009 10:19 AM > To: [email protected] > Subject: [Dbpedia-discussion] lookup service refcount oddity > > > Hello DBpedia people, > > For two slightly different querystrings the lookup service returns the > same > resource, but with different refcounts and different redirects. > Bug or feature? > > http://lookup.dbpedia.org/api/search.asmx/KeywordSearch? > querystring=antique&maxhits=6&queryclass= > http://lookup.dbpedia.org/api/search.asmx/KeywordSearch? > querystring=antiques&maxhits=6&queryclass= > > They both have 'http://dbpedia.org/resource/Antique' as the number one > result, but once with a refcount of 1596 (antiques) and once with 500 > (antique). > > Thanks, > John > > > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless specifically > stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > > ----------------------------------------------------------------------- > ------- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Dbpedia-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
