Cross-Post on Wolfram Community

I have an EntityProperty and I know how to get its list of qualifiers. Now how do I figure out the possible values these can take programmatically? Here's an example to get us started:

 EntityProperty["Country", "ExternalBalance"],

{"CurrencyUnit", "Date", "PercentOfGDP", "TradeSection"

Now, say, how do I programmatically determine what "CurrencyUnit", "TradeSection", and "PercentOfGDP" can be?

  • $\begingroup$ Is that just EntityValue[ EntityProperty["Country", "ExternalBalance"], "QualifierValues"]? $\endgroup$ – M.R. Nov 18 '18 at 22:21
  • $\begingroup$ That it is. I didn't know that was a possible query. Where's that documented? (is it?) $\endgroup$ – b3m2a1 Nov 18 '18 at 22:21
  • $\begingroup$ Haha, I'm not sure it is. $\endgroup$ – M.R. Nov 18 '18 at 22:23
  • $\begingroup$ Figures. Want to toss that in as the answer? $\endgroup$ – b3m2a1 Nov 18 '18 at 22:23
  • $\begingroup$ @M.R. It is documented in the Details section of the EntityValue documentation. $\endgroup$ – Edmund Nov 18 '18 at 23:55

You can discover available qualifiers and values for a property like this:

EntityValue[ EntityProperty["Country", "ExternalBalance"], "QualifierValues"]

I did find one example of this usage - in the Scope section of EntityValue ref page:

enter image description here


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.