[Developers] Freebase object browser
Alec Flett
alecf at metaweb.com
Thu Sep 27 16:37:01 UTC 2007
Jim Weaver wrote:
> Mark,
>
> Thanks for your kind words. Regarding the issues you raised:
>
> 1 - To clarify, given that there are already tooltips on the tree nodes
> of the "not user-friendly" types, are you asking for the *value* to be
> shown in the tooltip as well?
>
> 2 - Here is the query that the app uses to retrieve info on any object,
> (in this case Robbie Fowler), and the result is shown after that:
>
>
You forgot "optional": true in your any_reverse clause, and
robbie_fowler just happens to not have any reverse links
That said, you can remove "optional" from inside your "master_property"
clauses - all links are guaranteed to have master_property clauses, so
optional or not they are always there. MQL could actually complain to
tell you that, I guess it doesn't.
Alec
> {
> "query":[{
> "/type/reflect/any_master":[{
> "id":null,
> "link":{
> "master_property":{
> "id":null,
> "name":null,
> "optional":true
> }
> },
> "name":null,
> "optional":true,
> "type":[]
> }],
> "/type/reflect/any_reverse":[{
> "id":null,
> "link":{
> "master_property":{
> "reverse_property":{
> "id":null,
> "name":null
> }
> }
> },
> "name":null,
> "type":[]
> }],
> "/type/reflect/any_value":[{
> "link":{
> "master_property":{
> "id":null,
> "name":null,
> "optional":true
> }
> },
> "optional":true,
> "type":null,
> "value":null
> }],
> "id":"/topic/en/robbie_fowler",
> "name":null
> }]
> }
>
> Result:
>
> {
> "q1": {
> "code": "/api/status/ok",
> "result": []
> },
> "status": "200 OK",
> "code": "/api/status/ok"
> }
>
> Can anyone tell me if/how the query should be changed?
>
> Thanks,
> Jim Weaver
>
> -----Original Message-----
> From: Mark CE [mailto:markce at btclick.com]
> Sent: Thursday, September 27, 2007 1:51 AM
> To: Jim Weaver
> Subject: Re: [Developers] Freebase object browser (w/o attachment)
>
>
> Hi Jim,
> From my first use of your browser, which is very cool, a bit more
> feedback for you!
>
> 1 - I would like to see a tooltip of the "not user-friendly" type
> name/value - I don't always want to click; I just want to know. If
> you see what I mean.
>
> 2 - Not sure why some /topic/en/whatever links would hold content and
> others wouldn't:
> for example soccer players:
> /soccer/football_player...
> /topic/en/bobby_charlton - shows content on his page
> /topic/en/robbie_fowler - shows no content (I know there might be
> LESS content on one player's page - but "no" content?)
>
> Anyway - it's a brilliant tool, thanks for sharing it
> Mark CE
>
>
>
>
>
> At 15:27 25/09/2007, you wrote:
>
>
>> Freebasers,
>>
>> I've updated the JavaFX Freebase browser with input that I've
>> received from users on this list. The biggest modification is that
>> when selecting an object (e.g. The Police, or Rock Music) on the
>> tree, the content pane on the right shows the user-friendly type
>> names and values (including images) related to the object. I've
>> attached a screenshot for your convenience. The Freebase type names
>> and orientation (master, reverse, any) can be seen by hovering over
>> the object name in the tree.
>>
>> Here's the link:
>> http://jmentor.com/JavaFX/JFXfreebaseBrowser.jnlp
>> <http://office.lat-inc.net/exchweb/bin/redir.asp?URL=http://jmentor.com
>>
> /JavaFX/JFXfreebaseBrowser.jnlp>
>
>> My next question for you is:
>>
>> What would you want to see in the content pane when clicking on a
>> "type" in the tree (e.g. Musical Genres)? I'm currently showing the
>> names and IDs of the set of objects in that type. By the way, I
>> plan to change that panel's look to be similar to the panel that
>> shows the type names and values for an object.
>>
>> Any functional UI layout and behavior input will be welcome as
>> well. I do plan at some point to ask someone with a better graphic
>> eye than mine to suggest a look and feel.
>>
>> Thanks,
>> Jim Weaver
>> http://jmentor.com/about.php
>> <http://office.lat-inc.net/exchweb/bin/redir.asp?URL=http://jmentor.com
>>
> /about.php>
>
>> http://lat-inc.com
>> <http://office.lat-inc.net/exchweb/bin/redir.asp?URL=http://lat-inc.com
>>
>>
>>
>> ________________________________
>>
>> From: Jim Weaver [mailto:jlweaver at lat-inc.com]
>> Sent: Sat 9/22/2007 11:58 AM
>> To: users at openjfx.dev.java.net
>> Subject: Beginnings of a Freebase object browser developed in JavaFX
>>
> Script
>
>>
>> I just wanted to make this openjfx list aware of an application that
>> I'm developing in JavaFX Script to serve as a Freebase browser.
>> Freebase is a structured data approach similar to Wikipedia concept,
>> where the public contributes facts into a database (see
>> freebase.com). Here's the Web Start link to the application in its
>> current state:
>>
>>
>>
>> http://jmentor.com/JavaFX/JFXfreebaseBrowser.jnlp
>> <http://office.lat-inc.net/exchweb/bin/redir.asp?URL=http://jmentor.com
>>
> /JavaFX/JFXfreebaseBrowser.jnlp>
>
>>
>>
>> On a technical note, the protocol for query requests and responses
>> is JSON-based, and is articulated in this document:
>>
>> http://www.freebase.com/view/helptopic/%239202a8c04000641f800000000544e
>>
> 14d
>
>>
>> Thanks,
>>
>> Jim Weaver
>>
>> http://jmentor.com/about.php
>> <http://office.lat-inc.net/exchweb/bin/redir.asp?URL=http://jmentor.com
>>
> /about.php>
>
>> http://lat-inc.com
>> <http://office.lat-inc.net/exchweb/bin/redir.asp?URL=http://lat-inc.com
>>
> />
>
>> _______________________________________________
>> Developers mailing list
>> Developers at freebase.com
>> http://lists.freebase.com/mailman/listinfo/developers
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.5.488 / Virus Database: 269.13.30/1030 - Release Date:
>> 25/09/2007 08:02
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20070927/ea448e55/attachment.htm
More information about the Developers
mailing list