1

我正在尝试使用 API 自动进行 Scopus 搜索,以便我们可以更轻松地跟踪与联合国可持续发展目标相关的出版物。但是,我无法获得正确的语法每个 SDG 的搜索字符串又长又复杂。此处记录了每个 SDG 的搜索字符串:https ://data.mendeley.com/datasets/87txkw7khs/1#file-71334e20-2e74-4557-9002-0b8d2b28103e

我正在测试 SDG 2,字符串如下所示:

TITLE-ABS-KEY ( ( {land tenure rights}  OR  ( smallholder  AND  ( farm  OR  forestry  OR  pastoral  OR  agriculture  OR  fishery  OR  {food producer}  OR  {food producers} ) )  OR  malnourish*  OR  malnutrition  OR  undernourish*  OR  {undernutrition}  OR  {agricultural production}  OR  {agricultural productivity}  OR  {agricultural practices}  OR  {agricultural management}  OR  {food production}  OR  {food productivity}  OR  {food security}  OR  {food insecurity}  OR  {land right}  OR  {land rights}  OR  {land reform}  OR  {land reforms}  OR  {resilient agricultural practices}  OR  ( agriculture  AND  potassium )  OR  fertili?er  OR  {food nutrition improvement}  OR  {hidden hunger}  OR  {genetically modified food}  OR  ( gmo  AND  food )  OR  {agroforestry practices}  OR  {agroforestry management}  OR  {agricultural innovation}  OR  ( {food security}  AND  {genetic diversity} )  OR  ( {food market}  AND  ( restriction  OR  tariff  OR  access  OR  {north south divide}  OR  {development governance} ) )  OR  {food governance}  OR  {food supply chain}  OR  {food value chain}  OR  {food commodity market}  AND NOT  {disease} ) )

花括号根本不适用于 API 交互工具(即使是单个项目),所以我尝试了这个版本的查询:

TITLE-ABS-KEY(("land tenure rights" OR (smallholder AND (farm OR forestry OR pastoral OR agriculture OR fishery OR "food producer" OR "food producers") ) OR malnourish* OR malnutrition OR undernourish* OR "undernutrition" OR "agricultural production" OR "agricultural productivity" OR "agricultural practices" OR "agricultural management" OR "food production" OR "food productivity" OR "food security" OR "food insecurity" OR "land right" OR "land rights" OR "land reform" OR "land reforms" OR "resilient agricultural practices" OR (agriculture AND potassium) OR fertili?er OR "food nutrition improvement" OR "hidden hunger" OR "genetically modified food" OR (gmo AND food) OR "agroforestry practices" OR "agroforestry management" OR "agricultural innovation" OR ("food security" AND "genetic diversity") OR ("food market" AND (restriction OR tariff OR access OR "north south divide" OR "development governance")) OR "food governance" OR "food supply chain" OR "food value chain" OR "food commodity market" AND NOT "disease"))

Scopus API 交互工具翻译为

https://api.elsevier.com/content/search/scopus?query=TITLE-ABS-KEY((%22land%20tenure%20rights%22%C2%A0OR%20(smallholder%20AND%20(farm%20OR%20forestry%20OR%20pastoral%20OR%20agriculture%20OR%20fishery%20OR%20%22food%20producer%22%20OR%20%22food%20producers%22)%C2%A0)%20OR%20malnourish*%20OR%20malnutrition%20OR%20undernourish*%20OR%20%22undernutrition%22%20OR%20%22agricultural%20production%22%20OR%20%22agricultural%20productivity%22%20OR%20%22agricultural%20practices%22%20OR%20%22agricultural%20management%22%20OR%20%22food%20production%22%20OR%20%22food%20productivity%22%20OR%20%22food%20security%22%20OR%20%22food%20insecurity%22%20OR%20%22land%20right%22%20OR%20%22land%20rights%22%20OR%20%22land%20reform%22%20OR%20%22land%20reforms%22%20OR%20%22resilient%20agricultural%20practices%22%20OR%20(agriculture%20AND%20potassium)%20OR%20fertili%3Fer%20OR%20%22food%20nutrition%20improvement%22%20OR%20%22hidden%20hunger%22%20OR%20%22genetically%20modified%20food%22%20OR%20(gmo%20AND%20food)%20OR%20%22agroforestry%20practices%22%20OR%20%22agroforestry%20management%22%20OR%20%22agricultural%20innovation%22%20OR%20(%22food%20security%22%20AND%20%22genetic%20diversity%22)%20OR%20(%22food%20market%22%20AND%20(restriction%20OR%20tariff%20OR%20access%20OR%20%22north%20south%20divide%22%20OR%20%22development%20governance%22))%20OR%20%22food%20governance%22%20OR%20%22food%20supply%20chain%22%20OR%20%22food%20value%20chain%22%20OR%20%22food%20commodity%20market%22%20AND%20NOT%20%22disease%22))&apiKey=xxxMYAPIKEY

结果是服务错误:“service-error”:{“status”:{“statusCode”:“INVALID_INPUT”,“statusText”:“翻译查询错误”  

我错过了什么吗?还是 API 不支持这么长时间的查询?

4

1 回答 1

0

它对我有用一次......

  • ...打开的花括号{被替换为%7B, 和
  • }带有.的右花括号%7D

(另请参阅有关URL 中花括号的说明。)

整个 URL 是这样的:

https://api.elsevier.com/content/search/scopus?query=TITLE-ABS-KEY%20(%20(%20%7Bland%20tenure%20rights%7D%20%20OR%20%20(%20smallholder%20%20AND%20%20(%20farm%20%20OR%20%20forestry%20%20OR%20%20pastoral%20%20OR%20%20agriculture%20%20OR%20%20fishery%20%20OR%20%20%7Bfood%20producer%7D%20%20OR%20%20%7Bfood%20producers%7D%20)%20)%20%20OR%20%20malnourish*%20%20OR%20%20malnutrition%20%20OR%20%20undernourish*%20%20OR%20%20%7Bundernutrition%7D%20%20OR%20%20%7Bagricultural%20production%7D%20%20OR%20%20%7Bagricultural%20productivity%7D%20%20OR%20%20%7Bagricultural%20practices%7D%20%20OR%20%20%7Bagricultural%20management%7D%20%20OR%20%20%7Bfood%20production%7D%20%20OR%20%20%7Bfood%20productivity%7D%20%20OR%20%20%7Bfood%20security%7D%20%20OR%20%20%7Bfood%20insecurity%7D%20%20OR%20%20%7Bland%20right%7D%20%20OR%20%20%7Bland%20rights%7D%20%20OR%20%20%7Bland%20reform%7D%20%20OR%20%20%7Bland%20reforms%7D%20%20OR%20%20%7Bresilient%20agricultural%20practices%7D%20%20OR%20%20(%20agriculture%20%20AND%20%20potassium%20)%20%20OR%20%20fertili?er%20%20OR%20%20%7Bfood%20nutrition%20improvement%7D%20%20OR%20%20%7Bhidden%20hunger%7D%20%20OR%20%20%7Bgenetically%20modified%20food%7D%20%20OR%20%20(%20gmo%20%20AND%20%20food%20)%20%20OR%20%20%7Bagroforestry%20practices%7D%20%20OR%20%20%7Bagroforestry%20management%7D%20%20OR%20%20%7Bagricultural%20innovation%7D%20%20OR%20%20(%20%7Bfood%20security%7D%20%20AND%20%20%7Bgenetic%20diversity%7D%20)%20%20OR%20%20(%20%7Bfood%20market%7D%20%20AND%20%20(%20restriction%20%20OR%20%20tariff%20%20OR%20%20access%20%20OR%20%20%7Bnorth%20south%20divide%7D%20%20OR%20%20%7Bdevelopment%20governance%7D%20)%20)%20%20OR%20%20%7Bfood%20governance%7D%20%20OR%20%20%7Bfood%20supply%20chain%7D%20%20OR%20%20%7Bfood%20value%20chain%7D%20%20OR%20%20%7Bfood%20commodity%20market%7D%20%20AND%20NOT%20%20%7Bdisease%7D%20)%20)&apiKey=xxxxxxxxYOURAPIKEY

于 2021-01-05T08:38:08.963 回答