<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Ken - A Ruby API for accessing Freebase</title>
	<atom:link href="http://quasipartikel.at/2009/05/02/ken/feed/" rel="self" type="application/rss+xml" />
	<link>http://quasipartikel.at/2009/05/02/ken/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Wed, 08 Sep 2010 09:52:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael</title>
		<link>http://quasipartikel.at/2009/05/02/ken/comment-page-1/#comment-327</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 02 Nov 2009 00:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.quasipartikel.at/wordpress/?p=1#comment-327</guid>
		<description>Ken just got updated.

Version 0.2.0 now also wraps the new Topic API for easier access of common meta-data.

@Vlad
Getting the description for New Order is now as simple as:

Ken::Topic.get("/en/new_order").description</description>
		<content:encoded><![CDATA[<p>Ken just got updated.</p>
<p>Version 0.2.0 now also wraps the new Topic API for easier access of common meta-data.</p>
<p>@Vlad<br />
Getting the description for New Order is now as simple as:</p>
<p>Ken::Topic.get(&#8221;/en/new_order&#8221;).description</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://quasipartikel.at/2009/05/02/ken/comment-page-1/#comment-105</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 30 Aug 2009 20:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.quasipartikel.at/wordpress/?p=1#comment-105</guid>
		<description>That's a good question in general. I didn't figure out how to get the content of the article abstract at all (even with plain MQL).

All I know is that it hides somewhere behind /common/topic/article.

However you can access that attribute like so:

r = Ken.get('/en/new_order')
r.attribute('/common/topic/article').values.first # returns the resource that holds the article abstract.


But I don't understand why the following doesn't work:

r.attribute('/common/topic/article').values.first.attribute('/common/document/content')


Since I really need that article abstract for my freebase visualization (http://askken.heroku.com), I'd love to come around it too ;-)

Hmm.. maybe so. on the Freebase mailing list has an idea... (developers@freebase.com)

Cheers,
Michael.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good question in general. I didn&#8217;t figure out how to get the content of the article abstract at all (even with plain MQL).</p>
<p>All I know is that it hides somewhere behind /common/topic/article.</p>
<p>However you can access that attribute like so:</p>
<p>r = Ken.get(&#8217;/en/new_order&#8217;)<br />
r.attribute(&#8217;/common/topic/article&#8217;).values.first # returns the resource that holds the article abstract.</p>
<p>But I don&#8217;t understand why the following doesn&#8217;t work:</p>
<p>r.attribute(&#8217;/common/topic/article&#8217;).values.first.attribute(&#8217;/common/document/content&#8217;)</p>
<p>Since I really need that article abstract for my freebase visualization (http://askken.heroku.com), I&#8217;d love to come around it too <img src='http://quasipartikel.at/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Hmm.. maybe so. on the Freebase mailing list has an idea&#8230; (developers@freebase.com)</p>
<p>Cheers,<br />
Michael.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://quasipartikel.at/2009/05/02/ken/comment-page-1/#comment-104</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Sun, 30 Aug 2009 19:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.quasipartikel.at/wordpress/?p=1#comment-104</guid>
		<description>Can you give a suggestion on how to get the guid with the article abstract for "New Order" after querying  resource = Ken.get('/en/new_order')?

As I understand, I need to get a guid link and then get a guid, but I am a bit lost as to how to do it.</description>
		<content:encoded><![CDATA[<p>Can you give a suggestion on how to get the guid with the article abstract for &#8220;New Order&#8221; after querying  resource = Ken.get(&#8217;/en/new_order&#8217;)?</p>
<p>As I understand, I need to get a guid link and then get a guid, but I am a bit lost as to how to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank O'Dwyer</title>
		<link>http://quasipartikel.at/2009/05/02/ken/comment-page-1/#comment-92</link>
		<dc:creator>Frank O'Dwyer</dc:creator>
		<pubDate>Mon, 17 Aug 2009 01:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.quasipartikel.at/wordpress/?p=1#comment-92</guid>
		<description>Can I get at this API via Ken?  http://www.freebase.com/docs/geosearch

I just tried r=Ken.all(:type=&gt;'/dining/restaurant') and I guess it is going to take a while :-)

Doesn't seem like I can add qualifiers like the geosearch API has, e.g.:

r=Ken.all(:type=&gt;'/dining/restaurant', :location=&gt;'San Francisco', :location_type=&gt;'/location/citytown',:inside=&gt;true)

(Incidentally some kind of mix of your gem and the geokit gem would be really cool)</description>
		<content:encoded><![CDATA[<p>Can I get at this API via Ken?  <a href="http://www.freebase.com/docs/geosearch" rel="nofollow">http://www.freebase.com/docs/geosearch</a></p>
<p>I just tried r=Ken.all(:type=&gt;&#8217;/dining/restaurant&#8217;) and I guess it is going to take a while <img src='http://quasipartikel.at/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Doesn&#8217;t seem like I can add qualifiers like the geosearch API has, e.g.:</p>
<p>r=Ken.all(:type=&gt;&#8217;/dining/restaurant&#8217;, :location=&gt;&#8217;San Francisco&#8217;, :location_type=&gt;&#8217;/location/citytown&#8217;,:inside=&gt;true)</p>
<p>(Incidentally some kind of mix of your gem and the geokit gem would be really cool)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://quasipartikel.at/2009/05/02/ken/comment-page-1/#comment-91</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 17 Aug 2009 00:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.quasipartikel.at/wordpress/?p=1#comment-91</guid>
		<description>Right. It seems not to have latitude/longitude set.

http://www.freebase.com/view/en/british_museum#location

You should definitely add that missing facts. :)</description>
		<content:encoded><![CDATA[<p>Right. It seems not to have latitude/longitude set.</p>
<p><a href="http://www.freebase.com/view/en/british_museum#location" rel="nofollow">http://www.freebase.com/view/en/british_museum#location</a></p>
<p>You should definitely add that missing facts. <img src='http://quasipartikel.at/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank O'Dwyer</title>
		<link>http://quasipartikel.at/2009/05/02/ken/comment-page-1/#comment-90</link>
		<dc:creator>Frank O'Dwyer</dc:creator>
		<pubDate>Mon, 17 Aug 2009 00:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.quasipartikel.at/wordpress/?p=1#comment-90</guid>
		<description>Thanks. What I'm actually trying to do is retrieve stuff that has geolocation information - e.g. restaurants. It looks like this might be possible but I'm currently going in circles around the graph - e.g. if I do 

r=Ken.get('/guid/9202a8c04000641f800000000000bd43')

I get the British Museum (found the guid by looking thru some freebase dump files!) - but when I look at the attributes I see some stuff about location but never a latitude/longitude. Maybe as it just doesn't have one? I'm not sure how to tell if I'm searching for something that just isn't there.

I'm new to Freebase too in case this isn't obvious :-)</description>
		<content:encoded><![CDATA[<p>Thanks. What I&#8217;m actually trying to do is retrieve stuff that has geolocation information - e.g. restaurants. It looks like this might be possible but I&#8217;m currently going in circles around the graph - e.g. if I do </p>
<p>r=Ken.get(&#8217;/guid/9202a8c04000641f800000000000bd43&#8242;)</p>
<p>I get the British Museum (found the guid by looking thru some freebase dump files!) - but when I look at the attributes I see some stuff about location but never a latitude/longitude. Maybe as it just doesn&#8217;t have one? I&#8217;m not sure how to tell if I&#8217;m searching for something that just isn&#8217;t there.</p>
<p>I&#8217;m new to Freebase too in case this isn&#8217;t obvious <img src='http://quasipartikel.at/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://quasipartikel.at/2009/05/02/ken/comment-page-1/#comment-89</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 17 Aug 2009 00:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.quasipartikel.at/wordpress/?p=1#comment-89</guid>
		<description>Sure. You can retrieve multiple resources by using Ken.all.

e.g.:
resources = Ken.all(:name =&gt; "Apple", :type =&gt; "/music/album")

You can specify any MQL Query but in Ruby Hash syntax. Usage is described in the readme (section "Fetching multiple Resources using a query").

You may also want to have a look at the Low Level API section.</description>
		<content:encoded><![CDATA[<p>Sure. You can retrieve multiple resources by using Ken.all.</p>
<p>e.g.:<br />
resources = Ken.all(:name => &#8220;Apple&#8221;, :type => &#8220;/music/album&#8221;)</p>
<p>You can specify any MQL Query but in Ruby Hash syntax. Usage is described in the readme (section &#8220;Fetching multiple Resources using a query&#8221;).</p>
<p>You may also want to have a look at the Low Level API section.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank O'Dwyer</title>
		<link>http://quasipartikel.at/2009/05/02/ken/comment-page-1/#comment-88</link>
		<dc:creator>Frank O'Dwyer</dc:creator>
		<pubDate>Mon, 17 Aug 2009 00:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.quasipartikel.at/wordpress/?p=1#comment-88</guid>
		<description>Is there a way to query for sets of objects rather than individual objects?

For example if you wanted to retrieve all artists instead of a particular artist.</description>
		<content:encoded><![CDATA[<p>Is there a way to query for sets of objects rather than individual objects?</p>
<p>For example if you wanted to retrieve all artists instead of a particular artist.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
