Get Recommendations
GET /api/configurations/{configId}/getRecommendations
Returns recommendations for a document identified by its URI in a GraphSearch search space.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
configId | path | integer(int32) | true | The ID of the configuration to use for recommending documents. |
uri | query | string | true | The URI of the document to get recommended documents for. |
recommender | query | string | true | The recommender plugin to use for recommending documents. |
curl 'https://adf-dev.semantic-web.at/ADF/api/configurations/getRecommendations?uri=https%3A%2F%2Fsustainabilityreport.metlife.com%2Fcontent%2Fdam%2Fmetlifecom%2Fus%2Fsustainability%2Fsus-refresh-2022%2Freport-website%2Fpdf%2F2021-sustainability-report.pdf&recommender=Risk%20recommender' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ3U2ZNbmY1Wm9leEFhc2NiSnNtZ2tlNktHRnc2NG1laWY0MzJwNHBXX2RrIn0.eyJleHAiOjE3MDk3MzQ3NjUsImlhdCI6MTcwOTczNDQ2NSwianRpIjoiZjU3ODhkODctZTFlMy00ZWU0LThkYWUtMTI5YmRmNjM2MTg2IiwiaXNzIjoiaHR0cHM6Ly9sb2dpbi1pbnRlcm5hbC1ldS5wb29scGFydHkuYml6L2F1dGgvcmVhbG1zL3ZvY2FidWxhcnkuc2VtYW50aWMtd2ViLmF0IiwiYXVkIjoiYWNjb3VudCIsInN1YiI6IjQwNjk1MTk2LTQyZGYtNGIzOS05NGEyLTQ1MzgzOGM3YzEzMSIsInR5cCI6IkJlYXJlciIsImF6cCI6InBwdCIsInNlc3Npb25fc3RhdGUiOiIzODA1M2YzYS1lZTA5LTRhOGEtYjdkNi0zZDI2MzI2NjY0YWEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsib2ZmbGluZV9hY2Nlc3MiLCJQb29sUGFydHlTdXBlckFkbWluIiwibG9jYWwtdXNlciIsInVtYV9hdXRob3JpemF0aW9uIiwiZGVmY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aIrJ1NJiewT1YQCt6Q'
Responses
Status | Meaning | Description |
---|---|---|
200 | List of recommended documents | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
{ "message": "query time: -27 ms", "result": [ { "date": 1.6950744E12, "description": "For the drug preparation business, Livzon has continuously explored markets outside the PRC. We continue to advance the market access and sales of products in fields of assisted reproduction, gastroenterology, psychiatry, immunology and anti-infection in emerging markets developing countries, including the countries and regions in South Asia, Southeast Asia, Central Asia, Eurasia and Africa, such as Pakistan, the Philippines, Thailand, Indonesia, Malaysia, Russia, Uzbekistan, and Nigeria. Meanwhile, we evaluate and select products with higher market potential overseas and strengthen their registration to continuously cater for the needs of international markets.", "empty": false, "facetList": [ { "facets": [ { "count": 1, "label": "1.0", "value": null, "children": null } ], "field": "dyn_flt_sentiment", "label": "Sentiment" }, { "facets": [ { "count": 1, "label": "Geographical areas", "value": "https://esg.poolparty.biz/esg-core/85f3f975-2c07-48a5-b01b-ee4c0f5655f0", "children": null }, { "count": 1, "label": "Least developed countries", "value": "https://esg.poolparty.biz/esg-core/336755ea-ed6c-41b6-a875-cdcdd7ace3bb", "children": null }, { "count": 1, "label": "Uzbekistan", "value": "https://esg.poolparty.biz/esg-core/C5770", "children": null }, { "count": 1, "label": "Africa", "value": "https://esg.poolparty.biz/esg-core/C281", "children": null }, { "count": 1, "label": "Thailand", "value": "https://esg.poolparty.biz/esg-core/C4453", "children": null }, { "count": 1, "label": "Central Asia", "value": "https://esg.poolparty.biz/esg-core/C5448", "children": null }, { "count": 1, "label": "Nigeria", "value": "https://esg.poolparty.biz/esg-core/C2058", "children": null }, { "count": 1, "label": "Pakistan", "value": "https://esg.poolparty.biz/esg-core/C2222", "children": null }, { "count": 1, "label": "Russia", "value": "https://esg.poolparty.biz/esg-core/C5876", "children": null }, { "count": 1, "label": "Philippines", "value": "https://esg.poolparty.biz/esg-core/C2368", "children": null }, { "count": 1, "label": "Indonesia", "value": "https://esg.poolparty.biz/esg-core/C1355", "children": null }, { "count": 1, "label": "Malaysia", "value": "https://esg.poolparty.biz/esg-core/C1767", "children": null }, { "count": 1, "label": "South Asia", "value": "https://esg.poolparty.biz/esg-core/C2848", "children": null } ], "field": "dyn_uri_96538783-fa1b-451b-8cfd-b66cc48cec80", "label": "Core concepts" }, { "facets": [ { "count": 1, "label": "ESGparagraphs", "value": null, "children": null } ], "field": "dyn_lit_context", "label": "SearchSpace" }, { "facets": [ { "count": 1, "label": "tosil", "value": null, "children": null } ], "field": "dyn_lit_author", "label": "Author" }, { "facets": [ { "count": 1, "label": "Sales", "value": "https://esg.poolparty.biz/esg-core/4f73e638-cbc4-4d3f-a79e-aa0f4cc27379", "children": null } ], "field": "dyn_uri_94164d55-502c-4668-adbe-608363beaed1", "label": "Products, processes, materials" }, { "facets": [ { "count": 1, "label": "https://esg.poolparty.biz/esg-core/85f3f975-2c07-48a5-b01b-ee4c0f5655f0", "value": "Geographical areas", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/336755ea-ed6c-41b6-a875-cdcdd7ace3bb", "value": "Least developed countries", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C5770", "value": "Uzbekistan", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C281", "value": "Africa", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C4453", "value": "Thailand", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/4f73e638-cbc4-4d3f-a79e-aa0f4cc27379", "value": "Sales", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C5448", "value": "Central Asia", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C2058", "value": "Nigeria", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C2222", "value": "Pakistan", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C5876", "value": "Russia", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C2368", "value": "Philippines", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C1355", "value": "Indonesia", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C1767", "value": "Malaysia", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C2848", "value": "South Asia", "children": null } ], "field": "dyn_uri_all_concepts", "label": "All Facets" }, { "facets": [ { "count": 1, "label": "Least developed countries", "value": "https://esg.poolparty.biz/esg-core/336755ea-ed6c-41b6-a875-cdcdd7ace3bb", "children": null }, { "count": 1, "label": "Uzbekistan", "value": "https://esg.poolparty.biz/esg-core/C5770", "children": null }, { "count": 1, "label": "Africa", "value": "https://esg.poolparty.biz/esg-core/C281", "children": null }, { "count": 1, "label": "Thailand", "value": "https://esg.poolparty.biz/esg-core/C4453", "children": null }, { "count": 1, "label": "Central Asia", "value": "https://esg.poolparty.biz/esg-core/C5448", "children": null }, { "count": 1, "label": "Nigeria", "value": "https://esg.poolparty.biz/esg-core/C2058", "children": null }, { "count": 1, "label": "Pakistan", "value": "https://esg.poolparty.biz/esg-core/C2222", "children": null }, { "count": 1, "label": "Russia", "value": "https://esg.poolparty.biz/esg-core/C5876", "children": null }, { "count": 1, "label": "Philippines", "value": "https://esg.poolparty.biz/esg-core/C2368", "children": null }, { "count": 1, "label": "Indonesia", "value": "https://esg.poolparty.biz/esg-core/C1355", "children": null }, { "count": 1, "label": "Malaysia", "value": "https://esg.poolparty.biz/esg-core/C1767", "children": null }, { "count": 1, "label": "South Asia", "value": "https://esg.poolparty.biz/esg-core/C2848", "children": null } ], "field": "dyn_uri_D72", "label": "Geography" } ], "documentDetails": [], "id": "http://esg.poolparty.biz/sustainability-report/paragraph/e_2022_esg_report_ess%281%291682687202596.pdf@@@34@@@1.txt", "image": null, "link": "https://v4.cecdn.yun300.cn/site_1809140983/e_2022_esg_report_ess%281%291682687202596.pdf#page=34&seq=1", "searchSpaceId": "413a6e31-5946-4db4-9450-2d70b30d928b", "title": "Livzon Pharmaceutical Group Inc - e_2022_esg_report_ess%281%291682687202596.pdf - page=34/1", "type": "User" }, { "date": 1.6950744E12, "description": "During the Reporting Period, the planting area of the self-built base in Hunyuan County of Datong City in Shanxi Province increased by 300 mu, and 55 more local workers were employed. In addition, in view of the national “rural revitalization strategy”, Datong Livzon cooperated with the village committee of Mazhuang Village in Guan’er Township, Hongyuan County of Datong City in Shanxi Province to launch the project of “Joint Construction by Village and Enterprise” to build a primary processing plant in the cultivation base and producing area of astragalus roots. The project has been completed and put into operation. The Company also trained about 30 managers and farmers of the jointly built base in Zizhou County of Yulin City in Shaanxi Province on the new version of the Good Agricultural Practice, and conducted technical guidance and practical training on the traceability system of traditional Chinese medicinal materials. Meanwhile, the Company set up meteorological observation stations at the jointly built base in Tianzhen County of Datong City in Shanxi Province and the jointly built base in Zizhou County of Yulin City in Shaanxi Province, and conducted environmental testing for all jointly built bases to provide data support for their field operations.", "empty": false, "facetList": [ { "facets": [ { "count": 1, "label": "1.0", "value": null, "children": null } ], "field": "dyn_flt_sentiment", "label": "Sentiment" }, { "facets": [ { "count": 1, "label": "Education", "value": "https://esg.poolparty.biz/esg-core/d44a80c7-dd2e-4c17-99ad-01b55226e20b", "children": null } ], "field": "dyn_uri_28e052d4-8649-4d99-a898-e68d1deb9dda", "label": "Models, data, software" }, { "facets": [ { "count": 1, "label": "China", "value": "https://esg.poolparty.biz/esg-core/C5969", "children": null }, { "count": 1, "label": "Education", "value": "https://esg.poolparty.biz/esg-core/d44a80c7-dd2e-4c17-99ad-01b55226e20b", "children": null }, { "count": 1, "label": "Construction & Building industry", "value": "https://esg.poolparty.biz/esg-core/c3b86269-eac0-4a2f-8fb1-827ef210b5b3", "children": null }, { "count": 1, "label": "Traceability", "value": "https://esg.poolparty.biz/esg-core/81bd865d-c541-4034-ab3b-f5bf7392f04d", "children": null }, { "count": 1, "label": "Good agricultural practice", "value": "https://esg.poolparty.biz/esg-core/c3dc398f-791b-4e27-9ee7-7f968a5f50b8", "children": null }, { "count": 1, "label": "Committee", "value": "https://esg.poolparty.biz/esg-core/35745d9e-271e-4516-a8c8-4fe519d4469b", "children": null } ], "field": "dyn_uri_96538783-fa1b-451b-8cfd-b66cc48cec80", "label": "Core concepts" }, { "facets": [ { "count": 1, "label": "Companies", "value": "https://esg.poolparty.biz/esg-core/0ec5e05f-7bd3-4dd8-8bc0-237a1aedf0d5", "children": null } ], "field": "dyn_uri_c78d6010-1c4d-4a4c-8145-dd755d2885d7", "label": "Organizations" }, { "facets": [ { "count": 1, "label": "Good agricultural practice", "value": "https://esg.poolparty.biz/esg-core/c3dc398f-791b-4e27-9ee7-7f968a5f50b8", "children": null } ], "field": "dyn_uri_aafe7588-98fa-45a6-9184-3e25b50cfd63", "label": "Solutions" }, { "facets": [ { "count": 1, "label": "tosil", "value": null, "children": null } ], "field": "dyn_lit_author", "label": "Author" }, { "facets": [ { "count": 1, "label": "ESGparagraphs", "value": null, "children": null } ], "field": "dyn_lit_context", "label": "SearchSpace" }, { "facets": [ { "count": 1, "label": "Strategies", "value": "https://esg.poolparty.biz/esg-core/6736071c-e578-4922-880a-cbc25b871d75", "children": null } ], "field": "dyn_uri_50c970e3-c147-492a-b95b-6b654d74673e", "label": "Regulatory framework" }, { "facets": [ { "count": 1, "label": "Meteorology", "value": "https://esg.poolparty.biz/esg-core/34fc2cc8-9e9b-4b6f-98b6-6639490e6e18", "children": null } ], "field": "dyn_uri_a8274bb3-d46e-4d28-b368-57337f1bf49d", "label": "Sciences" }, { "facets": [ { "count": 1, "label": "Education", "value": "https://esg.poolparty.biz/esg-core/d44a80c7-dd2e-4c17-99ad-01b55226e20b", "children": null }, { "count": 1, "label": "Traceability", "value": "https://esg.poolparty.biz/esg-core/81bd865d-c541-4034-ab3b-f5bf7392f04d", "children": null }, { "count": 1, "label": "Committee", "value": "https://esg.poolparty.biz/esg-core/35745d9e-271e-4516-a8c8-4fe519d4469b", "children": null } ], "field": "dyn_uri_ba504d25-77c0-4a06-8f60-332ab4a56c21", "label": "ESG" }, { "facets": [ { "count": 1, "label": "Education", "value": "https://esg.poolparty.biz/esg-core/d44a80c7-dd2e-4c17-99ad-01b55226e20b", "children": null } ], "field": "dyn_uri_29f68b24-85d2-4963-b0dc-fef9b5678102", "label": "EU Taxonomy and ESRS" }, { "facets": [ { "count": 1, "label": "https://esg.poolparty.biz/esg-core/C5969", "value": "China", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/d44a80c7-dd2e-4c17-99ad-01b55226e20b", "value": "Education", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/c3b86269-eac0-4a2f-8fb1-827ef210b5b3", "value": "Construction & Building industry", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/0ec5e05f-7bd3-4dd8-8bc0-237a1aedf0d5", "value": "Companies", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/6736071c-e578-4922-880a-cbc25b871d75", "value": "Strategies", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/81bd865d-c541-4034-ab3b-f5bf7392f04d", "value": "Traceability", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/c3dc398f-791b-4e27-9ee7-7f968a5f50b8", "value": "Good agricultural practice", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/34fc2cc8-9e9b-4b6f-98b6-6639490e6e18", "value": "Meteorology", "children": null }, { "count": 1, "label": "https://esg.poolparty.biz/esg-core/35745d9e-271e-4516-a8c8-4fe519d4469b", "value": "Committee", "children": null } ], "field": "dyn_uri_all_concepts", "label": "All Facets" }, { "facets": [ { "count": 1, "label": "Construction & Building industry", "value": "https://esg.poolparty.biz/esg-core/c3b86269-eac0-4a2f-8fb1-827ef210b5b3", "children": null } ], "field": "dyn_uri_4baa945f-4664-4451-aef2-1d5d2525780b", "label": "Industries" }, { "facets": [ { "count": 1, "label": "China", "value": "https://esg.poolparty.biz/esg-core/C5969", "children": null } ], "field": "dyn_uri_D72", "label": "Geography" } ], "documentDetails": [], "id": "http://esg.poolparty.biz/sustainability-report/paragraph/e_2022_esg_report_ess%281%291682687202596.pdf@@@117@@@6.txt", "image": null, "link": "https://v4.cecdn.yun300.cn/site_1809140983/e_2022_esg_report_ess%281%291682687202596.pdf#page=117&seq=6", "searchSpaceId": "413a6e31-5946-4db4-9450-2d70b30d928b", "title": "Livzon Pharmaceutical Group Inc - e_2022_esg_report_ess%281%291682687202596.pdf - page=117/6", "type": "User" } ], "resultType": "application/vnd.semantic-web.graphsearch.recommendation-v2+json", "status": 200, "success": true, "total": 2 }
Name | Type | Required | Description |
---|---|---|---|
message | string | false | A message informing about the duration of the operation in milliseconds. |
result | array | false | An array of objects, each representing a single retrieved document. |
resultType | string | false | The MIME type identifier of the result. |
status | integer(int32) | false | The HTTP status code of the operation. |
success | boolean | false | A message informing on the success of the operation. |
total | integer(int32) | false | The total number of retrieved documents. |