<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel rdf:about="https://community.wolfram.com">
    <title>Community RSS Feed</title>
    <link>https://community.wolfram.com</link>
    <description>RSS Feed for Wolfram Community showing any discussions tagged with Wolfram|Alpha with no replies sorted by most viewed.</description>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/516854" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/374449" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/329903" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/584320" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/573326" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/584332" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/743670" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/747171" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/311325" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/429851" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/406693" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/231077" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/401731" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/489890" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/581813" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/393665" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/356128" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/558931" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/579859" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/392129" />
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/516854">
    <title>How to Install HadoopLink?</title>
    <link>https://community.wolfram.com/groups/-/m/t/516854</link>
    <description>Hello, I am trying to use the HadoopLink package for the first time, and running into a few challenges.  I am hoping someone out there is using this successfully, and might have some tips for a smooth installation in the current version of mathematica (10.2 at the time of writing this).  &#xD;
&#xD;
I have downloaded the open-source project and I am following along with [HadoopLink installation instructions on GitHub][1].&#xD;
&#xD;
I have unpacked the .zip and placed the HadoopLink folder (and only that folder, not the entire unpacked project) into my $User/Libarary/Mathematica/Applications folder, and loaded the package using:&#xD;
&#xD;
    &amp;lt;&amp;lt; HadoopLink`&#xD;
&#xD;
But when I proceed to the next step, and execute this code...&#xD;
&#xD;
    link = OpenHadoopLink[&#xD;
       &amp;#034;fs.default.name&amp;#034; -&amp;gt; &amp;#034;hdfs://hadoopheadlx.wolfram.com:8020&amp;#034;,&#xD;
       &amp;#034;mapred.job.tracker&amp;#034; -&amp;gt; &amp;#034;hadoopheadlx.wolfram.com:8021&amp;#034;];&#xD;
&#xD;
    DFSFileNames[link]&#xD;
&#xD;
Mathematica output spews a bunch of Java exceptions (attached).  Anybody have more detailed instructions on setting up HadoopLink?  Maybe I should have put the entire project folder into the /Applications folder instead.  I will try that now...&#xD;
&#xD;
  [1]: https://github.com/shadanan/HadoopLink</description>
    <dc:creator>Caitlin Ramsey</dc:creator>
    <dc:date>2015-06-22T15:09:06Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/374449">
    <title>Wolfram Alpha Pro extremely slow/not loading?</title>
    <link>https://community.wolfram.com/groups/-/m/t/374449</link>
    <description>I just bought Wolfram Alpha Pro and now nothing is loading.&#xD;
I tried putting in something as simple as 6+6 and when I press enter the page does not load at all.&#xD;
&#xD;
However, when I logged out of my pro account, everything works fine.</description>
    <dc:creator>S C</dc:creator>
    <dc:date>2014-10-21T23:56:30Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/329903">
    <title>Extensions for Problem Solver Generator and Pure Research w/ Wolfram Lang.</title>
    <link>https://community.wolfram.com/groups/-/m/t/329903</link>
    <description>I expected to see The Step by Step Experiments conducted by Gregory Mendel in Moravia, in his Monastery, the fact that Mendel is no accident, and why he picked peas and which studies he conducted and how and the models he developed, the terminology. I&amp;#039;m watching Biology 7.00x, and Wolfram should be able to compute that. A pure extension of Mathematica Pura towards Biologica Pura, I don&amp;#039;t know.  &#xD;
(Just submitted to Wolfram|Alpha Feedback)&#xD;
&#xD;
A natural extension of Wolfram&amp;#039;s Problem Generator also, but I&amp;#039;m also alluding to the ideas on the blog post by Stephen Wolfram on conducting research on Pure Mathematics extending the capabilities and computational resourcefulness of the language to realms beyond Mathematics.&#xD;
&#xD;
  [1]: http://goo.gl/ZHMCzt</description>
    <dc:creator>Francisco Barreto</dc:creator>
    <dc:date>2014-08-28T01:27:02Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/584320">
    <title>Rendering queryresult</title>
    <link>https://community.wolfram.com/groups/-/m/t/584320</link>
    <description>Hi all!&#xD;
Please, how to render in a web page the text file, copyed and pasted, in response to a request to the WolframAlpha web service on developer&amp;#039;s wolfram page?&#xD;
Thank&amp;#039;s in advance.</description>
    <dc:creator>donato grassi</dc:creator>
    <dc:date>2015-10-17T07:38:40Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/573326">
    <title>Problem with Android Wolfram app ( Computation Time ? )</title>
    <link>https://community.wolfram.com/groups/-/m/t/573326</link>
    <description>Hey there, i bought Wolfram Alpha for **Android** on the Google Play-store.&#xD;
&#xD;
Everything was fine, until i realized that the **&amp;#034;Step-by-Step Solution&amp;#034;** doesn&amp;#039;t work in some math problems.&#xD;
&#xD;
For example this simple problem does not provides me with a **&amp;#034;Step-by-Step Solution&amp;#034;**:     &#xD;
.&#xD;
(3*?72)-(5*?128)-(7*?64)=&#xD;
-----------------------------&#xD;
.&#xD;
&#xD;
The issue here is that this looks like the **&amp;#034;Computation Time&amp;#034;** error of the Web version of Wolfram where you need to increase it, in order to get the solutions.&#xD;
&#xD;
I&amp;#039;m not sure if there is a fix for this in the app version, but any help would be appreciated.&#xD;
&#xD;
Thanks in advance.&#xD;
&#xD;
*Please find attached the screenshot of my phone when i press the solution button, it just says*  ***&amp;#034;Possible Intermediate Steps&amp;#034;***  *and does not provide me with anything else.*</description>
    <dc:creator>Andrew C</dc:creator>
    <dc:date>2015-09-30T21:43:46Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/584332">
    <title>Get PHP simpleXMLElement</title>
    <link>https://community.wolfram.com/groups/-/m/t/584332</link>
    <description>Hi evrbody!&#xD;
I&amp;#039;ve used PHP Binding to get queryresult from WolframAlpha api server and all works fine on my local web server, where PHP version running is 5.4.&#xD;
So I put the application on a remote web server running the same PHP version, but I get an error sounds as the method I use to get the query result is applied on a non-object where the method is waiting for an object.&#xD;
Please, someone can help me to address the solution to fix this error?&#xD;
Many thanks in advance.</description>
    <dc:creator>donato grassi</dc:creator>
    <dc:date>2015-10-17T09:11:19Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/743670">
    <title>Trouble shooting: alpha widget installed but doesn&amp;#039;t work.</title>
    <link>https://community.wolfram.com/groups/-/m/t/743670</link>
    <description>I have added a conversion widget (Wolfram Alpha) to this webpage, but it doesn&amp;#039;t compute.  It continues to rotate, but no answer gets generated.&#xD;
I have pasted the simple code: &#xD;
&amp;lt;script type=&amp;#034;text/javascript&amp;#034; id=&amp;#034;WolframAlphaScriptf1bce3f7171d3065c657d72a2a84fc2e&amp;#034; src=&amp;#034;//www.wolframalpha.com/widget/widget.jsp?id=f1bce3f7171d3065c657d72a2a84fc2e&amp;amp;theme=blue&amp;#034;&amp;gt;&amp;lt;/script&amp;gt;&#xD;
to &#xD;
http://kenaston.ca/pages/links.htm&#xD;
&#xD;
Can anyone help me with this?&#xD;
&#xD;
Thanks</description>
    <dc:creator>Glen Pavelich</dc:creator>
    <dc:date>2015-11-22T20:57:07Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/747171">
    <title>Why does this API call result in a computation error?</title>
    <link>https://community.wolfram.com/groups/-/m/t/747171</link>
    <description>Hi,&#xD;
I&amp;#039;m new to Wolfram Alpha, just trying to use it to solve some equations and get the results back into a Google Sheets document. [Here&amp;#039;s an example of what I&amp;#039;m trying to get it to solve][1].&#xD;
&#xD;
Works fine, right? Similarly, if I put that query into the [API explorer][2], it gives me a query URL with an input portion that matches the URL in my original test:&#xD;
&#xD;
http://api.wolframalpha.com/v2/query?appid=xxx&amp;amp;input=(0.05660377358490565%5E-a%20%3D5.263157894736842*0.4339622641509434%5E-a%20%2B%201%20-%205.263157894736842)&amp;amp;format=plaintext&#xD;
&#xD;
But if I put my App ID into that URL, rather than getting the answer back, I get a mysterious error message:&#xD;
&#xD;
    &amp;lt;queryresult success=&amp;#034;false&amp;#034; error=&amp;#034;true&amp;#034; numpods=&amp;#034;0&amp;#034; datatypes=&amp;#034;&amp;#034; timedout=&amp;#034;&amp;#034; timedoutpods=&amp;#034;&amp;#034; timing=&amp;#034;1.879&amp;#034; parsetiming=&amp;#034;0.&amp;#034; parsetimedout=&amp;#034;false&amp;#034; recalculate=&amp;#034;&amp;#034; id=&amp;#034;&amp;#034; host=&amp;#034;http://www4b.wolframalpha.com&amp;#034; server=&amp;#034;38&amp;#034; related=&amp;#034;&amp;#034; version=&amp;#034;2.6&amp;#034;&amp;gt;&#xD;
    &amp;lt;error&amp;gt;&#xD;
    &amp;lt;code&amp;gt;1010&amp;lt;/code&amp;gt;&#xD;
    &amp;lt;msg&amp;gt;Computation error&amp;lt;/msg&amp;gt;&#xD;
    &amp;lt;/error&amp;gt;&#xD;
    &amp;lt;/queryresult&amp;gt;&#xD;
&#xD;
&#xD;
Why is that happening? It works everywhere except in the one place I actually need it to work!&#xD;
&#xD;
  [1]: http://www.wolframalpha.com/input/?i=%280.05660377358490565%5E-a%20=5.263157894736842*0.4339622641509434%5E-a%20%2b%201%20-%205.263157894736842%29&#xD;
  [2]: http://products.wolframalpha.com/api/explorer.html</description>
    <dc:creator>Stephen McGreal</dc:creator>
    <dc:date>2015-11-30T14:07:37Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/311325">
    <title>R3DM perspective on Wolfram Technology</title>
    <link>https://community.wolfram.com/groups/-/m/t/311325</link>
    <description>A concise synopsis of the chaotic situation that is present in information technology is this:&#xD;
&#xD;
The user is experiencing a threefold Tower of Babel in semantics, i.e. conceptual modelling, in computer programming, i.e. symbolic modelling and in persistent or temporary storage and retrieval of information, i.e. data modelling. Is it possible to bring order to that chaos ?&#xD;
&#xD;
My answer is yes provided that we are tuned into a similar perspective as that of R3DM and Wolfram Technology. The reason I am referring to Wolfram technology in that post of mine is to observe and acknowledge that the combination of Wolfram Alpha, Wolfram Language and Wolfram Kernel demonstrate a primary implementation on the three levels of abstraction that I have defined in R3DM (Resource, Representation, Realization).&#xD;
&#xD;
I have been inspired to formulate R3DM when I started reading publications on the &amp;#034;identity crisis&amp;#034; problem that is still evident in the &amp;#034;Semantic&amp;#034;, i.e. linked data, RDFised, web four years ago. The interoperability of computer systems in healthcare was another reason and a third one was the personal information management of information resources. Thankfully the maturity of Wolfram technology, and to be precise the immense research of this product in many fields of computer science for more than three decades of research, came just in time to provide the means to enter a new era of information technology.&#xD;
&#xD;
R3DM can be a concise perspective on the operations that take place in Wolfram Techology. To begin, RESOURCES at S3 (Signified) level, may ORIGINATE from Wolfram Alpha. They can equally originate of course from Wikidata, Freebase, OpenCyc, or any other semantic database. This is all about conceptual modelling, i.e. concepts and their associations. Then it comes the symbolic manipulation, in my opinion this is where Wolfram technology excels. It is a unique blending and style of functional programming together with rule-based programming.&#xD;
&#xD;
We have already entered the symbol level S2 of R3DM. Therefore information RESOURCES can be REPRESENTED THROUGH Wolfram Language in ANY WAY you can imagine, think about numeric symbols, graphics, sounds, images, etc. Everything is there ready for use. I think what most people find hard to conceive, is the connection of the two levels S3 and S2. After all both &amp;#034;Concepts&amp;#034; and &amp;#034;Symbols&amp;#034; are equally represented with symbols. The hard part is that any concept can be represented in numerous ways, with any kind of symbolic expression speaking in Wolfram language terminology. Nevertheless the semantics, i.e. meaning of concept remain the same, whatever representation, i.e. syntax, symbols you are going to use. In my opinion there is a lot of work to be done in the connection between these two levels and the modelling of the highest level S3.&#xD;
&#xD;
But to continue the story, symbolic expressions at level S2 have to be encoded, i.e. see REALIZED in R3DM, at a lower level S1 (signifier). This is the land of data encoded in any form including binary forms. Think about JSON, XML, HTML, RDF, PDF, JPEG, XLSX, BIN, TXT, etc. This is another major stumbling block because any symbolic expression can be encoded in myriads of file - data serialization formats. Even worse, in my opinion very often developers cannot grasp the fundamental distinction between symbolic expressions and permanent/temporary storage i.e. the distinction between symbols and data. In R3MD data are mere content and containers with structure, i.e. data structures. Wolfram Language has a lot to exhibit here in terms of data transformation and importing, exporting but the level of data has not become separable.&#xD;
&#xD;
You are right to think that the border lines among the three levels S1, S2, S3 I described are bleared. But I think the challenge of any system or framework is exactly that to define precisely the boundaries and make clear and distinct the operations at each level. This is what I am working on.&#xD;
&#xD;
Read more and comment at Computational Semiotics group, http://goo.gl/8ZuikV</description>
    <dc:creator>Athanassios Hatzis</dc:creator>
    <dc:date>2014-08-02T13:47:16Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/429851">
    <title>Asymmetric, bicubic and $3$-edge colorable graphs by W|A</title>
    <link>https://community.wolfram.com/groups/-/m/t/429851</link>
    <description>I&amp;#039;m interested in finding graphs with certain properties, like [the smallest cubic bipartite asymmetric graph](http://math.stackexchange.com/q/1109733/19341). While working on a related graph-theoretic problem, concerning [edge-colrings](http://math.stackexchange.com/q/1121030/19341), I came along  [Georges Graph](http://www.wolframalpha.com/input/?i=GeorgesGraph) at Wolfram|Alpha.&#xD;
&#xD;
It shows a nice collection of properties of the graph:&#xD;
&#xD;
asymmetric  |  bicolorable  |  biconnected  |  bicubic  |  bipartite  |  bridgeless  |  class 1  |  connected  |  cubic  |  cyclic  |  local  |  noncayley  |  noneulerian  |  nonhamiltonian  |  nonplanar  |  perfect  |  perfect matching  |  regular  |  square-free  |  traceable  |  triangle-free  |  weakly regular&#xD;
&#xD;
So I&amp;#039;m interested if it&amp;#039;s possible to search Wolfram|Alpha for graph with certain properties.&#xD;
&#xD;
How to build a query, that returns a list of graphs that are asymmetric, bicubic and $3$-edge colorable i.e. they have chromatic index $3$?&#xD;
&#xD;
Other ways to get that list are also welcome..&#xD;
&#xD;
Cross-posted: http://mathematica.stackexchange.com/q/72628/1436</description>
    <dc:creator>draks ...</dc:creator>
    <dc:date>2015-01-27T21:55:16Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/406693">
    <title>How to get prime factorization with a factor base?</title>
    <link>https://community.wolfram.com/groups/-/m/t/406693</link>
    <description>How can I get the prime factors of a number, with all the primes being less to a factor base $B$. For example given $B=8$, then the primes used can only be in $\{2,3,5,7\}$. And given $48$, it returns $2^43$.&#xD;
&#xD;
Anyone know how to do this in wolfram alpha?&#xD;
&#xD;
Thanks</description>
    <dc:creator>Ryan D&amp;#039;Souza</dc:creator>
    <dc:date>2014-12-12T20:08:31Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/231077">
    <title>Dive into the W|A XML Data with Python</title>
    <link>https://community.wolfram.com/groups/-/m/t/231077</link>
    <description>This is a follow-up of[url=http://community.wolfram.com/groups/-/m/t/228183?p_p_auth=WYUrS8kj] the thread about obtaining the XML data file from the W|A server.[/url] This discussion shows the detailed implementation of the [url=http://products.wolframalpha.com/api/documentation.html]API documentation[/url] with Python. 

Use [url=http://advencode.wordpress.com/2011/10/17/simple-query-request-with-wolfram-api/]the following code[/url] (just need this part from the code through the link) to load the sample XML (a developer ID/appid is required to obtain the xml file. The XML file is not provided within this thread). You can run this code line by line from the python interactive interface (I use python 2.7)[code]&amp;gt;&amp;gt;&amp;gt; import urllib
&amp;gt;&amp;gt;&amp;gt; import urllib2
&amp;gt;&amp;gt;&amp;gt; base_url = &amp;#039;http://api.wolframalpha.com/v2/query?&amp;#039;
&amp;gt;&amp;gt;&amp;gt; headers = {&amp;#039;User - Agent&amp;#039; : None}
&amp;gt;&amp;gt;&amp;gt; data = &amp;#039;input=GOOG&amp;amp;appid=Q7****&amp;#039;
&amp;gt;&amp;gt;&amp;gt; req = urllib2.Request (base_url, data, headers)
&amp;gt;&amp;gt;&amp;gt; xml = urllib2.urlopen (req).read ()[/code]The result should be similar to the below. You can simply highlight and copy the print from &amp;lt;?xml ... &amp;gt; to &amp;lt;/queryresult&amp;gt; (end of the xml data)  in terminal and paste it into your own file  &amp;#034;~/test.xml&amp;#034; (create it by &amp;#034;$ nano ~/test.xml&amp;#034;).  [center][img=width: 524px; height: 373px;]/c/portal/getImageAttachment?filename=print.png&amp;amp;userId=23928[/img][/center]To analyze the infomation in this xml file in any other Python session, you will need to import it from the &amp;#034;test.xml&amp;#034; (if you want to use it directly within the session you can use the [url=https://docs.python.org/2/library/xml.etree.elementtree.html]ElementTree.fromstring[/url] method). Use the [url=https://docs.python.org/2/library/xml.etree.elementtree.html#functions]parse()[/url] method to create a tree-like data struction in python, which you can manipuate later. [code]&amp;gt;&amp;gt;&amp;gt; import xml.etree.ElementTree as ET
&amp;gt;&amp;gt;&amp;gt; tree = ET.parse (&amp;#039;test.xml&amp;#039;)
&amp;gt;&amp;gt;&amp;gt; print tree
&amp;lt; xml.etree.ElementTree.ElementTree object at 0 x...... &amp;gt;[/code]To check what is in the root object, you can use the tag method to get the first level children of the root: (&amp;#034;ele&amp;#034; means element)[code]&amp;gt;&amp;gt;&amp;gt; root = tree.getroot()

&amp;gt;&amp;gt;&amp;gt; print root
&amp;lt;Element &amp;#039;queryresult&amp;#039; at 0x......&amp;gt;

&amp;gt;&amp;gt;&amp;gt; for ele in root : print ele.tag, ele.attrib[/code][center][img=width: 750px; height: 199px;]/c/portal/getImageAttachment?filename=podlist.png&amp;amp;userId=23928[/img][/center]
Each list represents the attribution list of this pair: &amp;lt;pod attrib &amp;gt; &amp;lt;/pod&amp;gt; . For instance: [code]&amp;lt; ?xml version=&amp;#039;1.0&amp;#039; encoding=&amp;#039;UTF-8&amp;#039;?&amp;gt;
...
  &amp;lt; pod title = &amp;#039; Latest trade&amp;#039;
     scanner = &amp;#039; FinancialData&amp;#039;
     id = &amp;#039; Quote&amp;#039;
     position = &amp;#039; 200&amp;#039;
     error = &amp;#039; false&amp;#039;
     numsubpods = &amp;#039; 1&amp;#039;
     primary = &amp;#039; true&amp;#039; &amp;gt;
  ...[/code]Use the [url=https://docs.python.org/2/tutorial/datastructures.html#dictionaries]dictionary key[/url] to find the title of a particular node/pod:  [code]&amp;gt;&amp;gt;&amp;gt; root[1].attrib[&amp;#039;title&amp;#039;]
&amp;#039; Latest trade&amp;#039;[/code]The ouput result of this pod is hidden in the &amp;lt;plaintext&amp;gt; wrapper, which is under a &amp;lt;subpod&amp;gt; wrapper. Therefore we &amp;lt;plaintext&amp;gt; is just the grandson of the &amp;lt;pod&amp;gt;, root[1][code]&amp;lt; subpod title = &amp;#039;&amp;#039; &amp;gt;
      &amp;lt; plaintext &amp;gt; $1127 .74 (GOOG | NASDAQ | 1 min ago) &amp;lt; /plaintext &amp;gt;
  ...[/code]I suggest the subrouting to extract the information of a child node in case of duplication: [code]&amp;gt;&amp;gt;&amp;gt; latestTrade = [ele for ele in root.findall (&amp;#039;pod&amp;#039;) if ele.attrib[&amp;#039;title&amp;#039;] == &amp;#039;Latest trade&amp;#039;]

&amp;gt;&amp;gt;&amp;gt; len(latestTrade) # rarely, more than one pods have the same title
1 [/code]then use the &amp;#034;latestTrade&amp;#034; as root for the subTree. Go down two levels to reach &amp;lt;plaintext&amp;gt;[code]&amp;gt;&amp;gt;&amp;gt; latestTrade = [ele for ele in latestTrade[0].findall (&amp;#039;subpod&amp;#039;)]
&amp;gt;&amp;gt;&amp;gt; latestTrade = [ele for ele in latestTrade[0].findall (&amp;#039;plaintext&amp;#039;)]
&amp;gt;&amp;gt;&amp;gt; latestTrade[0].text 
&amp;#039; $1127 .74 (GOOG | NASDAQ | 1 min ago)&amp;#039;[/code]Notice that I append [0] to &amp;#034;latestTrade&amp;#034; token because each &amp;#034;[ele ... ]&amp;#034; returns a[url=https://docs.python.org/2/tutorial/datastructures.html] list object[/url] in python and index variable is to dereference the first item.  
Python offers a better flow control to the demonstrative code via [url=https://docs.python.org/2/tutorial/datastructures.html#nested-list-comprehensions]nested iterable object[/url]. Here is a simple implementation: [code]&amp;gt;&amp;gt;&amp;gt; result = [[[(pod.get (&amp;#039;title&amp;#039;), node.text) for node in subp.iter (&amp;#039;plaintext&amp;#039;)] \
       for subp in pod.iter(&amp;#039;subpod&amp;#039;) ] for pod in root.iter (&amp;#039;pod&amp;#039;)][/code]Each element in the &amp;#034;res&amp;#034; is a 2D array of &amp;#039;title&amp;#039; and &amp;#039;value&amp;#039; pair. I prefer to use the dictionary object to save result if no duplicated pod title. Otherwise make a list as the value to the given key.  [code]&amp;gt;&amp;gt;&amp;gt; result[0]
[[(&amp;#039;Input interpretation&amp;#039;, &amp;#039;Google (GOOG)&amp;#039;)]]
&amp;gt;&amp;gt;&amp;gt; result = dict([result[ele][0][0] for ele in range(len(result))])[/code]It is very simple to get the value of any given title/key: [code]&amp;gt;&amp;gt;&amp;gt; result[&amp;#039;Latest trade&amp;#039;]
&amp;#039;$1127.74 (GOOG | NASDAQ | 1 min ago)&amp;#039;
&amp;gt;&amp;gt;&amp;gt; print res[&amp;#039;Recent returns&amp;#039;]
day | month | YTD | year | 5 year
-0.91% | +0.2% | +6.1% | +43.67% | [/code]The Wolfram Alpha engine provides not only a rich pool of data but also [url=http://products.wolframalpha.com/api/documentation.html#4]an elegant set of controls[/url] to customize the ouput.  For instance, the hightlight parts below including [url=http://products.wolframalpha.com/api/documentation.html#6]&amp;#034;Assumption&amp;#034; and More/Less toggle[/url]. You are able to switch to a different representation or knowledge domain via the API as well.[center][img=width: 660px; height: 530px;]/c/portal/getImageAttachment?filename=options.png&amp;amp;userId=23928[/img][/center]
Take the More/Less toggle as an example. 
First, you will need to find the pod state of this entry from the XML file. This piece of information usually hides in the &amp;lt;state&amp;gt; wrapper, a child node of &amp;lt;pod&amp;gt; and a sister node of &amp;lt;subpod&amp;gt;. Use a similar subroutine to that for &amp;lt;plaintext&amp;gt;, you can extract all but every states, not limited to our example:  [code]&amp;gt;&amp;gt;&amp;gt; resStates = [[[(pod.get(&amp;#039;title&amp;#039;),node.attrib[&amp;#039;input&amp;#039;]) for node in st.iter(&amp;#039;state&amp;#039;)] for st in pod.iter(&amp;#039;states&amp;#039;) ] for pod in root.iter(&amp;#039;pod&amp;#039;)]
&amp;gt;&amp;gt;&amp;gt; myStates = [ele[0] for ele in resStates if ele!=[]] # remove the empty list
&amp;gt;&amp;gt;&amp;gt; for ele in myStates:
...     for pairs in ele: 
...         print pairs[0],&amp;#039;\t&amp;#039;, pairs[1]
...
Latest trade 	Quote__More
Price history 	PriceHistory__Last year
Price history 	PriceHistory__Last week
Price history 	PriceHistory__Last month
Price history 	PriceHistory__Last 2 years
Price history 	PriceHistory__Last 5 years
Price history 	PriceHistory__Last 10 years
Price history 	PriceHistory__Last 30 years
Price history 	PriceHistory__All data
........[/code]Once you print out the list of status, you can just pick up one and use &amp;#034;urllib.urlencode&amp;#034; function to create a valid query: [code]&amp;gt;&amp;gt;&amp;gt; url_params = {&amp;#039;input&amp;#039;:&amp;#039;GOOG&amp;#039;, &amp;#039;appid&amp;#039;:&amp;#039;appid&amp;#039;, &amp;#039;podstate&amp;#039;:&amp;#039;Quote__More&amp;#039;}
&amp;gt;&amp;gt;&amp;gt; data = urllib.urlencode(url_params)
&amp;gt;&amp;gt;&amp;gt; data
&amp;#039;input=GOOG&amp;amp;podstate=Quote__More&amp;amp;appid=appid&amp;#039;[/code]If you want to specify more than one pod state, you may not directly put them into &amp;#034;url_params&amp;#034; list above in the dictionary form. Because the dictionary object does not allow duplicated key, items with the same key are discarded but the last one. Instead you can use iteration with string manipuation to append the pod states to the target. For instance: [code]&amp;gt;&amp;gt;&amp;gt; url_params = {&amp;#039;input&amp;#039;:&amp;#039;GOOG&amp;#039;, &amp;#039;appid&amp;#039;:&amp;#039;appid&amp;#039;}
&amp;gt;&amp;gt;&amp;gt; data = urllib.urlencode(url_params)
&amp;gt;&amp;gt;&amp;gt; data
&amp;#039;input=ip&amp;amp;appid=appid&amp;#039;
&amp;gt;&amp;gt;&amp;gt; for ele in {&amp;#039;Quote__more&amp;#039;,&amp;#039;PriceHistory__All data&amp;#039;}: 
...     data+=&amp;#039;&amp;amp;&amp;#039;
...     data+=f(ele)
... 
&amp;gt;&amp;gt;&amp;gt; data
&amp;#039;input=GOOG&amp;amp;appid=appid&amp;amp;podstate=PriceHistory__All+data&amp;amp;podstate=Quote__more&amp;#039;[/code]where the function [b]f[/b] is defined as [code]&amp;gt;&amp;gt;&amp;gt; def f(podSt):
...     return urllib.urlencode({&amp;#039;podstate&amp;#039;:podSt})[/code]You should be able to  handshake with the WA server and obtain a new piece of XML data containing more detailed data for GOOG stock in terms of the &amp;#039;Latest trade&amp;#039; and &amp;#039;Price history&amp;#039; [code]base_url = &amp;#039;http : // api.wolframalpha.com/v2/query?&amp;#039;
headers = {&amp;#039;User - Agent&amp;#039; : None}
req = urllib2.Request (base_url, data, headers)
xml = urllib2.urlopen (req).read ()[/code]Result comparison
1. &amp;lt; plaintext &amp;gt; in the new xml has one more &amp;#034;open&amp;#034; price
2. &amp;lt;states&amp;gt; has the attribute &amp;lt;count = 2&amp;gt; instead of 1 in the old xml file. This action creates a dynamic update of the controls on the web interface as well: after you click the more button in the &amp;#034;Latest trade&amp;#034; pod, the button splits into two more buttons. [center][img]/c/portal/getImageAttachment?filename=moreOption.png&amp;amp;userId=23928[/img][/center]
Sometimes not all data are available through API. In this paticular pod, you can see another &amp;#034;More&amp;#034; button after you click it for the first time. To get the second level of expansion, you can [url=http://products.wolframalpha.com/api/documentation.html#4]put a &amp;#034;n@&amp;#034; in front of the &amp;#034;Quote__more&amp;#034; option[/url]. Reload the urlopen you will have more entries such as rows for ask and bid. [code]&amp;gt;&amp;gt;&amp;gt; dataNew = &amp;#039;input=GOOG&amp;amp;appid=appid&amp;amp;podstate=PriceHistory__All+data&amp;amp;podstate=2@Quote__more&amp;#039;[/code][center][img=width: 800px; height: 402px;]/c/portal/getImageAttachment?filename=2more.png&amp;amp;userId=23928[/img][/center]
I will leave the assumption part as your practice problem if you want to command more for query techniques using Python. If you have any idea and want to comment, feel free to write it down below. </description>
    <dc:creator>Shenghui Yang</dc:creator>
    <dc:date>2014-04-04T02:51:51Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/401731">
    <title>Why do I get an apparent error with extrema calculator at wolframalpha.com?</title>
    <link>https://community.wolfram.com/groups/-/m/t/401731</link>
    <description>When I put $x^3$ for  &#xD;
&#xD;
    -2 &amp;lt;x &amp;lt; 2  &#xD;
&#xD;
into extrema calculator at wolframalpha.com I get a local min of 0 at x=0 and a local max of 0 at x=0</description>
    <dc:creator>Jerome Caldwell</dc:creator>
    <dc:date>2014-12-04T07:16:57Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/489890">
    <title>Looking for methods to evaluate part compatibility within CAD models</title>
    <link>https://community.wolfram.com/groups/-/m/t/489890</link>
    <description>Hello,&#xD;
Are there methods available to analyze a 3D CAD assembly to determine if parts are mated to compatible components?&#xD;
&#xD;
I work in hydraulic system design, and it&amp;#039;s sometimes difficult to review the work of others to determine if a particular hydraulic fitting is assembled in the model to an appropriate size and type of mating fitting or port.  It would be wonderful to be able to analyze the assembly to see if the parts are chosen correctly based on size, type, pressure rating, seal material, component material and even the manufacturer.  Love to hear your thoughts.  Perhaps I can upload the model to a Wolfram App and analyze it that way?  We use Creo 2.0.&#xD;
&#xD;
Thanks,&#xD;
Andy</description>
    <dc:creator>Andy Hessler</dc:creator>
    <dc:date>2015-05-01T21:56:53Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/581813">
    <title>Matrix Symbolic Operations</title>
    <link>https://community.wolfram.com/groups/-/m/t/581813</link>
    <description>Hello Community,&#xD;
&#xD;
I was wondering what the correct way to expand and simplify Matrix Operations symbolically in WolframAlpha|Pro?&#xD;
&#xD;
An example would be A(A+B)-B(A-B)&#xD;
&#xD;
I understand that with matrix multiplication the order matters hence to be able to check my hand calc would be super awesome.&#xD;
&#xD;
Thanks in Advance.</description>
    <dc:creator>Joe Blogs</dc:creator>
    <dc:date>2015-10-14T02:58:40Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/393665">
    <title>How to plot this equation? VOLUME REVOLUTION</title>
    <link>https://community.wolfram.com/groups/-/m/t/393665</link>
    <description>Name: Cassio &#xD;
&#xD;
Input: y=x^2+1; x=0; x=2; y=0&#xD;
&#xD;
 &#xD;
 How to solve this equation?&#xD;
&#xD;
 y=x^2+1; x=0; x=2; y=0  (solid volume revolution) &#xD;
&#xD;
from rotation of the x-axis?&#xD;
&#xD;
I wolfram alpha app Android&#xD;
&#xD;
thanks.</description>
    <dc:creator>Cassio Ramos</dc:creator>
    <dc:date>2014-11-20T19:05:36Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/356128">
    <title>How to plot multiple surfaces together in Wolfram|Alpha</title>
    <link>https://community.wolfram.com/groups/-/m/t/356128</link>
    <description>Dear members of the group&#xD;
Could some one explain why the following line produces two surfaces in the same Plot in Mathematica, but the same line  always produces two separated plot in Wolfram|Alpha?&#xD;
&#xD;
    Plot3D[{Sin[x y], Cos[x y]}, {x, -\[Pi], \[Pi]}, {y, -\[Pi], \[Pi]}]&#xD;
&#xD;
Thanks in advance.&#xD;
&#xD;
Jesus Rico</description>
    <dc:creator>J Jesus Rico-Melgoza</dc:creator>
    <dc:date>2014-09-26T18:25:31Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/558931">
    <title>Having trouble with computer freezing up when integrating a function</title>
    <link>https://community.wolfram.com/groups/-/m/t/558931</link>
    <description>I am using Wolfram Alpha on my laptop and I could do a few problems then suddenly my computer started to freeze and any effort to get off the page or exit the browser did not do anything. I am using a 2012 Apple MacBook Pro running Mountain Lion OSx 10.8.5. There&amp;#039;s a possibility that it could be my computer, but I haven&amp;#039;t had any problems with it thus far until I started to integrate on wolfram alpha. Anyone else had this problem before?</description>
    <dc:creator>Bradley Arnold</dc:creator>
    <dc:date>2015-09-03T07:09:39Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/579859">
    <title>Wolfram Alpha Pro and CDF</title>
    <link>https://community.wolfram.com/groups/-/m/t/579859</link>
    <description>I subscribe to Wolfram Alpha Pro, and am having difficulty enabling the interactivity of CDF.  I keep getting a message that I need to install CDF.  But I already have installed it.  I can always download the CDF data file, and then open it in the CDF application, but I suspect that I am missing some better integration directly from Wolfram Alpha.  Anything I should be doing?  (I use Windows 7.)&#xD;
thanks,&#xD;
Nick</description>
    <dc:creator>Nick Pudar</dc:creator>
    <dc:date>2015-10-12T16:08:33Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/392129">
    <title>Wolfram|Alpha: three equations with three unknown variables v1, v2 and v3</title>
    <link>https://community.wolfram.com/groups/-/m/t/392129</link>
    <description>Dear wolframalpha users,&#xD;
I am not able to write system of three equations with three unknown variables v1, v2 and v3 into the wolframalpha.&#xD;
&#xD;
Separate eguations works in wolfram but not together.&#xD;
&#xD;
equation 1:&#xD;
&#xD;
    u*h*sin(2*alfa) = sqrt( (v2*u3-v3*u2)^2 + (v3*u1-v1*u3)^2 + (v1*u2-v2*u1)^2 )&#xD;
&#xD;
equation 2:&#xD;
&#xD;
    h*h*sin(2*alfa) = sqrt( (h2*v3-h3*v2)^2 + (h3*v1-h1*v3)^2 + (h1*v2-h2*v1)^2 )&#xD;
&#xD;
equation 3:&#xD;
&#xD;
    h^2 = v1^2 + v2^2 +v3^2&#xD;
&#xD;
I have tried to write:&#xD;
&#xD;
    u*h*sin(2*alfa) = sqrt( (v2*u3-v3*u2)^2 + (v3*u1-v1*u3)^2 + (v1*u2-v2*u1)^2 ), h*h*sin(2*alfa) = sqrt( (h2*v3-h3*v2)^2 + (h3*v1-h1*v3)^2 + (h1*v2-h2*v1)^2 ), h^2 = v1^2 + v2^2 +v3^2&#xD;
&#xD;
But the wolfram answer was: *Wolfram|Alpha doesn&amp;#039;t understand your query*&#xD;
&#xD;
Then I have tried this beta version site: http://www.wolframalpha.com/widgets/view.jsp?id=ae438682ce61743f90d4693c497621b7&#xD;
&#xD;
But the answer was: *Not a valid input; please try again*&#xD;
&#xD;
Does anyone have any idea what is wrong?&#xD;
&#xD;
Yours faithfuly,&#xD;
Rene Labounek</description>
    <dc:creator>Rene Labounek</dc:creator>
    <dc:date>2014-11-18T14:38:15Z</dc:date>
  </item>
</rdf:RDF>

