Patrick
Patrick

Reputation: 21

Microsoft Academic - how to encode query

How would one encode a query for alzheimer's disease? The open API testing console does not appear to handle this correctly, neither for evaluate nor for interpret.

Upvotes: 1

Views: 71

Answers (1)

Darrin Eide
Darrin Eide

Reputation: 156

All academic entity names are normalized to remove case and special characters. The evaluate method does not account for this, so you'd need to know the normalized entity name before requesting said entity.

However the interpret method does account for this and automatically normalizes all queries. I was able to enter "alzheimer's disease" in the interpret API test console and get the appropriate interpretation (which contains the query expression you'd send to the evaluate method to get full entity results).

Upvotes: 0

Related Questions