On LinkQ Project we need to display following tags related to the Article:
Company Relevance (Like: Nike 80%), Topics and Events.
For Events we plan to use "detectedEvents_attr" and for Topics - "DocCat_attr"
The question is with the Organizations. We have them in "calais_relevance_*_attr" which is array of strings with Locations, Industries, Organizations etc.
To distinguish what is the organization here we need to make an additional request for each string.
DF Request: entity/search returns following relevance info:
"calais_relevance_80_attr":[
"Application Software", - Industry
"Cleveland", - Location
"National Basketball Association", - Company
],
Looks like that to distinguish the organization here we need to look into "Organization_attr" and than find such a company in "calais_relevance_*_attr". The other option is to make a request to each string and find out what is the organization.
We wander if "calais_relevance_*_attr" can contain following type description, like:
"calais_relevance_80_attr":[
{"_type": "Industry",
"label: "Application Software"},
{"_type": "Location",
"label: "Cleveland"},
{"_type": "Organization",
"OrganizatuinId or Uri" : "..........",
"label: "National Basketball Association"}
Here is an example of permid.ord tagging response for an organization:
{
"_typeGroup":"entities",
"_type":"Organization",
, "relevance":0.8
...}