<docbook><section><title>VirtSpongerCartridgeSupportedDataSourcesQueryLanguages</title><title>Virtuoso Sponger Query Language Cartridges</title>Virtuoso Sponger Query Language Cartridges
<bridgehead class="http://www.w3.org/1999/xhtml:h2">What Are They?</bridgehead>
<para>Most of the Sponger&#39;s extractor cartridges work on a pool of data, such as an HTML webpage containing metadata, which are extracted into triples.
 Some of the cartridges make API calls to upstream web services to retrieve the relevant pool of data first.</para>
<para>Query Language cartridges are for situations where the data arises from a query executed on the upstream site, ie the data being sponged is the result-set of another query.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Why?</bridgehead>
<para>Maybe the upstream server holds control over, or offers limited or restricted access to, the data; maybe you have a pre-existing application that uses the given language to express its queries.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">How?</bridgehead>
<para>Virtuoso&#39;s Sponger has 3 cartridges that support upstream queries:</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Freebase Query Editor (MQL)</bridgehead>
<para>Upstream query editor interface: <ulink url="http://www.freebase.com/queryeditor">http://www.freebase.com/queryeditor</ulink></para>
<para>Language: MQL, a means of expressing filters in JSON.</para>
<para>Sample:</para>
<programlisting>{
  &quot;album&quot;: [{
    &quot;id&quot;:    null,
    &quot;limit&quot;: 2,
    &quot;name&quot;:  null,
    &quot;track&quot;: []
  }],
  &quot;id&quot;:   null,
  &quot;name&quot;: &quot;The Police&quot;,
  &quot;type&quot;: &quot;/music/artist&quot;
}
</programlisting><para> Permalink to query URL: <ulink url="http://www.freebase.com/queryeditor?q=%7B%22album%22%3A%5B%7B%22id%22%3Anull%2C%22limit%22%3A2%2C%22name%22%3Anull%2C%22track%22%3A%5B%5D%7D%5D%2C%22id%22%3Anull%2C%22name%22%3A%22The%20Police%22%2C%22type%22%3A%22%2Fmusic%2Fartist%22%7D">http://www.freebase.com/queryeditor?q=%7B%22album%22%3A%5B%7B%22id%22%3Anull%2C%22limit%22%3A2%2C%22name%22%3Anull%2C%22track%22%3A%5B%5D%7D%5D%2C%22id%22%3Anull%2C%22name%22%3A%22The%20Police%22%2C%22type%22%3A%22%2Fmusic%2Fartist%22%7D</ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Cartridge Configuration Requirements</bridgehead>
<para>There are no special requirements; because it doesn&#39;t even need an app key to use it, it should be enabled by default after installing the Cartridges VAD package.</para>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Examples</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem>The query: sports players born in Brooklyn: <ulink url="http://www.freebase.com/queryeditor?q=%5B%7B%22id%22%3Anull%2C%22name%22%3Anull%2C%22type%22%3A%22%2Fsports%2Fpro_athlete%22%2C%22sports_played_professionally%22%3A%5B%7B%22sport%22%3A%7B%22id%22%3A%22%2Fwikipedia%2Fru_id%2F30265%22%7D%7D%5D%2C%22%2Fpeople%2Fperson%2Fplace_of_birth%22%3A%7B%22id%22%3A%22%2Fen%2Fbrooklyn%22%7D%2C%22key%22%3A%5B%7B%22value%22%3Anull%2C%22namespace%22%3A%22%2Fauthority%2Fgoogle%2Fgoogle_plus%22%7D%5D%7D%5D&amp;autorun=1">http://www.freebase.com/queryeditor?q=%5B%7B%22id%22%3Anull%2C%22name%22%3Anull%2C%22type%22%3A%22%2Fsports%2Fpro_athlete%22%2C%22sports_played_professionally%22%3A%5B%7B%22sport%22%3A%7B%22id%22%3A%22%2Fwikipedia%2Fru_id%2F30265%22%7D%7D%5D%2C%22%2Fpeople%2Fperson%2Fplace_of_birth%22%3A%7B%22id%22%3A%22%2Fen%2Fbrooklyn%22%7D%2C%22key%22%3A%5B%7B%22value%22%3Anull%2C%22namespace%22%3A%22%2Fauthority%2Fgoogle%2Fgoogle_plus%22%7D%5D%7D%5D&amp;autorun=1</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://www.freebase.com/queryeditor?q=%5B%7B%22id%22%3Anull%2C%22name%22%3Anull%2C%22type%22%3A%22%2Fsports%2Fpro_athlete%22%2C%22sports_played_professionally%22%3A%5B%7B%22sport%22%3A%7B%22id%22%3A%22%2Fwikipedia%2Fru_id%2F30265%22%7D%7D%5D%2C%22%2Fpeople%2Fperson%2Fplace_of_birth%22%3A%7B%22id%22%3A%22%2Fen%2Fbrooklyn%22%7D%2C%22key%22%3A%5B%7B%22value%22%3Anull%2C%22namespace%22%3A%22%2Fauthority%2Fgoogle%2Fgoogle_plus%22%7D%5D%7D%5D&amp;autorun=1">http://uriburner.com/about/html/http://www.freebase.com/queryeditor?q=%5B%7B%22id%22%3Anull%2C%22name%22%3Anull%2C%22type%22%3A%22%2Fsports%2Fpro_athlete%22%2C%22sports_played_professionally%22%3A%5B%7B%22sport%22%3A%7B%22id%22%3A%22%2Fwikipedia%2Fru_id%2F30265%22%7D%7D%5D%2C%22%2Fpeople%2Fperson%2Fplace_of_birth%22%3A%7B%22id%22%3A%22%2Fen%2Fbrooklyn%22%7D%2C%22key%22%3A%5B%7B%22value%22%3Anull%2C%22namespace%22%3A%22%2Fauthority%2Fgoogle%2Fgoogle_plus%22%7D%5D%7D%5D&amp;autorun=1</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://www.freebase.com/queryeditor?q=%5B%7B%22id%22%3Anull%2C%22name%22%3Anull%2C%22type%22%3A%22%2Fsports%2Fpro_athlete%22%2C%22sports_played_professionally%22%3A%5B%7B%22sport%22%3A%7B%22id%22%3A%22%2Fwikipedia%2Fru_id%2F30265%22%7D%7D%5D%2C%22%2Fpeople%2Fperson%2Fplace_of_birth%22%3A%7B%22id%22%3A%22%2Fen%2Fbrooklyn%22%7D%2C%22key%22%3A%5B%7B%22value%22%3Anull%2C%22namespace%22%3A%22%2Fauthority%2Fgoogle%2Fgoogle_plus%22%7D%5D%7D%5D&amp;autorun=1">http://linkeddata.uriburner.com/ode/?uri=http://www.freebase.com/queryeditor?q=%5B%7B%22id%22%3Anull%2C%22name%22%3Anull%2C%22type%22%3A%22%2Fsports%2Fpro_athlete%22%2C%22sports_played_professionally%22%3A%5B%7B%22sport%22%3A%7B%22id%22%3A%22%2Fwikipedia%2Fru_id%2F30265%22%7D%7D%5D%2C%22%2Fpeople%2Fperson%2Fplace_of_birth%22%3A%7B%22id%22%3A%22%2Fen%2Fbrooklyn%22%7D%2C%22key%22%3A%5B%7B%22value%22%3Anull%2C%22namespace%22%3A%22%2Fauthority%2Fgoogle%2Fgoogle_plus%22%7D%5D%7D%5D&amp;autorun=1</ulink></listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Yahoo Query Language (YQL)</bridgehead>
<para>Upstream query editor interface: <ulink url="http://developer.yahoo.com/yql/console/">http://developer.yahoo.com/yql/console/</ulink></para>
<para>Language: a web-based SQL-style dialect</para>
<para>Sample:</para>
<programlisting>select * from local.search where query=&quot;sushi&quot; and location=&quot;san francisco, ca&quot;
</programlisting><para> Permalink to query URL: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true</ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Cartridge Configuration Requirements</bridgehead>
<para>There are no special requirements; because it doesn&#39;t even need an app key to use it, it should be enabled by default after installing the Cartridges VAD package.</para>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Examples</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem>The query: sushi restaurants in San Francisco: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places.parent%20where%20child_woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places.parent%20where%20child_woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places.parent%20where%20child_woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places.parent%20where%20child_woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places.parent%20where%20child_woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places.parent%20where%20child_woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22san%20francisco%2C%20ca%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22%20and%20Rating.AverageRating%3D%224.5%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22%20and%20Rating.AverageRating%3D%224.5%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22%20and%20Rating.AverageRating%3D%224.5%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22%20and%20Rating.AverageRating%3D%224.5%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22%20and%20Rating.AverageRating%3D%224.5%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20local.search%20where%20query%3D%22sushi%22%20and%20location%3D%22san%20francisco%2C%20ca%22%20and%20Rating.AverageRating%3D%224.5%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20upcoming.events%20where%20woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22North%20Beach%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20upcoming.events%20where%20woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22North%20Beach%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20upcoming.events%20where%20woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22North%20Beach%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20upcoming.events%20where%20woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22North%20Beach%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20upcoming.events%20where%20woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22North%20Beach%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20upcoming.events%20where%20woeid%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%22North%20Beach%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories%22&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Ffinance.yahoo.com%2Fq%3Fs%3Dyhoo%22%20and%20xpath%3D&quot;%2F%2Fdiv%5B%40id%3D%22yfi_headlines%22%5D%2Fdiv%5B2%5D%2Ful%2Fli%2Fa&quot;&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Ffinance.yahoo.com%2Fq%3Fs%3Dyhoo%22%20and%20xpath%3D&#39;%2F%2Fdiv%5B%40id%3D%22yfi_headlines%22%5D%2Fdiv%5B2%5D%2Ful%2Fli%2Fa&#39;&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Ffinance.yahoo.com%2Fq%3Fs%3Dyhoo%22%20and%20xpath%3D&quot;%2F%2Fdiv%5B%40id%3D%22yfi_headlines%22%5D%2Fdiv%5B2%5D%2Ful%2Fli%2Fa&quot;&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Ffinance.yahoo.com%2Fq%3Fs%3Dyhoo%22%20and%20xpath%3D&#39;%2F%2Fdiv%5B%40id%3D%22yfi_headlines%22%5D%2Fdiv%5B2%5D%2Ful%2Fli%2Fa&#39;&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Ffinance.yahoo.com%2Fq%3Fs%3Dyhoo%22%20and%20xpath%3D&quot;%2F%2Fdiv%5B%40id%3D%22yfi_headlines%22%5D%2Fdiv%5B2%5D%2Ful%2Fli%2Fa&quot;&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Ffinance.yahoo.com%2Fq%3Fs%3Dyhoo%22%20and%20xpath%3D&#39;%2F%2Fdiv%5B%40id%3D%22yfi_headlines%22%5D%2Fdiv%5B2%5D%2Ful%2Fli%2Fa&#39;&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%20in%20(select%20title%20from%20atom%20where%20url%3D%22http%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2Flist%2Fpg_T0Mv3iBwIJoc82J1G8aQ%2Fod6%2Fpublic%2Fbasic%22)%20and%20description%20like%20%22%25Wall%20Street%25%22%20LIMIT%2010%20%7C%20unique(field%3D%22title%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean&amp;@Lookup@=&amp;refresh=clean">http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%20in%20(select%20title%20from%20atom%20where%20url%3D%22http%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2Flist%2Fpg_T0Mv3iBwIJoc82J1G8aQ%2Fod6%2Fpublic%2Fbasic%22)%20and%20description%20like%20%22%25Wall%20Street%25%22%20LIMIT%2010%20%7C%20unique(field%3D%22title%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%20in%20(select%20title%20from%20atom%20where%20url%3D%22http%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2Flist%2Fpg_T0Mv3iBwIJoc82J1G8aQ%2Fod6%2Fpublic%2Fbasic%22)%20and%20description%20like%20%22%25Wall%20Street%25%22%20LIMIT%2010%20%7C%20unique(field%3D%22title%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean&amp;@Lookup@=&amp;refresh=clean">http://uriburner.com/about/html/http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%20in%20(select%20title%20from%20atom%20where%20url%3D%22http%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2Flist%2Fpg_T0Mv3iBwIJoc82J1G8aQ%2Fod6%2Fpublic%2Fbasic%22)%20and%20description%20like%20%22%25Wall%20Street%25%22%20LIMIT%2010%20%7C%20unique(field%3D%22title%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean&amp;@Lookup@=&amp;refresh=clean</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%20in%20(select%20title%20from%20atom%20where%20url%3D%22http%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2Flist%2Fpg_T0Mv3iBwIJoc82J1G8aQ%2Fod6%2Fpublic%2Fbasic%22)%20and%20description%20like%20%22%25Wall%20Street%25%22%20LIMIT%2010%20%7C%20unique(field%3D%22title%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean&amp;@Lookup@=&amp;refresh=clean">http://linkeddata.uriburner.com/ode/?uri=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%20in%20(select%20title%20from%20atom%20where%20url%3D%22http%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2Flist%2Fpg_T0Mv3iBwIJoc82J1G8aQ%2Fod6%2Fpublic%2Fbasic%22)%20and%20description%20like%20%22%25Wall%20Street%25%22%20LIMIT%2010%20%7C%20unique(field%3D%22title%22)&amp;diagnostics=true&amp;@Lookup@=&amp;refresh=clean&amp;@Lookup@=&amp;refresh=clean</ulink></listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Wolfram|Alpha</bridgehead>
<para>Upstream query editor interface: <ulink url="http://www.wolframalpha.com/">http://www.wolframalpha.com/</ulink></para>
<para>Language: custom, pseudo-natural-language</para>
<para>Sample:</para>
<programlisting>airspeed of a laden swallow
</programlisting><para> Permalink to query URL: <ulink url="http://www.wolframalpha.com/input/?i=airspeed+of+a+laden+swallow&amp;dataset=">http://www.wolframalpha.com/input/?i=airspeed+of+a+laden+swallow&amp;dataset=</ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Cartridge Configuration Requirements</bridgehead>
<para>Both the Wolfram|Alpha cartridge and meta-cartridge require an App-ID issued from the <ulink url="https://developer.wolframalpha.com/portal/myapps/">Wolfram Alpha developer dashboard</ulink>.
 For a detailed overview, see the <ulink url="VirtCartConfigWolframAlpha">cartridge configuration instructions</ulink>.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Examples</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://www.wolframalpha.com/input/?i=airspeed+of+a+laden+swallow&amp;dataset=">airspeed of a laden swallow</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://www.wolframalpha.com/input/?i=airspeed+of+a+laden+swallow&amp;dataset=">http://uriburner.com/about/html/http://www.wolframalpha.com/input/?i=airspeed+of+a+laden+swallow&amp;dataset=</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://www.wolframalpha.com/input/?i=airspeed+of+a+laden+swallow&amp;dataset=">http://linkeddata.uriburner.com/ode/?uri=http://www.wolframalpha.com/input/?i=airspeed+of+a+laden+swallow&amp;dataset=</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://www.wolframalpha.com/input/?i=What+is+the+weather+in+Boston%3F">what is the weather in Boston?</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://www.wolframalpha.com/input/?i=What+is+the+weather+in+Boston%3F">http://uriburner.com/about/html/http://www.wolframalpha.com/input/?i=What+is+the+weather+in+Boston%3F</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://www.wolframalpha.com/input/?i=What+is+the+weather+in+Boston%3F">http://linkeddata.uriburner.com/ode/?uri=http://www.wolframalpha.com/input/?i=What+is+the+weather+in+Boston%3F</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://www.wolframalpha.com/input/?i=Pb&amp;dataset=">Pb</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://www.wolframalpha.com/input/?i=Pb&amp;dataset=">http://uriburner.com/about/html/http://www.wolframalpha.com/input/?i=Pb&amp;dataset=</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://www.wolframalpha.com/input/?i=Pb&amp;dataset=">http://linkeddata.uriburner.com/ode/?uri=http://www.wolframalpha.com/input/?i=Pb&amp;dataset=</ulink></listitem>
</itemizedlist><itemizedlist mark="bullet" spacing="compact"><listitem>The query: <ulink url="http://www.wolframalpha.com/input/?i=play+sin%28440t%29">play sin(440t)</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://www.wolframalpha.com/input/?i=play+sin%28440t%29">http://uriburner.com/about/html/http://www.wolframalpha.com/input/?i=play+sin%28440t%29</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://www.wolframalpha.com/input/?i=play+sin%28440t%29">http://linkeddata.uriburner.com/ode/?uri=http://www.wolframalpha.com/input/?i=play+sin%28440t%29</ulink></listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Treasury.IO</bridgehead>
<para>Upstream query editor interface: <ulink url="http://treasury.io/">http://treasury.io/</ulink></para>
<para>Language: a web-based SQL-style dialect</para>
<para>Sample:</para>
<programlisting>SELECT &quot;table&quot;, &quot;date&quot;, &quot;year_month&quot;, &quot;year&quot;, &quot;month&quot;, &quot;day&quot;, &quot;weekday&quot;, 
&quot;account&quot;, &quot;account_raw&quot;, &quot;is_total&quot;, &quot;close_today&quot;, &quot;open_today&quot;, &quot;open_mo&quot;, 
&quot;open_fy&quot;, &quot;url&quot;
FROM &quot;t1&quot; 
limit 10
</programlisting><para> Permalink to query URL: <ulink url="http://api.treasury.io/cc7znvq/47d80ae900e04f2/sql/?q=SELECT%20%22table%22,%20%22date%22,%20%22year_month%22,%20%22year%22,%20%22month%22,%20%22day%22,%20%22weekday%22,%20%22account%22,%20%22account_raw%22,%20%22is_total%22,%20%22close_today%22,%20%22open_today%22,%20%22open_mo%22,%20%22open_fy%22,%20%22url%22%20FROM%20%22t1%22%20%20limit%2010">http://api.treasury.io/cc7znvq/47d80ae900e04f2/sql/?q=SELECT%20%22table%22,%20%22date%22,%20%22year_month%22,%20%22year%22,%20%22month%22,%20%22day%22,%20%22weekday%22,%20%22account%22,%20%22account_raw%22,%20%22is_total%22,%20%22close_today%22,%20%22open_today%22,%20%22open_mo%22,%20%22open_fy%22,%20%22url%22%20FROM%20%22t1%22%20%20limit%2010</ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Cartridge Configuration Requirements</bridgehead>
<para>There are no special requirements; because it doesn&#39;t even need an app key to use it, it should be enabled by default after installing the Cartridges VAD package.</para>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Examples</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem>The query: Federal Tax Deposits: <ulink url="http://api.treasury.io/cc7znvq/47d80ae900e04f2/sql/?q=SELECT%20%22table%22,%20%22date%22,%20%22year_month%22,%20%22year%22,%20%22month%22,%20%22day%22,%20%22weekday%22,%20%22type%22,%20%22classification%22,%20%22classification_raw%22,%20%22is_total%22,%20%22today%22,%20%22mtd%22,%20%22fytd%22,%20%22url%22%20FROM%20%22t4%22%20%20limit%2020">http://api.treasury.io/cc7znvq/47d80ae900e04f2/sql/?q=SELECT%20%22table%22,%20%22date%22,%20%22year_month%22,%20%22year%22,%20%22month%22,%20%22day%22,%20%22weekday%22,%20%22type%22,%20%22classification%22,%20%22classification_raw%22,%20%22is_total%22,%20%22today%22,%20%22mtd%22,%20%22fytd%22,%20%22url%22%20FROM%20%22t4%22%20%20limit%2020</ulink> </listitem>
<listitem>Data extracted and presented in HTML: <ulink url="http://uriburner.com/about/html/http://api.treasury.io/cc7znvq/47d80ae900e04f2/sql/?q=SELECT%20%22table%22,%20%22date%22,%20%22year_month%22,%20%22year%22,%20%22month%22,%20%22day%22,%20%22weekday%22,%20%22type%22,%20%22classification%22,%20%22classification_raw%22,%20%22is_total%22,%20%22today%22,%20%22mtd%22,%20%22fytd%22,%20%22url%22%20FROM%20%22t4%22%20%20limit%2020">http://uriburner.com/about/html/http://api.treasury.io/cc7znvq/47d80ae900e04f2/sql/?q=SELECT%20%22table%22,%20%22date%22,%20%22year_month%22,%20%22year%22,%20%22month%22,%20%22day%22,%20%22weekday%22,%20%22type%22,%20%22classification%22,%20%22classification_raw%22,%20%22is_total%22,%20%22today%22,%20%22mtd%22,%20%22fytd%22,%20%22url%22%20FROM%20%22t4%22%20%20limit%2020</ulink> </listitem>
<listitem>Data Explorer view: <ulink url="http://linkeddata.uriburner.com/ode/?uri=http://api.treasury.io/cc7znvq/47d80ae900e04f2/sql/?q=SELECT%20%22table%22,%20%22date%22,%20%22year_month%22,%20%22year%22,%20%22month%22,%20%22day%22,%20%22weekday%22,%20%22type%22,%20%22classification%22,%20%22classification_raw%22,%20%22is_total%22,%20%22today%22,%20%22mtd%22,%20%22fytd%22,%20%22url%22%20FROM%20%22t4%22%20%20limit%2020">http://linkeddata.uriburner.com/ode/?uri=http://api.treasury.io/cc7znvq/47d80ae900e04f2/sql/?q=SELECT%20%22table%22,%20%22date%22,%20%22year_month%22,%20%22year%22,%20%22month%22,%20%22day%22,%20%22weekday%22,%20%22type%22,%20%22classification%22,%20%22classification_raw%22,%20%22is_total%22,%20%22today%22,%20%22mtd%22,%20%22fytd%22,%20%22url%22%20FROM%20%22t4%22%20%20limit%2020</ulink></listitem>
</itemizedlist></section></docbook>