How do I find the list of values for an EntityProperty qualifier?











up vote
7
down vote

favorite
3












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:



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

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


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










share|improve this question






















  • Is that just EntityValue[ EntityProperty["Country", "ExternalBalance"], "QualifierValues"]?
    – M.R.
    Nov 18 at 22:21










  • That it is. I didn't know that was a possible query. Where's that documented? (is it?)
    – b3m2a1
    Nov 18 at 22:21












  • Haha, I'm not sure it is.
    – M.R.
    Nov 18 at 22:23










  • Figures. Want to toss that in as the answer?
    – b3m2a1
    Nov 18 at 22:23










  • @M.R. It is documented in the Details section of the EntityValue documentation.
    – Edmund
    Nov 18 at 23:55















up vote
7
down vote

favorite
3












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:



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

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


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










share|improve this question






















  • Is that just EntityValue[ EntityProperty["Country", "ExternalBalance"], "QualifierValues"]?
    – M.R.
    Nov 18 at 22:21










  • That it is. I didn't know that was a possible query. Where's that documented? (is it?)
    – b3m2a1
    Nov 18 at 22:21












  • Haha, I'm not sure it is.
    – M.R.
    Nov 18 at 22:23










  • Figures. Want to toss that in as the answer?
    – b3m2a1
    Nov 18 at 22:23










  • @M.R. It is documented in the Details section of the EntityValue documentation.
    – Edmund
    Nov 18 at 23:55













up vote
7
down vote

favorite
3









up vote
7
down vote

favorite
3






3





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:



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

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


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










share|improve this question













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:



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

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


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







entity






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 18 at 20:42









b3m2a1

25.6k254150




25.6k254150












  • Is that just EntityValue[ EntityProperty["Country", "ExternalBalance"], "QualifierValues"]?
    – M.R.
    Nov 18 at 22:21










  • That it is. I didn't know that was a possible query. Where's that documented? (is it?)
    – b3m2a1
    Nov 18 at 22:21












  • Haha, I'm not sure it is.
    – M.R.
    Nov 18 at 22:23










  • Figures. Want to toss that in as the answer?
    – b3m2a1
    Nov 18 at 22:23










  • @M.R. It is documented in the Details section of the EntityValue documentation.
    – Edmund
    Nov 18 at 23:55


















  • Is that just EntityValue[ EntityProperty["Country", "ExternalBalance"], "QualifierValues"]?
    – M.R.
    Nov 18 at 22:21










  • That it is. I didn't know that was a possible query. Where's that documented? (is it?)
    – b3m2a1
    Nov 18 at 22:21












  • Haha, I'm not sure it is.
    – M.R.
    Nov 18 at 22:23










  • Figures. Want to toss that in as the answer?
    – b3m2a1
    Nov 18 at 22:23










  • @M.R. It is documented in the Details section of the EntityValue documentation.
    – Edmund
    Nov 18 at 23:55
















Is that just EntityValue[ EntityProperty["Country", "ExternalBalance"], "QualifierValues"]?
– M.R.
Nov 18 at 22:21




Is that just EntityValue[ EntityProperty["Country", "ExternalBalance"], "QualifierValues"]?
– M.R.
Nov 18 at 22:21












That it is. I didn't know that was a possible query. Where's that documented? (is it?)
– b3m2a1
Nov 18 at 22:21






That it is. I didn't know that was a possible query. Where's that documented? (is it?)
– b3m2a1
Nov 18 at 22:21














Haha, I'm not sure it is.
– M.R.
Nov 18 at 22:23




Haha, I'm not sure it is.
– M.R.
Nov 18 at 22:23












Figures. Want to toss that in as the answer?
– b3m2a1
Nov 18 at 22:23




Figures. Want to toss that in as the answer?
– b3m2a1
Nov 18 at 22:23












@M.R. It is documented in the Details section of the EntityValue documentation.
– Edmund
Nov 18 at 23:55




@M.R. It is documented in the Details section of the EntityValue documentation.
– Edmund
Nov 18 at 23:55










1 Answer
1






active

oldest

votes

















up vote
8
down vote



accepted










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






share|improve this answer





















    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "387"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f186264%2fhow-do-i-find-the-list-of-values-for-an-entityproperty-qualifier%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    8
    down vote



    accepted










    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






    share|improve this answer

























      up vote
      8
      down vote



      accepted










      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






      share|improve this answer























        up vote
        8
        down vote



        accepted







        up vote
        8
        down vote



        accepted






        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






        share|improve this answer












        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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 18 at 22:26









        M.R.

        15.5k555180




        15.5k555180






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f186264%2fhow-do-i-find-the-list-of-values-for-an-entityproperty-qualifier%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Create new schema in PostgreSQL using DBeaver

            Deepest pit of an array with Javascript: test on Codility

            Costa Masnaga