Hi, Thank you very much. These answers are very helpful.
Best, Srecko -----Original Message----- From: Rupert Westenthaler [mailto:rupert.westentha...@gmail.com] Sent: Tuesday, August 21, 2012 11:56 To: srecko joksimovic Cc: Rupert Westenthaler; stanbol-dev@incubator.apache.org Subject: Re: Namespaces Hi, On Tue, Aug 21, 2012 at 10:16 AM, srecko joksimovic <sreckojoksimo...@gmail.com> wrote: > Hi Rupert, > > According to your previous answers, and [1], [2], and [3], I figured out how > to present enhancer output. > There are two namespaces that I didn't understand well: > > "entityhub-query": "http://stanbol.apache.org/ontology/entityhub/query#", This Namespace is used by properties used to represent query results (e.g. the score of a result) > and > > "rickModel": "http://www.iks-project.eu/ontology/rick/model/". > This Namespace is used by the domain model of the Entityhub. It still uses "rick" - the old name of the Stanbol Entityhub component- > I am particulary interested int entityhub-query:score and > rickModel:entityRank. Could you please provide me some further info about > these namespaces? > > I would like to know how you calculate "score" and "entityRank"? > "entityhub-query:score" is simple the score as provided by Apache Solr. In case SPARQL is used the score value will most likely be missing. EnhancementEngines that suggest Entities do use the score to rank suggestions relative to each other. However NOTE that the fise:confidence value of the best suggestion is not influenced by the "entityhub-query:score" but only how well the label of the Entity fits the selected section in the text. Only of two Entities (e.g. Paris in France and Paris in Texas) do both equally fit the selected text (e.g. Paris) than the confidence of the highest confidence is assumed as 1 and the others are normalized relative to that. "rickModel:entityRank" can be used to tell Stanbol the importance of an Entity relative to others within a Dataset. For DBPedia we use the number of incoming links from other Wikipages to calculate the entityRank. This is than used during indexing to set the Solr DocumentBoost. The DocumentBoost than also affects the Solr score of query results and has therefore an influence on the entityhub-query:score. The entityRank value therefore depends on the indexing configuration of the dataset. AFAIK entityRanks are currently only available for DBpedia. best Rupert > Thank you, > Srecko -- | Rupert Westenthaler rupert.westentha...@gmail.com | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen