From will at hamstersoup.com Fri Nov 2 20:32:46 2007 From: will at hamstersoup.com (Will Moffat) Date: Fri, 2 Nov 2007 15:32:46 -0500 Subject: [Developers] Cursor:false isn't returned as expected Message-ID: <2f665fe20711021332g67de0cc9g17066de31f2711ea@mail.gmail.com> Hi, Can somebody shed light on this? According to the MQL API doc, you should pass a cursor until the cursor in the response is false: http://www.freebase.com/view/9202a8c04000641f800000000544e139#cursors I expect result 1 to return cursor:false (since there are only 6 matches) but since it returns a cursor I make another query. This seems to return corrupt results. (Will Moffat is included twice) Only result 3 has cursor set to false. Is this a bug? My queries: 1) http://www.freebase.com/api/service/mqlread?queries={"c0":{"query":[{"id":null,"limit":30,"my_full_name~=":"will","my_full_name":null,"type":"/freebase/user_profile"}],"escape":false,"cursor":true}} 2) http://www.freebase.com/api/service/mqlread?queries={"c0":{"query":[{"id":null,"limit":30,"my_full_name~=":"will","my_full_name":null,"type":"/freebase/user_profile"}],"escape":false,"cursor":"eNqFjltOw0AMRRcDkTJCUW1n7LEthLqV6bShkVpSpYVuv0wfAr64nz7XV6d8zsdp9g1Y8vyx9ifozAxFCZy8HY_Zf112m-H02rXXYiLRJL0-KNb-13jwClg1VUASQX0e37enFyOgrAUiAEjEQeGeyIyGQ_eGUUK73efbxt_xwzTt_DzNaydhNenJG8DGuFlZUyCE8CNLymQP2aqEiRNzj3fYw39Kt5RvpfoJyUJYPC-WgJEQBQgwr7AQCl4ALkpO8g=="}} 3) http://www.freebase.com/api/service/mqlread?queries={"c0":{"query":[{"id":null,"limit":30,"my_full_name~=":"will","my_full_name":null,"type":"/freebase/user_profile"}],"escape":false,"cursor":"eNqFjtFOwzAMRT8GKjVC1WwndmwLIX4lzSirNOjUDfh9CNsEPHEffa6vTn1bj8vqZIReXrd-A4OZoSiBk_fzsfivy_5pOt0P_Xcxk2iWqFeKrf8-H7wBVs0NkCRQX-fn3enOCKhohQQAknBSuCQxo-E0PGCS0O9eynnj7_hhWfb-saxbJ2E1ieQdYGfcjdZVCCH8yJIy2VW2KWHmzBzxAiP8p3RO_VJqn5AthM3t5jHVNCIKEBSII1GET6HJTrw="}} The results: 1) { "status": "200 OK", "c0": { "cursor": "eNqFjltOw0AMRRcDkTJCUW1n7LEthLqV6bShkVpSpYVuv0wfAr64nz7XV6d8zsdp9g1Y8vyx9ifozAxFCZy8HY_Zf112m-H02rXXYiLRJL0-KNb-13jwClg1VUASQX0e37enFyOgrAUiAEjEQeGeyIyGQ_eGUUK73efbxt_xwzTt_DzNaydhNenJG8DGuFlZUyCE8CNLymQP2aqEiRNzj3fYw39Kt5RvpfoJyUJYPC-WgJEQBQgwr7AQCl4ALkpO8g==", "code": "/api/status/ok", "result": [ { "my_full_name": "Will Fitzgerald", "type": "/freebase/user_profile", "id": "/user/willf" }, { "my_full_name": "Will Moffat", "type": "/freebase/user_profile", "id": "/user/willmoffat" }, { "my_full_name": "Will Luo", "type": "/freebase/user_profile", "id": "/user/will" }, { "my_full_name": "Will Clayton", "type": "/freebase/user_profile", "id": "/user/willclayton" }, { "my_full_name": "Will", "type": "/freebase/user_profile", "id": "/user/motiveet" }, { "my_full_name": "Will Larson", "type": "/freebase/user_profile", "id": "/user/lethain" } ] }, "code": "/api/status/ok" } 2) { "status": "200 OK", "c0": { "cursor": "eNqFjtFOwzAMRT8GKjVC1WwndmwLIX4lzSirNOjUDfh9CNsEPHEffa6vTn1bj8vqZIReXrd-A4OZoSiBk_fzsfivy_5pOt0P_Xcxk2iWqFeKrf8-H7wBVs0NkCRQX-fn3enOCKhohQQAknBSuCQxo-E0PGCS0O9eynnj7_hhWfb-saxbJ2E1ieQdYGfcjdZVCCH8yJIy2VW2KWHmzBzxAiP8p3RO_VJqn5AthM3t5jHVNCIKEBSII1GET6HJTrw=", "code": "/api/status/ok", "result": [ { "my_full_name": "Will Fitzgerald", "type": "/freebase/user_profile", "id": "/user/willf" }, { "my_full_name": "Will Moffat", "type": "/freebase/user_profile", "id": "/user/willmoffat" }, { "my_full_name": "Will Moffat", "type": "/freebase/user_profile", "id": "/user/willmoffat" }, { "my_full_name": "Will Luo", "type": "/freebase/user_profile", "id": "/user/will" }, { "my_full_name": "Will Clayton", "type": "/freebase/user_profile", "id": "/user/willclayton" }, { "my_full_name": "Will", "type": "/freebase/user_profile", "id": "/user/motiveet" }, { "my_full_name": "Will Larson", "type": "/freebase/user_profile", "id": "/user/lethain" } ] }, "code": "/api/status/ok" } 3) { "status": "200 OK", "c0": { "cursor": false, "code": "/api/status/ok", "result": [] }, "code": "/api/status/ok" } From kurt at inf.fu-berlin.de Mon Nov 5 12:17:33 2007 From: kurt at inf.fu-berlin.de (Sebastian Kurt) Date: Mon, 05 Nov 2007 13:17:33 +0100 Subject: [Developers] Freebase Suggested Metatagging Message-ID: <472F09DD.8050804@inf.fu-berlin.de> Hi everybody, maybe it already exists otherwise it would be nice to have it, Freebase Suggested Metatagging. What do I mean by this? Tags in delicous... do not provide any metainformation. it is only a word in connection with some other words an an object. but what about if the word is a topic out of freebase? Example: Tags "bush, home, garden" and "bush, dog" if the tag "bush" is linked to http://www.freebase.com/view/the_bush or to http://www.freebase.com/view/kate_bush The connection to frebase declares what is behind the word. what do you think about it? does someone already do it? cheers sebastian PS: More examples http://skurt.de/2007/11/05/freebase-suggested-metatagging/ -- mailto:kurt at inf.fu-berlin.de 0179 7923088 http://vIdentity.de http://skurt.de From jason at metaweb.com Mon Nov 5 17:48:45 2007 From: jason at metaweb.com (Jason Douglas) Date: Mon, 5 Nov 2007 09:48:45 -0800 Subject: [Developers] Freebase Suggested Metatagging In-Reply-To: <472F09DD.8050804@inf.fu-berlin.de> References: <472F09DD.8050804@inf.fu-berlin.de> Message-ID: <6AEE86C6-0CAF-447E-B6C0-C46141C80522@metaweb.com> I think it's a great idea! There had been some discussion on the list in August about that idea, but that was before the freebase-suggest library existed: Sean Simister prototyped something: http://lists.freebase.com/pipermail/developers/2007-August/000561.html and that led to some brainstorming: http://lists.freebase.com/pipermail/developers/2007-August/000566.html http://lists.freebase.com/pipermail/developers/2007-August/000569.html In fact, that discussion was one of the inspirations for us to package up free-base suggest, so now that it exists I'd love to see somebody make it happen... -jason On Nov 5, 2007, at 4:17 AM, Sebastian Kurt wrote: > Hi everybody, > maybe it already exists otherwise it would be nice to have it, > Freebase Suggested Metatagging. > What do I mean by this? Tags in delicous... do not provide any > metainformation. it is only a word in connection with some other words > an an object. but what about if the word is a topic out of freebase? > > Example: Tags "bush, home, garden" and "bush, dog" if the tag "bush" > is > linked to http://www.freebase.com/view/the_bush or to > http://www.freebase.com/view/kate_bush > The connection to frebase declares what is behind the word. > > what do you think about it? does someone already do it? > > cheers sebastian > > PS: More examples http://skurt.de/2007/11/05/freebase-suggested-metatagging/ > -- > mailto:kurt at inf.fu-berlin.de > 0179 7923088 > http://vIdentity.de > http://skurt.de > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From acallejas at appliedminds.com Mon Nov 5 19:26:40 2007 From: acallejas at appliedminds.com (Augusto Callejas) Date: Mon, 05 Nov 2007 11:26:40 -0800 Subject: [Developers] Bad Cursor pt2 In-Reply-To: <471FA437.8040600@metaweb.com> Message-ID: scott- any news on this bug? thanks, augusto. On 10/24/07 12:59 PM, "Scott Meyer" wrote: > Augusto Callejas wrote: >> tyler- >> >> thanks, looks like the bad cursor bug is not happening. >> however, i'm getting a new cursor-related problem. >> i issue one query with cursor:true, and keep issuing >> queries with the cursor from the previous result. >> however, at some point the cursor values alternate >> between two specific cursor values and progress >> is never made with the query. >> >> here is the specific query along with the cursor values >> over time. i cut off the cursor value because they are >> too long, but can provide the full cursor value off >> the mailing list if they are helpful to know. >> (cursors 10, 12, 14, etc are the same, along with >> cursors 11, 13, 15, etc). > > Thanks for the report Augusto, we just got this from > another source as well. I'll let you know as soon as we > have a fix. > > -Scott > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From sm at metaweb.com Mon Nov 5 21:51:04 2007 From: sm at metaweb.com (Scott Meyer) Date: Mon, 05 Nov 2007 13:51:04 -0800 Subject: [Developers] Bad Cursor pt2 In-Reply-To: References: Message-ID: <472F9048.9040007@metaweb.com> Augusto Callejas wrote: > scott- > > any news on this bug? This should be fixed, both sandbox and production. My apologies for forgetting to send you that information. -Scott From acallejas at appliedminds.com Mon Nov 5 23:07:38 2007 From: acallejas at appliedminds.com (Augusto Callejas) Date: Mon, 05 Nov 2007 15:07:38 -0800 Subject: [Developers] Bad Cursor pt2 In-Reply-To: <472F9048.9040007@metaweb.com> Message-ID: scott- i'm still seeing the behavior (eg. alternating cursors), but instead of alternating between two cursors, i see alternating between three. the alternation occurs in cursors 7-9, 10-12, 13-15, etc. i printed out the java hashcode ("hc") and a truncated version of the cursor string itself. augusto. ================================================ query { "/freebase/type_hints/enumeration":null, "/freebase/type_hints/included_types":[], "/freebase/type_hints/mediator":null, "domain":null, "id":null, "name":null, "properties":[{ "expected_type":{ "/freebase/type_hints/enumeration":null, "/freebase/type_hints/included_types":[], "domain":null, "id":null, "name":null, "type":"/type/type" }, "id":null, "master_property":{}, "name":null, "reverse_property":{}, "unique":[] }], "type":"/type/type" } ================================================ page 1, cursor: (hc=1319095625) eNqtz0sOgkAMBuDDsIGYCW3n3RjiVRAYnUjAAHp-H3ES2BgX page 2, cursor: (hc=1439597476) eNqtz8kOgkAMBuCH4QIxE9rOQqcxxFdBFp1IwAD6_C5xErgY page 3, cursor: (hc=-812753956) eNqtz9sOgjAMBuCH4QZjFtruwNYY4qssjOkiAQPo83uIS-DG page 4, cursor: (hc=-1619983450) eNqtz9sOgjAMBuCH4QZiFtruwNYY4qvMCbpIgAD6_B7iErg page 5, cursor: (hc=632262695) eNqtz9sOgjAMBuCH4QZjFtruwNYY4quQsekiAQPo83uIS-DGe page 6, cursor: (hc=2054414958) eNqtj8sOgkAMRX_FhI3ETGg7D2YaQ_wP4wIRdCKCYcDvF40k page 7, cursor: (hc=-385803714) eNqtj80KwkAMhF9F6KVFSpPsj7tBiu8hHsq61WJtpdv6_P7g page 8, cursor: (hc=1232743119) eNqtj80KwjAQhF9F6MUiobv5a7JI8T3EQ62JBmsr_fH5rWKg page 9, cursor: (hc=-2100787120) eNqtj80KwkAMhF9F6KVFikmaXbdBiu8hHuq61cXaSn98fn9 page 10, cursor: (hc=-385803714) eNqtj80KwkAMhF9F6KVFSpPsj7tBiu8hHsq61WJtpdv6_P7 page 11, cursor: (hc=1232743119) eNqtj80KwjAQhF9F6MUiobv5a7JI8T3EQ62JBmsr_fH5rWK page 12, cursor: (hc=-2100787120) eNqtj80KwkAMhF9F6KVFikmaXbdBiu8hHuq61cXaSn98fn page 13, cursor: (hc=-385803714) eNqtj80KwkAMhF9F6KVFSpPsj7tBiu8hHsq61WJtpdv6_P7 page 14, cursor: (hc=1232743119) eNqtj80KwjAQhF9F6MUiobv5a7JI8T3EQ62JBmsr_fH5rWK page 15, cursor: (hc=-2100787120) eNqtj80KwkAMhF9F6KVFikmaXbdBiu8hHuq61cXaSn98fn ================================================ On 11/5/07 1:51 PM, "Scott Meyer" wrote: > Augusto Callejas wrote: >> scott- >> >> any news on this bug? > > This should be fixed, both sandbox and production. My apologies > for forgetting to send you that information. > > -Scott From sm at metaweb.com Mon Nov 5 23:41:39 2007 From: sm at metaweb.com (Scott Meyer) Date: Mon, 05 Nov 2007 15:41:39 -0800 Subject: [Developers] Bad Cursor pt2 In-Reply-To: References: Message-ID: <472FAA33.4050002@metaweb.com> Augusto Callejas wrote: > scott- > > i'm still seeing the behavior (eg. alternating cursors), but instead of > alternating between two cursors, i see alternating between three. Hmmm, I may have spoken too soon about production. Should be fixed on sandbox and coming soon to production. -Scott From tyler at metaweb.com Tue Nov 6 01:12:45 2007 From: tyler at metaweb.com (tyler) Date: Mon, 05 Nov 2007 17:12:45 -0800 Subject: [Developers] Sandbox data refresh Message-ID: <472FBF8D.2020900@metaweb.com> Just happened, sorry for the misfire ! T From kurt at inf.fu-berlin.de Tue Nov 6 13:30:08 2007 From: kurt at inf.fu-berlin.de (Sebastian Kurt) Date: Tue, 06 Nov 2007 14:30:08 +0100 Subject: [Developers] Freebase Suggested Metatagging In-Reply-To: <6AEE86C6-0CAF-447E-B6C0-C46141C80522@metaweb.com> References: <472F09DD.8050804@inf.fu-berlin.de> <6AEE86C6-0CAF-447E-B6C0-C46141C80522@metaweb.com> Message-ID: <47306C60.9050003@inf.fu-berlin.de> one question that appears to me is how the connection to freebase is saved. as you add a bookmark to delicious(can be changed to any other services which provides tagging) you add words to it. maybe there is no problem in change the sequence of adding tags from: 1) Objekt + Text box => add to delicious to: 2) Objekt + Text box with freebase suggestions => add to delicious But the problem is as you add only a single word in 2) you lose the connection to its meaning again. so you have to provide something like a namespace eg. freebase: but this is not handy if the word is not unique, so you have to add an id to delicious eg. freebase:: or is there a way to adress sth. uniquely in freebase by URI as there are perhaps other services which provide (some day.. ;-)) typed words the part "freebase" can change. as i see on delicious they already use machine tags with prefix separated by : like http://del.icio.us/tag/system:filetype:mp3 what do you think? -sebastian Jason Douglas schrieb: > I think it's a great idea! There had been some discussion on the list > in August about that idea, but that was before the freebase-suggest > library existed: > > Sean Simister prototyped something: > http://lists.freebase.com/pipermail/developers/2007-August/000561.html > > and that led to some brainstorming: > http://lists.freebase.com/pipermail/developers/2007-August/000566.html > http://lists.freebase.com/pipermail/developers/2007-August/000569.html > > In fact, that discussion was one of the inspirations for us to package > up free-base suggest, so now that it exists I'd love to see somebody > make it happen... > > -jason > > > On Nov 5, 2007, at 4:17 AM, Sebastian Kurt wrote: > >> Hi everybody, >> maybe it already exists otherwise it would be nice to have it, >> Freebase Suggested Metatagging. >> What do I mean by this? Tags in delicous... do not provide any >> metainformation. it is only a word in connection with some other words >> an an object. but what about if the word is a topic out of freebase? >> >> Example: Tags "bush, home, garden" and "bush, dog" if the tag "bush" >> is >> linked to http://www.freebase.com/view/the_bush or to >> http://www.freebase.com/view/kate_bush >> The connection to frebase declares what is behind the word. >> >> what do you think about it? does someone already do it? >> >> cheers sebastian >> >> PS: More examples http://skurt.de/2007/11/05/freebase-suggested-metatagging/ >> -- >> mailto:kurt at inf.fu-berlin.de >> 0179 7923088 >> http://vIdentity.de >> http://skurt.de >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers -- mailto:kurt at inf.fu-berlin.de 0179 7923088 http://vIdentity.de http://skurt.de From ssak at appliedminds.com Tue Nov 6 16:19:16 2007 From: ssak at appliedminds.com (Steve Sak) Date: Tue, 06 Nov 2007 11:19:16 -0500 Subject: [Developers] multiple mjt queries Message-ID: <47309404.3050603@appliedminds.com> Are there any suggestions/best practices for how to run a query multiple times in rapid succession with a varying parameter. I'm seeing all the queries except for the last step on each other with a "Error: xhr cancelled dojoType=cancel message=xhr cancelled" message. I get the same behavior both when I put the parameters in a list and use mjt.for to iterate and when I refresh the page the query if on multiple times. Perhaps a way to vary the task id or run the query synchronously? Thanks -- Steven G Sak Applied Minds, Inc. 11718 Bowman Green Drive Reston, Virginia 20190 o: (703) 483-2207 c: (703) 626-2557 From nix at metaweb.com Tue Nov 6 18:05:57 2007 From: nix at metaweb.com (Nick Thompson) Date: Tue, 06 Nov 2007 10:05:57 -0800 Subject: [Developers] multiple mjt queries In-Reply-To: <47309404.3050603@appliedminds.com> References: <47309404.3050603@appliedminds.com> Message-ID: <4730AD05.2070400@metaweb.com> mjt doesn't normally use xhr, so i'm puzzled by the error message. are you using a custom mjt.task type? it sounds like your xhr layer (part of dojo?) might allow only one pending request at a time. usually i just fire off lots of queries and let the browser queue them up in the order they are requested. i've thought about having mjt keep its own request queue so that you could prioritize some queries, but i haven't come up with a use case that would justify the complexity. nick Steve Sak wrote: > Are there any suggestions/best practices for how to run a query multiple > times in rapid succession with a varying parameter. I'm seeing all the > queries except for the last step on each other with a "Error: xhr > cancelled dojoType=cancel message=xhr cancelled" message. I get the > same behavior both when I put the parameters in a list and use mjt.for > to iterate and when I refresh the page the query if on multiple times. > Perhaps a way to vary the task id or run the query synchronously? > > Thanks > From jason at metaweb.com Tue Nov 6 18:33:27 2007 From: jason at metaweb.com (Jason Douglas) Date: Tue, 6 Nov 2007 10:33:27 -0800 Subject: [Developers] Freebase Suggested Metatagging In-Reply-To: <47306C60.9050003@inf.fu-berlin.de> References: <472F09DD.8050804@inf.fu-berlin.de> <6AEE86C6-0CAF-447E-B6C0-C46141C80522@metaweb.com> <47306C60.9050003@inf.fu-berlin.de> Message-ID: <1E7DC56F-C477-4362-8E21-A75E8AB559EB@metaweb.com> For all the reasons you point out, I think the tags definitely need to "key" off ID in some way: - Disambiguate multiple meanings of the same word -- i.e., Munich, Germany vs. Munich, North Dakota, USA - Translate across languages -- "Munich" and "M?nchen" are different words, but can mean the same thing In fact, that's basically what freebase-suggest is... a human-friendly Freebase ID picker. I think it would be cleanest if the tag was just the Freebase ID and the corresponding word ("name" in Freebase) was only retrieved at display time so it could be in the right language for each user at the time they're viewing it (kind of the reverse process of freebase-suggest). I guess it depends on the exact use case you're trying to solve. That approach may not be great for del.icio.us since I'm not sure whether there's an opportunity to re-write it at display time -- e.g., just showing "freebase:/guid/9202a8c04000641f8000000004f37cd5" instead of "Munich" doesn't seem ideal. In the blog use case, I was assuming that issue could be smoothed over by whatever plug-in was also injecting freebase-suggest and showing the Freebase metadata detail on tags. -jason On Nov 6, 2007, at 5:30 AM, Sebastian Kurt wrote: > one question that appears to me is how the connection to freebase is > saved. > as you add a bookmark to delicious(can be changed to any other > services > which provides tagging) you add words to it. maybe there is no problem > in change the sequence of adding tags from: > 1) Objekt + Text box => add to delicious > to: > 2) Objekt + Text box with freebase suggestions => add to > delicious > > But the problem is as you add only a single word in 2) you lose the > connection to its meaning again. so you have to provide something > like a > namespace eg. > freebase: > > but this is not handy if the word is not unique, so you have to add an > id to delicious eg. > freebase:: > or is there a way to adress sth. uniquely in freebase by URI > > as there are perhaps other services which provide (some day.. ;-)) > typed > words the part "freebase" can change. > > as i see on delicious they already use machine tags with prefix > separated by : like http://del.icio.us/tag/system:filetype:mp3 > > what do you think? > > -sebastian > > Jason Douglas schrieb: >> I think it's a great idea! There had been some discussion on the >> list >> in August about that idea, but that was before the freebase-suggest >> library existed: >> >> Sean Simister prototyped something: >> http://lists.freebase.com/pipermail/developers/2007-August/000561.html >> >> and that led to some brainstorming: >> http://lists.freebase.com/pipermail/developers/2007-August/000566.html >> http://lists.freebase.com/pipermail/developers/2007-August/000569.html >> >> In fact, that discussion was one of the inspirations for us to >> package >> up free-base suggest, so now that it exists I'd love to see somebody >> make it happen... >> >> -jason >> >> >> On Nov 5, 2007, at 4:17 AM, Sebastian Kurt wrote: >> >>> Hi everybody, >>> maybe it already exists otherwise it would be nice to have it, >>> Freebase Suggested Metatagging. >>> What do I mean by this? Tags in delicous... do not provide any >>> metainformation. it is only a word in connection with some other >>> words >>> an an object. but what about if the word is a topic out of freebase? >>> >>> Example: Tags "bush, home, garden" and "bush, dog" if the tag "bush" >>> is >>> linked to http://www.freebase.com/view/the_bush or to >>> http://www.freebase.com/view/kate_bush >>> The connection to frebase declares what is behind the word. >>> >>> what do you think about it? does someone already do it? >>> >>> cheers sebastian >>> >>> PS: More examples http://skurt.de/2007/11/05/freebase-suggested-metatagging/ >>> -- >>> mailto:kurt at inf.fu-berlin.de >>> 0179 7923088 >>> http://vIdentity.de >>> http://skurt.de >>> _______________________________________________ >>> Developers mailing list >>> Developers at freebase.com >>> http://lists.freebase.com/mailman/listinfo/developers >> >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers > > -- > mailto:kurt at inf.fu-berlin.de > 0179 7923088 > http://vIdentity.de > http://skurt.de > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From ssak at appliedminds.com Tue Nov 6 18:58:38 2007 From: ssak at appliedminds.com (Steve Sak) Date: Tue, 06 Nov 2007 13:58:38 -0500 Subject: [Developers] multiple mjt queries In-Reply-To: <4730AD05.2070400@metaweb.com> References: <47309404.3050603@appliedminds.com> <4730AD05.2070400@metaweb.com> Message-ID: <4730B95E.3090301@appliedminds.com> I believe the problem is that I'm refreshing the pane containing the href to the query before the query is completed which the causes brower to cancel the in-process request. So, how do I rerun a compiled mjt.task without reloading and calling mjt.run? Nick Thompson wrote: > mjt doesn't normally use xhr, so i'm puzzled by the error message. > are you using a custom mjt.task type? it sounds like your xhr layer > (part of dojo?) might allow only one pending request at a time. > > usually i just fire off lots of queries and let the browser queue them > up in the order they are requested. i've thought about having mjt keep > its own request queue so that you could prioritize some queries, but i > haven't come up with a use case that would justify the complexity. > > nick > > Steve Sak wrote: > >> Are there any suggestions/best practices for how to run a query multiple >> times in rapid succession with a varying parameter. I'm seeing all the >> queries except for the last step on each other with a "Error: xhr >> cancelled dojoType=cancel message=xhr cancelled" message. I get the >> same behavior both when I put the parameters in a list and use mjt.for >> to iterate and when I refresh the page the query if on multiple times. >> Perhaps a way to vary the task id or run the query synchronously? >> >> Thanks >> >> > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers > -- Steven G Sak Applied Minds, Inc. 11718 Bowman Green Drive Reston, Virginia 20190 o: (703) 483-2207 c: (703) 626-2557 From nick at metaweb.com Tue Nov 6 20:47:27 2007 From: nick at metaweb.com (Nick Shapiro) Date: Tue, 6 Nov 2007 15:47:27 -0500 (EST) Subject: [Developers] multiple mjt queries In-Reply-To: <4730B95E.3090301@appliedminds.com> Message-ID: <25568153.318161194382047817.JavaMail.root@h00215> You could put the task inside a mjt.def function, then call the function as many times as you want. Be careful to define the function before you call it. For example http://dev.mqlx.com/~nick/example.html ----- Original Message ----- From: "Steve Sak" To: "For discussions about MQL, Freebase API and apps built on Freebase" Sent: Tuesday, November 6, 2007 10:58:38 AM (GMT-0800) America/Los_Angeles Subject: Re: [Developers] multiple mjt queries I believe the problem is that I'm refreshing the pane containing the href to the query before the query is completed which the causes brower to cancel the in-process request. So, how do I rerun a compiled mjt.task without reloading and calling mjt.run? Nick Thompson wrote: > mjt doesn't normally use xhr, so i'm puzzled by the error message. > are you using a custom mjt.task type? it sounds like your xhr layer > (part of dojo?) might allow only one pending request at a time. > > usually i just fire off lots of queries and let the browser queue them > up in the order they are requested. i've thought about having mjt keep > its own request queue so that you could prioritize some queries, but i > haven't come up with a use case that would justify the complexity. > > nick > > Steve Sak wrote: > >> Are there any suggestions/best practices for how to run a query multiple >> times in rapid succession with a varying parameter. I'm seeing all the >> queries except for the last step on each other with a "Error: xhr >> cancelled dojoType=cancel message=xhr cancelled" message. I get the >> same behavior both when I put the parameters in a list and use mjt.for >> to iterate and when I refresh the page the query if on multiple times. >> Perhaps a way to vary the task id or run the query synchronously? >> >> Thanks >> >> > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers > -- Steven G Sak Applied Minds, Inc. 11718 Bowman Green Drive Reston, Virginia 20190 o: (703) 483-2207 c: (703) 626-2557 _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers From AVH at zing.net Tue Nov 6 22:41:22 2007 From: AVH at zing.net (Arthur van Hoff) Date: Tue, 6 Nov 2007 14:41:22 -0800 Subject: [Developers] Looking for Beyonce Message-ID: Hi, Most users are used to searching for Beyonce (without the accent) and finding Beyonc?. { "query":[{ "id":null, "name":null, "name~=":"Beyonce", "type":"/music/artist" }] } But this query does not return any results. Any suggestion on how to search while ignoring accented characters? Have fun, Arthur ___________________________________________ Arthur van Hoff, CTO Software and Services, Dell-ZING W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071106/81af64a9/attachment.htm From jg at metaweb.com Tue Nov 6 23:15:14 2007 From: jg at metaweb.com (John Giannandrea) Date: Tue, 6 Nov 2007 15:15:14 -0800 Subject: [Developers] Looking for Beyonce In-Reply-To: References: Message-ID: generally the unaccented name is saved as an alias. e.g. { "query":[{ "/common/topic/alias":[], "/common/topic/alias~=":"Beyonce", "id":null, "name":null, "type":"/music/artist" }] } On Nov 6, 2007, at 2:41 PM, Arthur van Hoff wrote: > Hi, > > > > Most users are used to searching for Beyonce (without the accent) > and finding Beyonc?. > > > > { > > "query":[{ > > "id":null, > > "name":null, > > "name~=":"Beyonce", > > "type":"/music/artist" > > }] > > } > > > > But this query does not return any results. Any suggestion on how > to search while ignoring accented characters? > > > > Have fun, > > > > Arthur > > > > ___________________________________________ > > Arthur van Hoff, CTO Software and Services, Dell-ZING > > W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 > > > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From brendan at metaweb.com Tue Nov 6 23:18:22 2007 From: brendan at metaweb.com (brendan neutra) Date: Tue, 06 Nov 2007 15:18:22 -0800 Subject: [Developers] Looking for Beyonce In-Reply-To: References: Message-ID: <4730F63E.2040505@metaweb.com> if the goal is to help a user find an object in the database, may I suggest... http://code.google.com/p/freebase-suggest/ brendan Arthur van Hoff wrote: > Hi, > > > > Most users are used to searching for Beyonce (without the accent) and finding Beyonc?. > > > > { > > "query":[{ > > "id":null, > > "name":null, > > "name~=":"Beyonce", > > "type":"/music/artist" > > }] > > } > > > > But this query does not return any results. Any suggestion on how to search while ignoring accented characters? > > > > Have fun, > > > > Arthur > > > > ___________________________________________ > > Arthur van Hoff, CTO Software and Services, Dell-ZING > > W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From jlweaver at lat-inc.com Wed Nov 7 03:20:14 2007 From: jlweaver at lat-inc.com (Jim Weaver) Date: Tue, 6 Nov 2007 22:20:14 -0500 Subject: [Developers] Looking for Beyonce In-Reply-To: Message-ID: Arthur, Fancy seeing you on this mailing list! If you haven't seen this Freebase Browser written in JavaFX Script, I thought you might appreciate it: http://jmentor.com/JavaFX/JFXfreebaseBrowser.jnlp You probably know that JavaFX Script requires JRE 1.5 or later. Thanks, and *you* have fun! Jim Weaver LAT, Inc. (http:// lat-inc.com) Professional site including bio: http://jmentor.com/about.php jim.weaver at lat-inc.com Author of recently published book: "JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-Side Applications" http://www.amazon.com/JavaFX-Script-Scripting-Client-side-Applications/dp/1590599454 eBook (PDF) download: http://www.apress.com/book/view/1590599454 Learn JavaFX Weblog: http://learnjavafx.typepad.com "Laughter is the shortest distance between two people" - Victor Borge ________________________________ From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of Arthur van Hoff Sent: Tuesday, November 06, 2007 5:41 PM To: developers at freebase.com Subject: [Developers] Looking for Beyonce Hi, Most users are used to searching for Beyonce (without the accent) and finding Beyonc?. { "query":[{ "id":null, "name":null, "name~=":"Beyonce", "type":"/music/artist" }] } But this query does not return any results. Any suggestion on how to search while ignoring accented characters? Have fun, Arthur ___________________________________________ Arthur van Hoff, CTO Software and Services, Dell-ZING W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071106/b7653b1b/attachment.htm From AVH at zing.net Wed Nov 7 04:13:14 2007 From: AVH at zing.net (Arthur van Hoff) Date: Tue, 6 Nov 2007 20:13:14 -0800 Subject: [Developers] Looking for Beyonce In-Reply-To: References: Message-ID: How do I query for an artist either by name or by alias? Section 3.2.20 of the documentation mentions that there is no way to express an OR relationship. I need to match against either an alias or a name because some bands don't have their name listed as an alias. -----Original Message----- From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of John Giannandrea Sent: Tuesday, November 06, 2007 3:15 PM To: For discussions about MQL,Freebase API and apps built on Freebase Subject: Re: [Developers] Looking for Beyonce generally the unaccented name is saved as an alias. e.g. { "query":[{ "/common/topic/alias":[], "/common/topic/alias~=":"Beyonce", "id":null, "name":null, "type":"/music/artist" }] } On Nov 6, 2007, at 2:41 PM, Arthur van Hoff wrote: > Hi, > > > > Most users are used to searching for Beyonce (without the accent) > and finding Beyonc?. > > > > { > > "query":[{ > > "id":null, > > "name":null, > > "name~=":"Beyonce", > > "type":"/music/artist" > > }] > > } > > > > But this query does not return any results. Any suggestion on how > to search while ignoring accented characters? > > > > Have fun, > > > > Arthur > > > > ___________________________________________ > > Arthur van Hoff, CTO Software and Services, Dell-ZING > > W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 > > > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers From crism at metaweb.com Wed Nov 7 06:04:09 2007 From: crism at metaweb.com (Christopher R. Maden) Date: Tue, 06 Nov 2007 22:04:09 -0800 Subject: [Developers] Looking for Beyonce In-Reply-To: References: Message-ID: <47315559.3030706@metaweb.com> Arthur van Hoff wrote: > How do I query for an artist either by name or by alias? Section > 3.2.20 of the documentation mentions that there is no way to express > an OR relationship. I need to match against either an alias or a > name because some bands don't have their name listed as an alias. You may want to try using the search API instead of MQL for these kinds of queries. If you want or need to use direct MQL, you will need to execute two queries. You can send them in one envelope or two, depending on your requirements; i.e., you could look for the name first, and if it fails, then send back a query for the alias, or you could send two queries, one for the name and one for the alias, and then see what you found. This is kind of what the search API is optimized for. The best examples of how to use it are in the freebase-suggest wiki: . ~Chris -- Christopher R. Maden Data Architect Metaweb Technologies, Inc. From tsturge at metaweb.com Wed Nov 7 05:18:38 2007 From: tsturge at metaweb.com (Tim Sturge) Date: Wed, 7 Nov 2007 00:18:38 -0500 (EST) Subject: [Developers] Looking for Beyonce In-Reply-To: <47315559.3030706@metaweb.com> Message-ID: <17423573.321131194412718980.JavaMail.root@h00215> I second Chris's suggestion that the search API is probably a better choice. It understands many ways of naming objects, not all of which MQL captures in either the name or alias fields; and it is also capable of returning results sorted by rank (importance hopefully) which MQL does not currently do. For reference, there is a somewhat ugly way of asking for "Beyonce" as a name or an alias: [{ "id":null, "name": null, "/type/reflect/any_value": [{ "value~=": "Beyonce", "value": null, "type": "/type/text", "lang": "/lang/en", "link|=": [ "/type/object/name", "/common/topic/alias" ], "link": null }] }] asks for the objects that have Beyonce attached to them as an English string in either the name or alias fields. This isn't well documented, but is stable. Tim ----- Original Message ----- From: "Christopher R. Maden" To: developers at freebase.com Sent: Tuesday, November 6, 2007 10:04:09 PM (GMT-0800) America/Los_Angeles Subject: Re: [Developers] Looking for Beyonce Arthur van Hoff wrote: > How do I query for an artist either by name or by alias? Section > 3.2.20 of the documentation mentions that there is no way to express > an OR relationship. I need to match against either an alias or a > name because some bands don't have their name listed as an alias. You may want to try using the search API instead of MQL for these kinds of queries. If you want or need to use direct MQL, you will need to execute two queries. You can send them in one envelope or two, depending on your requirements; i.e., you could look for the name first, and if it fails, then send back a query for the alias, or you could send two queries, one for the name and one for the alias, and then see what you found. This is kind of what the search API is optimized for. The best examples of how to use it are in the freebase-suggest wiki: . ~Chris -- Christopher R. Maden Data Architect Metaweb Technologies, Inc. _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers From mike at hudsonunion.com Wed Nov 7 11:46:24 2007 From: mike at hudsonunion.com (Mike Kelly) Date: Wed, 07 Nov 2007 06:46:24 -0500 Subject: [Developers] REMOVE Message-ID: PLEASE REMOVE MIKE at HUDSONUNION.COM FROM ALL DEVELOPER LISTS AND DIGESTS. Best, ----------------------------------- Mike Kelly | HUDSON UNION 45 Main Street, Suite #1054 Brooklyn, NY 11201 718.858.6888 office 917.957.9756 cell -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071107/6c684e7e/attachment.htm From ssak at appliedminds.com Wed Nov 7 15:42:06 2007 From: ssak at appliedminds.com (Steve Sak) Date: Wed, 07 Nov 2007 10:42:06 -0500 Subject: [Developers] multiple mjt queries In-Reply-To: <25568153.318161194382047817.JavaMail.root@h00215> References: <25568153.318161194382047817.JavaMail.root@h00215> Message-ID: <4731DCCE.7080806@appliedminds.com> That's close but not quite was I was looking for. I'd like to be able to call the function from javascript external to the div it was defined in. Nick Shapiro wrote: > You could put the task inside a mjt.def function, then call the function as many times as you want. > > Be careful to define the function before you call it. > > For example > http://dev.mqlx.com/~nick/example.html > > > > > > > ----- Original Message ----- > From: "Steve Sak" > To: "For discussions about MQL, Freebase API and apps built on Freebase" > Sent: Tuesday, November 6, 2007 10:58:38 AM (GMT-0800) America/Los_Angeles > Subject: Re: [Developers] multiple mjt queries > > > I believe the problem is that I'm refreshing the pane containing the > href to the query before the query is completed which the causes brower > to cancel the in-process request. So, how do I rerun a compiled > mjt.task without reloading and calling mjt.run? > > > Nick Thompson wrote: > >> mjt doesn't normally use xhr, so i'm puzzled by the error message. >> are you using a custom mjt.task type? it sounds like your xhr layer >> (part of dojo?) might allow only one pending request at a time. >> >> usually i just fire off lots of queries and let the browser queue them >> up in the order they are requested. i've thought about having mjt keep >> its own request queue so that you could prioritize some queries, but i >> haven't come up with a use case that would justify the complexity. >> >> nick >> >> Steve Sak wrote: >> >> >>> Are there any suggestions/best practices for how to run a query multiple >>> times in rapid succession with a varying parameter. I'm seeing all the >>> queries except for the last step on each other with a "Error: xhr >>> cancelled dojoType=cancel message=xhr cancelled" message. I get the >>> same behavior both when I put the parameters in a list and use mjt.for >>> to iterate and when I refresh the page the query if on multiple times. >>> Perhaps a way to vary the task id or run the query synchronously? >>> >>> Thanks >>> >>> >>> >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers >> >> > > -- Steven G Sak Applied Minds, Inc. 11718 Bowman Green Drive Reston, Virginia 20190 o: (703) 483-2207 c: (703) 626-2557 From will at hamstersoup.com Thu Nov 8 00:38:58 2007 From: will at hamstersoup.com (Will Moffat) Date: Wed, 7 Nov 2007 19:38:58 -0500 Subject: [Developers] Freebase Suggested Metatagging In-Reply-To: <1E7DC56F-C477-4362-8E21-A75E8AB559EB@metaweb.com> References: <472F09DD.8050804@inf.fu-berlin.de> <6AEE86C6-0CAF-447E-B6C0-C46141C80522@metaweb.com> <47306C60.9050003@inf.fu-berlin.de> <1E7DC56F-C477-4362-8E21-A75E8AB559EB@metaweb.com> Message-ID: <2f665fe20711071638x33c8edd1wa031bdd96acccf27@mail.gmail.com> Hi all, Sebastian got me exciting about using Freebase for tagging so I created a simple example showing how it could be done using Freebase Suggest to autocomplete the tag name. Check out the tagging demo on http://code.google.com/p/freebase-suggest/ I've taken the same approach that most blogging software uses, the tags are actually href links into a unique namespace. In my demo they link to the topic on Freebase. feedback very welcome, --Will From kurt at inf.fu-berlin.de Thu Nov 8 09:51:23 2007 From: kurt at inf.fu-berlin.de (Sebastian Kurt) Date: Thu, 08 Nov 2007 10:51:23 +0100 Subject: [Developers] Freebase Suggested Metatagging In-Reply-To: <2f665fe20711071638x33c8edd1wa031bdd96acccf27@mail.gmail.com> References: <472F09DD.8050804@inf.fu-berlin.de> <6AEE86C6-0CAF-447E-B6C0-C46141C80522@metaweb.com> <47306C60.9050003@inf.fu-berlin.de> <1E7DC56F-C477-4362-8E21-A75E8AB559EB@metaweb.com> <2f665fe20711071638x33c8edd1wa031bdd96acccf27@mail.gmail.com> Message-ID: <4732DC1B.7060701@inf.fu-berlin.de> hi will, the text has to be set to empty after adding the selected topic, othwerwise teh next tag has to start search with the words of the last one. what IMHO will be more useless is something like an extension for a tagging service. this have to provide tags that one can "put" into the tag boxes of each service(eg. :freebase>:id). The action "put" needs to be specified, because it has pretty effect on usabilty and hence it is IMHO the thing which makes the most about appeal on using the freebase-tags. however this approach needs also something that converts tags of the style above to something meaningful. you could say why, one can extract the id and put it into freebase. for instance delicous give users the chance to create tag descriptions. perhaps this description can be used to show users haven't seen freebase-tag yet what is behind it. this will add a new layer to the tagging services as more people use the "new" tags. before that it provides more info to each user using it. thanks for implementing a demo, cheers sebastian Will Moffat schrieb: > Hi all, > > Sebastian got me exciting about using Freebase for tagging so I > created a simple example showing how it could be done using Freebase > Suggest to autocomplete the tag name. Check out the tagging demo on > http://code.google.com/p/freebase-suggest/ > > I've taken the same approach that most blogging software uses, the > tags are actually href links into a unique namespace. In my demo they > link to the topic on Freebase. > > feedback very welcome, > --Will -- mailto:kurt at inf.fu-berlin.de 0179 7923088 http://vIdentity.de http://skurt.de From will at hamstersoup.com Thu Nov 8 11:43:19 2007 From: will at hamstersoup.com (Will Moffat) Date: Thu, 8 Nov 2007 06:43:19 -0500 Subject: [Developers] Freebase Suggested Metatagging In-Reply-To: <4732DC1B.7060701@inf.fu-berlin.de> References: <472F09DD.8050804@inf.fu-berlin.de> <6AEE86C6-0CAF-447E-B6C0-C46141C80522@metaweb.com> <47306C60.9050003@inf.fu-berlin.de> <1E7DC56F-C477-4362-8E21-A75E8AB559EB@metaweb.com> <2f665fe20711071638x33c8edd1wa031bdd96acccf27@mail.gmail.com> <4732DC1B.7060701@inf.fu-berlin.de> Message-ID: <2f665fe20711080343v75c627c2jf8496d7dd00a54d1@mail.gmail.com> Hi Sebastian, > the text has to be set to empty after adding the selected topic, Fixed. > what IMHO will be more [useful] is something like an extension for a > tagging service. I agree, I just wanted to show how easily you could implement the user interface using Freebase Suggest. I'm hoping that the demo will inspire somebody to integrate it with an existing tagging system or build a new one. ;-) regards, --Will From kurt at inf.fu-berlin.de Thu Nov 8 14:26:58 2007 From: kurt at inf.fu-berlin.de (Sebastian Kurt) Date: Thu, 08 Nov 2007 15:26:58 +0100 Subject: [Developers] Adjust SearchBox Behaviour Message-ID: <47331CB2.1060608@inf.fu-berlin.de> Hi, isn't it more user friendly to change the (default) search box by ordering the results higher if not only "names" and "also known as" of a topic is found but involve type and other properties? Example: Typing "Jordan Person" brings Jordan (Location Country) at first. I would expect persons named jordan are in front what do you think? sebastian -- mailto:kurt at inf.fu-berlin.de 0179 7923088 http://vIdentity.de http://skurt.de From AVH at zing.net Thu Nov 8 16:37:12 2007 From: AVH at zing.net (Arthur van Hoff) Date: Thu, 8 Nov 2007 08:37:12 -0800 Subject: [Developers] Actionscript/Flash search box? Message-ID: Has anyone created a Actionscript/Flash version of the search box? ___________________________________________ Arthur van Hoff, CTO Software and Services, Dell-ZING W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071108/c427b518/attachment.htm From fire at kidbombay.com Thu Nov 8 17:14:16 2007 From: fire at kidbombay.com (Ketan Anjaria) Date: Thu, 8 Nov 2007 09:14:16 -0800 Subject: [Developers] Actionscript/Flash search box? In-Reply-To: References: Message-ID: <1D5B1FDC-E732-4D5B-B4D1-02DEB2349068@kidbombay.com> You can look at the on FreeSpin,it's an autocomplete for topics that works about the same. http://kidbombay.com/clients/freebase/freeSpin/ On Nov 8, 2007, at 8:37 AM, Arthur van Hoff wrote: > Has anyone created a Actionscript/Flash version of the search box? > ___________________________________________ > Arthur van Hoff, CTO Software and Services, Dell-ZING > W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071108/7044be7f/attachment-0001.htm From tomgordon at mac.com Thu Nov 8 18:16:14 2007 From: tomgordon at mac.com (Tom Gordon) Date: Thu, 8 Nov 2007 13:16:14 -0500 Subject: [Developers] duplicate results when using an optional clause? Message-ID: I'm querying for musical genres with this query: [{ "type": "/music/genre", "limit": 100, "id":null, "guid":null, "name":null, "key":[], "timestamp":null, "permission":[], "creator":[], "attribution":[], "parent_genre": [{ "id": null, "optional": true }] }] If I don't specify "id" for the parent_genre, I get the name instead, which is may not be unique (it may be for this specific type, but you get the idea). If I don't specify the "optional", then I only get genres that have a parent. If I do specify the "optional", I seem to be getting duplicates in the results. It looks to me like any genre that does have a parent is being sent twice. Is this a bug or should I be doing something differently? It's not a gigantic thing but I have other queries and would like to know what's going on here. Oh yeah, also the cursor is looping back today - I never get "false", but I do get repeats (it just loops forever). Thanks! Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071108/352bbe37/attachment.htm From robert at metaweb.com Thu Nov 8 19:00:33 2007 From: robert at metaweb.com (Robert Cook) Date: Thu, 8 Nov 2007 11:00:33 -0800 Subject: [Developers] Actionscript/Flash search box? In-Reply-To: <1D5B1FDC-E732-4D5B-B4D1-02DEB2349068@kidbombay.com> References: <1D5B1FDC-E732-4D5B-B4D1-02DEB2349068@kidbombay.com> Message-ID: BTW, the world is free to use this code. We haven't put the open license on it yet, but it will most likely be a commercial-friendly non-share-alike license. R On Nov 8, 2007, at 9:14 AM, Ketan Anjaria wrote: > You can look at the on FreeSpin,it's an autocomplete for topics > that works about the same. > http://kidbombay.com/clients/freebase/freeSpin/ > > On Nov 8, 2007, at 8:37 AM, Arthur van Hoff wrote: > >> Has anyone created a Actionscript/Flash version of the search box? >> ___________________________________________ >> Arthur van Hoff, CTO Software and Services, Dell-ZING >> W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 >> >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071108/c805425c/attachment.htm From nick at metaweb.com Fri Nov 9 01:16:08 2007 From: nick at metaweb.com (Nick Shapiro) Date: Thu, 8 Nov 2007 20:16:08 -0500 (EST) Subject: [Developers] multiple mjt queries In-Reply-To: <4731DCCE.7080806@appliedminds.com> Message-ID: <14866542.330441194570968440.JavaMail.root@h00215> I just spoke with Nick Thompson about this. He says the key is that mjt.run (or mjt.load()) returns a namespace where all the mjt.def functions are available. Once you grab that you can refer to the template function using mjt.run() or other tools, as documented here: http://mjtemplate.org/tour/intro.html#mjt-run-element-template-function-template-args For example: From AVH at zing.net Fri Nov 9 03:56:10 2007 From: AVH at zing.net (Arthur van Hoff) Date: Thu, 8 Nov 2007 19:56:10 -0800 Subject: [Developers] Actionscript/Flash search box? References: <1D5B1FDC-E732-4D5B-B4D1-02DEB2349068@kidbombay.com> Message-ID: Do you know where the code is available? -----Original Message----- From: developers-bounces at freebase.com on behalf of Robert Cook Sent: Thu 11/8/2007 11:00 AM To: For discussions about MQL,Freebase API and apps built on Freebase Subject: Re: [Developers] Actionscript/Flash search box? BTW, the world is free to use this code. We haven't put the open license on it yet, but it will most likely be a commercial-friendly non-share-alike license. R On Nov 8, 2007, at 9:14 AM, Ketan Anjaria wrote: > You can look at the on FreeSpin,it's an autocomplete for topics > that works about the same. > http://kidbombay.com/clients/freebase/freeSpin/ > > On Nov 8, 2007, at 8:37 AM, Arthur van Hoff wrote: > >> Has anyone created a Actionscript/Flash version of the search box? >> ___________________________________________ >> Arthur van Hoff, CTO Software and Services, Dell-ZING >> W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 >> >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071108/437289a3/attachment.htm From fire at kidBombay.com Fri Nov 9 05:28:19 2007 From: fire at kidBombay.com (Ketan Anjaria) Date: Thu, 8 Nov 2007 21:28:19 -0800 Subject: [Developers] Actionscript/Flash search box? In-Reply-To: References: <1D5B1FDC-E732-4D5B-B4D1-02DEB2349068@kidbombay.com> Message-ID: <98dc4b00711082128t72d53279uaa03a38aba9f5e9e@mail.gmail.com> I can try to whip up an example tonight. You will also need to have the JSON libraries from adobe. All requests in mql are through JSON and flash doesn't not have native JSON parsing. http://code.google.com/p/as3corelib/ This is AS3 only. Not sure if anyone has a AS2 JSON library but it shouldn't be too hard to make from the AS3 one. On 11/8/07, Arthur van Hoff wrote: > > > > Do you know where the code is available? > > > -----Original Message----- > From: developers-bounces at freebase.com on behalf of Robert Cook > Sent: Thu 11/8/2007 11:00 AM > To: For discussions about MQL,Freebase API and apps built on Freebase > Subject: Re: [Developers] Actionscript/Flash search box? > > BTW, the world is free to use this code. We haven't put the open > license on it yet, but it will most likely be a commercial-friendly > non-share-alike license. > > R > > On Nov 8, 2007, at 9:14 AM, Ketan Anjaria wrote: > > > You can look at the on FreeSpin,it's an autocomplete for topics > > that works about the same. > > http://kidbombay.com/clients/freebase/freeSpin/ > > > > On Nov 8, 2007, at 8:37 AM, Arthur van Hoff wrote: > > > >> Has anyone created a Actionscript/Flash version of the search box? > >> ___________________________________________ > >> Arthur van Hoff, CTO Software and Services, Dell-ZING > >> W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 > >> > >> _______________________________________________ > >> Developers mailing list > >> Developers at freebase.com > >> http://lists.freebase.com/mailman/listinfo/developers > > > > _______________________________________________ > > Developers mailing list > > Developers at freebase.com > > http://lists.freebase.com/mailman/listinfo/developers > > > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers > > -- Ketan Anjaria 415.260.8742 f. 415-358-4278 fire at kidbombay.com www.kidbombay.com From nix at metaweb.com Fri Nov 9 07:37:27 2007 From: nix at metaweb.com (Nick Thompson) Date: Thu, 08 Nov 2007 23:37:27 -0800 Subject: [Developers] Actionscript/Flash search box? In-Reply-To: <98dc4b00711082128t72d53279uaa03a38aba9f5e9e@mail.gmail.com> References: <1D5B1FDC-E732-4D5B-B4D1-02DEB2349068@kidbombay.com> <98dc4b00711082128t72d53279uaa03a38aba9f5e9e@mail.gmail.com> Message-ID: <47340E37.9040607@metaweb.com> here's another json library for flash. i haven't looked at the as3 version so can't compare: http://osteele.com/sources/openlaszlo/json/ nick Ketan Anjaria wrote: > I can try to whip up an example tonight. You will also need to have > the JSON libraries from adobe. All requests in mql are through JSON > and flash doesn't not have native JSON parsing. > > http://code.google.com/p/as3corelib/ > > This is AS3 only. Not sure if anyone has a AS2 JSON library but it > shouldn't be too hard to make from the AS3 one. > > > On 11/8/07, Arthur van Hoff wrote: >> >> >> Do you know where the code is available? >> >> >> -----Original Message----- >> From: developers-bounces at freebase.com on behalf of Robert Cook >> Sent: Thu 11/8/2007 11:00 AM >> To: For discussions about MQL,Freebase API and apps built on Freebase >> Subject: Re: [Developers] Actionscript/Flash search box? >> >> BTW, the world is free to use this code. We haven't put the open >> license on it yet, but it will most likely be a commercial-friendly >> non-share-alike license. >> >> R >> >> On Nov 8, 2007, at 9:14 AM, Ketan Anjaria wrote: >> >> > You can look at the on FreeSpin,it's an autocomplete for topics >> > that works about the same. >> > http://kidbombay.com/clients/freebase/freeSpin/ >> > >> > On Nov 8, 2007, at 8:37 AM, Arthur van Hoff wrote: >> > >> >> Has anyone created a Actionscript/Flash version of the search box? >> >> ___________________________________________ >> >> Arthur van Hoff, CTO Software and Services, Dell-ZING >> >> W: 650-267-2413, F: 650-267-2498, M: 650-283-0842 >> >> >> >> _______________________________________________ >> >> Developers mailing list >> >> Developers at freebase.com >> >> http://lists.freebase.com/mailman/listinfo/developers >> > >> > _______________________________________________ >> > Developers mailing list >> > Developers at freebase.com >> > http://lists.freebase.com/mailman/listinfo/developers >> >> >> >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers >> >> > > From fire at kidbombay.com Fri Nov 9 15:56:50 2007 From: fire at kidbombay.com (Ketan Anjaria) Date: Fri, 9 Nov 2007 07:56:50 -0800 Subject: [Developers] ActionScript 3 FreeBase Search Example Message-ID: <2A763971-D3DA-4E50-BBD3-9653E0398B3C@kidbombay.com> I made a quick little demo showing the search API used in Actionscript 3 You can view it at http://kidbombay.com/clients/freebase/examples/search/ You can download it here, Flash CS3 is required. http://kidbombay.com/clients/freebase/examples/search/ FreeBaseExample.zip Ketan Anjaria fire at kidbombay.com www.kidbombay.com 415.260.8742 f. 415.358.4278 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071109/5871b4ad/attachment.htm From faye at metaweb.com Fri Nov 9 19:44:45 2007 From: faye at metaweb.com (Faye Li) Date: Fri, 09 Nov 2007 11:44:45 -0800 Subject: [Developers] Adjust SearchBox Behaviour In-Reply-To: <47331CB2.1060608@inf.fu-berlin.de> References: <47331CB2.1060608@inf.fu-berlin.de> Message-ID: <4734B8AD.6040407@metaweb.com> Hi Sebastian, If you mean the search box at the top right corner of Freebase, it does takes into consideration an array of factors in addition to topic name. It's not, however, smart enough to know when a word typed in is supposed to be the type or just part of the search string. In this case, the most well-known "Jordan" is the Arab country, and the word "person" happen to appear three times in the topic article. Think of it more as "keyword" matching. For example, guess what the top result is if you type in "jordan basketball player". Yes, it's "Michael Jordan". For constraining search results to a type like "Person", we have a feature in Freebase just for it: the Narrow Results Filter by Type feature on the left side of search results. BTW, if you're accessing search through the Freebase search API, the same results can be achieved by adding "type":"/people/person" as another clause in your search query. -- Faye Sebastian Kurt wrote: > Hi, > isn't it more user friendly to change the (default) search box by > ordering the results higher if not only "names" and "also known as" of a > topic is found but involve type and other properties? > > Example: Typing "Jordan Person" brings Jordan (Location Country) at > first. I would expect persons named jordan are in front > > what do you think? > > sebastian > From skud at infotrope.net Tue Nov 13 00:05:38 2007 From: skud at infotrope.net (Kirrily Robert) Date: Tue, 13 Nov 2007 11:05:38 +1100 Subject: [Developers] Caching problem? Message-ID: I'm working on populating /time/historic_period and related types. To do this, I'm mostly dinking around manually on freebase.com, but I've also written myself a little CGI script to help me know where to focus my efforts. Now I'm finding that when I hit "reload" on my script, it doesn't pick up changes I've made on freebase.com since I last refreshed. Will Moffat, on IRC, suggested this was a caching bug he'd experienced before, and that you could get round it by making a small change to the MQL, eg. changing limit 100 to limit 101. This does indeed seem to work, but obviously it's not a real solution. Is this something that people know about and are looking into? K. -- Kirrily Robert skud at infotrope.net http://infotrope.net From alecf at metaweb.com Tue Nov 13 00:37:02 2007 From: alecf at metaweb.com (Alec Flett) Date: Mon, 12 Nov 2007 16:37:02 -0800 Subject: [Developers] Caching problem? In-Reply-To: References: Message-ID: <4738F1AE.1040401@metaweb.com> It's not really a bug - its more of a feature :) Its part of our caching strategy - the idea is that if a client hasn't done a write, then it doesn't need to see the most updated result of a query. so I'm guessing you're writing to www.freebase.com via a browser, but you have another script that is doing the read? There is actually a 2nd cookie called "mwLastWriteTime" that stores a token that tells us how current your data is. If present, it tells us how current your results should be.. if NOT present, it means "I don't care how current my data is" and may give you even older data. If you really, really, need to refresh this cookie to get new data, you should do an empty HTTP POST to /api/service/mqlwrite. I encourage you to do this sparingly - this is not a generally supported mechanism yet, but it should continue to work for the near future. Alec Kirrily Robert wrote: > I'm working on populating /time/historic_period and related types. To > do this, I'm mostly dinking around manually on freebase.com, but I've > also written myself a little CGI script to help me know where to focus > my efforts. Now I'm finding that when I hit "reload" on my script, it > doesn't pick up changes I've made on freebase.com since I last > refreshed. Will Moffat, on IRC, suggested this was a caching bug he'd > experienced before, and that you could get round it by making a small > change to the MQL, eg. changing limit 100 to limit 101. This does > indeed seem to work, but obviously it's not a real solution. > > Is this something that people know about and are looking into? > > K. > > From tyler at metaweb.com Tue Nov 13 00:53:08 2007 From: tyler at metaweb.com (tyler) Date: Mon, 12 Nov 2007 16:53:08 -0800 Subject: [Developers] sandbox data refresh Message-ID: <4738F574.6080300@metaweb.com> Happening right now! Should just be a moment. T From tyler at metaweb.com Tue Nov 13 01:05:46 2007 From: tyler at metaweb.com (tyler) Date: Mon, 12 Nov 2007 17:05:46 -0800 Subject: [Developers] Sandbox data refresh all done! Message-ID: <4738F86A.9060208@metaweb.com> Enjoy. T From AVH at zing.net Tue Nov 13 07:45:27 2007 From: AVH at zing.net (Arthur van Hoff) Date: Mon, 12 Nov 2007 23:45:27 -0800 Subject: [Developers] Looking for Beyonce In-Reply-To: <47315559.3030706@metaweb.com> References: <47315559.3030706@metaweb.com> Message-ID: Hi Chris, I switched over to using the search API, which works, but I have some questions. When you search for Beyonce the results contains "50 Cent vs. Beyonc?" before "Beyonc? & Stevie Wonder". What determines the order? It would seem that the results where Beyonc? is closer to the start of a string should be listed first. When you search for Beyonce you find "Swizz Beatz" (huh?). Perhaps it is because the original Wikipedia entry contains a reference to Beyonce? Is there some way to restrict the results only to topics that actually contain the search string in the name or in an alias? Is it possible to get results without escaped HTML characters? Thanks for your help. -----Original Message----- From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of Christopher R. Maden Sent: Tuesday, November 06, 2007 10:04 PM To: developers at freebase.com Subject: Re: [Developers] Looking for Beyonce Arthur van Hoff wrote: > How do I query for an artist either by name or by alias? Section > 3.2.20 of the documentation mentions that there is no way to express > an OR relationship. I need to match against either an alias or a > name because some bands don't have their name listed as an alias. You may want to try using the search API instead of MQL for these kinds of queries. If you want or need to use direct MQL, you will need to execute two queries. You can send them in one envelope or two, depending on your requirements; i.e., you could look for the name first, and if it fails, then send back a query for the alias, or you could send two queries, one for the name and one for the alias, and then see what you found. This is kind of what the search API is optimized for. The best examples of how to use it are in the freebase-suggest wiki: . ~Chris -- Christopher R. Maden Data Architect Metaweb Technologies, Inc. _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers From tsturge at metaweb.com Tue Nov 13 21:20:52 2007 From: tsturge at metaweb.com (Tim Sturge) Date: Tue, 13 Nov 2007 16:20:52 -0500 (EST) Subject: [Developers] Looking for Beyonce In-Reply-To: Message-ID: <15822956.348401194988852702.JavaMail.root@h00215> Hi Arthur, The order is determined by the overall rank of the item (in a search engine fashion.) The word placement isn't important (although phrases do rank higher just like in search engines.) So I assume that more people care about 50 cent's duo than Stevie Wonder's. The search engine tries to be fairly comprehensive in its results. This is because there are many cases where we don't have names and aliases that are widely known. For example there is no alias "AAA" for the "American Automobile Association". So restricting to names and aliases would produce an inferior set of matches. Conversely though the lower ranked results are often not very meaningful; they have some related "context" but aren't exactly related to the search string. Restricting to the top 10 results is the way we've dealt with this; all of the first 10 results for Beyonce seem to be related to her. I hope this is helpful, Tim ----- Original Message ----- From: "Arthur van Hoff" To: "For discussions about MQL, Freebase API and apps built on Freebase" Sent: Monday, November 12, 2007 11:45:27 PM (GMT-0800) America/Los_Angeles Subject: Re: [Developers] Looking for Beyonce Hi Chris, I switched over to using the search API, which works, but I have some questions. When you search for Beyonce the results contains "50 Cent vs. Beyonc?" before "Beyonc? & Stevie Wonder". What determines the order? It would seem that the results where Beyonc? is closer to the start of a string should be listed first. When you search for Beyonce you find "Swizz Beatz" (huh?). Perhaps it is because the original Wikipedia entry contains a reference to Beyonce? Is there some way to restrict the results only to topics that actually contain the search string in the name or in an alias? Is it possible to get results without escaped HTML characters? Thanks for your help. -----Original Message----- From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of Christopher R. Maden Sent: Tuesday, November 06, 2007 10:04 PM To: developers at freebase.com Subject: Re: [Developers] Looking for Beyonce Arthur van Hoff wrote: > How do I query for an artist either by name or by alias? Section > 3.2.20 of the documentation mentions that there is no way to express > an OR relationship. I need to match against either an alias or a > name because some bands don't have their name listed as an alias. You may want to try using the search API instead of MQL for these kinds of queries. If you want or need to use direct MQL, you will need to execute two queries. You can send them in one envelope or two, depending on your requirements; i.e., you could look for the name first, and if it fails, then send back a query for the alias, or you could send two queries, one for the name and one for the alias, and then see what you found. This is kind of what the search API is optimized for. The best examples of how to use it are in the freebase-suggest wiki: . ~Chris -- Christopher R. Maden Data Architect Metaweb Technologies, Inc. _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers From AVH at zing.net Tue Nov 13 21:41:10 2007 From: AVH at zing.net (Arthur van Hoff) Date: Tue, 13 Nov 2007 13:41:10 -0800 Subject: [Developers] Looking for Beyonce In-Reply-To: <15822956.348401194988852702.JavaMail.root@h00215> References: <15822956.348401194988852702.JavaMail.root@h00215> Message-ID: Hi Tim, I'm not sure this is the behavior that our users are going to expect. They are going to wonder why I am showing Swizz Beatz when you type in Beyonce, and I need to display a reason why there is a match. For now I can match the search string against the aliases, and discard the results that don't have a match. Thanks. -----Original Message----- From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of Tim Sturge Sent: Tuesday, November 13, 2007 1:21 PM To: For discussions about MQL,Freebase API and apps built on Freebase Cc: For discussions about MQL,Freebase API and apps built on Freebase Subject: Re: [Developers] Looking for Beyonce Hi Arthur, The order is determined by the overall rank of the item (in a search engine fashion.) The word placement isn't important (although phrases do rank higher just like in search engines.) So I assume that more people care about 50 cent's duo than Stevie Wonder's. The search engine tries to be fairly comprehensive in its results. This is because there are many cases where we don't have names and aliases that are widely known. For example there is no alias "AAA" for the "American Automobile Association". So restricting to names and aliases would produce an inferior set of matches. Conversely though the lower ranked results are often not very meaningful; they have some related "context" but aren't exactly related to the search string. Restricting to the top 10 results is the way we've dealt with this; all of the first 10 results for Beyonce seem to be related to her. I hope this is helpful, Tim ----- Original Message ----- From: "Arthur van Hoff" To: "For discussions about MQL, Freebase API and apps built on Freebase" Sent: Monday, November 12, 2007 11:45:27 PM (GMT-0800) America/Los_Angeles Subject: Re: [Developers] Looking for Beyonce Hi Chris, I switched over to using the search API, which works, but I have some questions. When you search for Beyonce the results contains "50 Cent vs. Beyonc?" before "Beyonc? & Stevie Wonder". What determines the order? It would seem that the results where Beyonc? is closer to the start of a string should be listed first. When you search for Beyonce you find "Swizz Beatz" (huh?). Perhaps it is because the original Wikipedia entry contains a reference to Beyonce? Is there some way to restrict the results only to topics that actually contain the search string in the name or in an alias? Is it possible to get results without escaped HTML characters? Thanks for your help. -----Original Message----- From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of Christopher R. Maden Sent: Tuesday, November 06, 2007 10:04 PM To: developers at freebase.com Subject: Re: [Developers] Looking for Beyonce Arthur van Hoff wrote: > How do I query for an artist either by name or by alias? Section > 3.2.20 of the documentation mentions that there is no way to express > an OR relationship. I need to match against either an alias or a > name because some bands don't have their name listed as an alias. You may want to try using the search API instead of MQL for these kinds of queries. If you want or need to use direct MQL, you will need to execute two queries. You can send them in one envelope or two, depending on your requirements; i.e., you could look for the name first, and if it fails, then send back a query for the alias, or you could send two queries, one for the name and one for the alias, and then see what you found. This is kind of what the search API is optimized for. The best examples of how to use it are in the freebase-suggest wiki: . ~Chris -- Christopher R. Maden Data Architect Metaweb Technologies, Inc. _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers From tomgordon at mac.com Tue Nov 13 22:37:56 2007 From: tomgordon at mac.com (Tom Gordon) Date: Tue, 13 Nov 2007 17:37:56 -0500 Subject: [Developers] getting descriptions and wikipedia links Message-ID: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> Hi, I'm a bit stumped about how to get a good item description. For example, take the United States item on www.freebase.com: http://www.freebase.com/view/guid/9202a8c04000641f8000000000959f60 There's a rather nice-sized description, the start of the Wikipedia article. If I try to get that via trans, I can do one of these: http://www.freebase.com/api/trans/blurb/% 239202a8c04000641f8000000000959f6a or http://www.freebase.com/api/trans/raw/% 239202a8c04000641f8000000000959f6a The first is too short, and the second is the entire article. Soooo how do you generate those nice descriptions? If I want something similar, do I need to parse them out from the Wikipedia article myself? Second question: given some article data below (for the United States), I see there's a wikipedia article ID in the source URI. But that URI doesn't work directly. How would I get the actual Wikipedia link (or generate it)? { "code":"/api/status/ok", "result":[{ "article":[{ "attribution":["/user/mwcl_wikipedia_en"], "author":[], "content":[], "contributor":[], "creator":["/user/mwcl_wikipedia_en"], "guid":["#9202a8c04000641f8000000000959f6a"], "id":["/guid/9202a8c04000641f8000000000959f6a"], "in_reply_to":[], "key":[], "name":[], "permission":["/boot/all_permission"], "published":[], "replies":[], "source_uri":["http://wp/en/3434750"], "summary":[], "timestamp":["2006-10-23T17:20:21.0045Z"], "type":["/common/document"], "updated":[] }], "guid":"#9202a8c04000641f8000000000959f60", "name":"United States", "type":"/common/topic" }] } Thanks in advance for any info, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071113/220da91e/attachment.htm From daepark at metaweb.com Tue Nov 13 22:59:21 2007 From: daepark at metaweb.com (Dae Park) Date: Tue, 13 Nov 2007 14:59:21 -0800 Subject: [Developers] getting descriptions and wikipedia links In-Reply-To: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> Message-ID: <67E5AB34-FAAB-4E98-89A2-2D5818A45539@metaweb.com> /api/trans/blurb takes an optional maxlength parameter http://www.freebase.com/api/trans/blurb/% 239202a8c04000641f8000000000959f6a?maxlength=200 I believe 200 is the default. -dae On Nov 13, 2007, at 2:37 PM, Tom Gordon wrote: > how do you generate those nice descriptions? From tsturge at metaweb.com Wed Nov 14 02:53:36 2007 From: tsturge at metaweb.com (Tim Sturge) Date: Tue, 13 Nov 2007 21:53:36 -0500 (EST) Subject: [Developers] Looking for Beyonce In-Reply-To: Message-ID: <18381264.350961195008816251.JavaMail.root@h00215> This is not the first time I've heard this said. I'm wondering whether or not this should be a supported mode. The problem I have is that users don't expect this except when they do :-) For example "Destiny's Child" is an excellent result for Beyonce; sometimes tracks were written by the group, not by Beyonce as an individual. Likewise "U2" is a good result for "Larry Mullen" for much the same reason. Problem is that it is hard to draw the line when these things are important and when they are not. Tim ----- Original Message ----- From: "Arthur van Hoff" To: "For discussions about MQL, Freebase API and apps built on Freebase" Sent: Tuesday, November 13, 2007 1:41:10 PM (GMT-0800) America/Los_Angeles Subject: Re: [Developers] Looking for Beyonce Hi Tim, I'm not sure this is the behavior that our users are going to expect. They are going to wonder why I am showing Swizz Beatz when you type in Beyonce, and I need to display a reason why there is a match. For now I can match the search string against the aliases, and discard the results that don't have a match. Thanks. -----Original Message----- From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of Tim Sturge Sent: Tuesday, November 13, 2007 1:21 PM To: For discussions about MQL,Freebase API and apps built on Freebase Cc: For discussions about MQL,Freebase API and apps built on Freebase Subject: Re: [Developers] Looking for Beyonce Hi Arthur, The order is determined by the overall rank of the item (in a search engine fashion.) The word placement isn't important (although phrases do rank higher just like in search engines.) So I assume that more people care about 50 cent's duo than Stevie Wonder's. The search engine tries to be fairly comprehensive in its results. This is because there are many cases where we don't have names and aliases that are widely known. For example there is no alias "AAA" for the "American Automobile Association". So restricting to names and aliases would produce an inferior set of matches. Conversely though the lower ranked results are often not very meaningful; they have some related "context" but aren't exactly related to the search string. Restricting to the top 10 results is the way we've dealt with this; all of the first 10 results for Beyonce seem to be related to her. I hope this is helpful, Tim ----- Original Message ----- From: "Arthur van Hoff" To: "For discussions about MQL, Freebase API and apps built on Freebase" Sent: Monday, November 12, 2007 11:45:27 PM (GMT-0800) America/Los_Angeles Subject: Re: [Developers] Looking for Beyonce Hi Chris, I switched over to using the search API, which works, but I have some questions. When you search for Beyonce the results contains "50 Cent vs. Beyonc?" before "Beyonc? & Stevie Wonder". What determines the order? It would seem that the results where Beyonc? is closer to the start of a string should be listed first. When you search for Beyonce you find "Swizz Beatz" (huh?). Perhaps it is because the original Wikipedia entry contains a reference to Beyonce? Is there some way to restrict the results only to topics that actually contain the search string in the name or in an alias? Is it possible to get results without escaped HTML characters? Thanks for your help. -----Original Message----- From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of Christopher R. Maden Sent: Tuesday, November 06, 2007 10:04 PM To: developers at freebase.com Subject: Re: [Developers] Looking for Beyonce Arthur van Hoff wrote: > How do I query for an artist either by name or by alias? Section > 3.2.20 of the documentation mentions that there is no way to express > an OR relationship. I need to match against either an alias or a > name because some bands don't have their name listed as an alias. You may want to try using the search API instead of MQL for these kinds of queries. If you want or need to use direct MQL, you will need to execute two queries. You can send them in one envelope or two, depending on your requirements; i.e., you could look for the name first, and if it fails, then send back a query for the alias, or you could send two queries, one for the name and one for the alias, and then see what you found. This is kind of what the search API is optimized for. The best examples of how to use it are in the freebase-suggest wiki: . ~Chris -- Christopher R. Maden Data Architect Metaweb Technologies, Inc. _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers From christopher.dummy at gmail.com Wed Nov 14 04:09:19 2007 From: christopher.dummy at gmail.com (Christopher Dummy) Date: Tue, 13 Nov 2007 22:09:19 -0600 Subject: [Developers] id versus guid Message-ID: If I want to make sure I'm getting the same object, should I save off the "id" or the "guid". I see that the "id" can sometimes be the topic name, like: http://www.freebase.com/view/engadget_podcast I just wasn't sure how well I could depend on the "id" staying the same. Or if the "id" might change (ie, renamed, or spelling correction, or some other unknown), and in that case I would want to really store the "guid" to remember the correct object. What are the cases when the "id" would change? -- Christopher Cotton Zing/Dell Engineer http://zing.net/ From jg at metaweb.com Wed Nov 14 07:11:20 2007 From: jg at metaweb.com (John Giannandrea) Date: Tue, 13 Nov 2007 23:11:20 -0800 Subject: [Developers] id versus guid In-Reply-To: References: Message-ID: <88A26C79-B45E-4622-B56D-0F84FFF2A9FE@metaweb.com> The id's are intended to be very stable, while providing a level of indirection from the underlying guid. If a topic is merged or renamed then both ids would still exist. Over time we expect to provide several namespaces and they might have different policies or longevity, but for now /topic/en is the most stable and its write controlled. -jg On Nov 13, 2007, at 8:09 PM, Christopher Dummy wrote: > If I want to make sure I'm getting the same object, should I save off > the "id" or the "guid". I see that the "id" can sometimes be the topic > name, like: > > http://www.freebase.com/view/engadget_podcast > > I just wasn't sure how well I could depend on the "id" staying the > same. Or if the "id" might change (ie, renamed, or spelling > correction, or some other unknown), and in that case I would want to > really store the "guid" to remember the correct object. > > What are the cases when the "id" would change? > > -- > Christopher Cotton > Zing/Dell Engineer > http://zing.net/ > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From tomgordon at mac.com Wed Nov 14 15:49:58 2007 From: tomgordon at mac.com (Tom Gordon) Date: Wed, 14 Nov 2007 10:49:58 -0500 Subject: [Developers] getting descriptions and wikipedia links In-Reply-To: <67E5AB34-FAAB-4E98-89A2-2D5818A45539@metaweb.com> References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> <67E5AB34-FAAB-4E98-89A2-2D5818A45539@metaweb.com> Message-ID: Ah perfect, thanks! -Tom On Nov 13, 2007, at 5:59 PM, Dae Park wrote: > /api/trans/blurb takes an optional maxlength parameter > > http://www.freebase.com/api/trans/blurb/% > 239202a8c04000641f8000000000959f6a?maxlength=200 > > I believe 200 is the default. > > -dae > > On Nov 13, 2007, at 2:37 PM, Tom Gordon wrote: > >> how do you generate those nice descriptions? > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From christopher.dummy at gmail.com Fri Nov 16 17:35:42 2007 From: christopher.dummy at gmail.com (Christopher Dummy) Date: Fri, 16 Nov 2007 11:35:42 -0600 Subject: [Developers] RSS for changes? Message-ID: For a particular type, like /film/film I have heard there is an RSS feed somewhere that I could subscribe to which would show me all the changes, and/or new films added to the list. Where is that RSS feed location? I want to "subscribe" to one of my created types and see what people add, or change about the objects. -- Christopher Cotton Zing/Dell Engineer http://zing.net/ From alecf at metaweb.com Fri Nov 16 18:27:53 2007 From: alecf at metaweb.com (Alec Flett) Date: Fri, 16 Nov 2007 10:27:53 -0800 Subject: [Developers] RSS for changes? In-Reply-To: References: Message-ID: <473DE129.2040000@metaweb.com> All the RSS feeds appear in the URL bar - the little orange icon (Firefox/IE) or the blue RSS logo (Safari).. we'll probably expose them more on the page soon. start here: http://www.freebase.com/view/film/film However, right this very moment, the /film/film feeds are broken.. but a fix is in the works, and we hope to have a fix within a few hours. Alec Christopher Dummy wrote: > For a particular type, like /film/film I have heard there is an RSS > feed somewhere that I could subscribe to which would show me all the > changes, and/or new films added to the list. > > Where is that RSS feed location? I want to "subscribe" to one of my > created types and see what people add, or change about the objects. > > From christopher.dummy at gmail.com Fri Nov 16 19:10:49 2007 From: christopher.dummy at gmail.com (Christopher Dummy) Date: Fri, 16 Nov 2007 13:10:49 -0600 Subject: [Developers] getting timestamp of a name property Message-ID: For properties, I assume this is the best way to get the timestamp of when that property was last changed? here is a query I use to get the name, and when it was last changed/created. { "id":"/guid/9202a8c04000641f800000000023b80b", "name":{ "link":{ "timestamp":null }, "value":null } } -- Christopher Cotton Zing/Dell Engineer http://zing.net/ From alecf at metaweb.com Fri Nov 16 19:31:41 2007 From: alecf at metaweb.com (Alec Flett) Date: Fri, 16 Nov 2007 11:31:41 -0800 Subject: [Developers] getting timestamp of a name property In-Reply-To: References: Message-ID: <473DF01D.1040305@metaweb.com> Christopher Dummy wrote: > For properties, I assume this is the best way to get the timestamp of > when that property was last changed? here is a query I use to get the > name, and when it was last changed/created. > > { > "id":"/guid/9202a8c04000641f800000000023b80b", > "name":{ > "link":{ "timestamp":null }, > "value":null > } > } > > Yep, this is exactly right, and will work for any property... Alec From james.pearce at tripleodeon.com Sat Nov 17 22:32:35 2007 From: james.pearce at tripleodeon.com (James Pearce) Date: Sat, 17 Nov 2007 22:32:35 -0000 Subject: [Developers] Bizarre timeout Message-ID: <20071117223237.1FC0617DC3@postalmail-a2.g.dreamhost.com> This query is quick and effective: { "qname":{ "query":[{ "limit":20, "name":null, "name~=":"^i*", "sort":"name", "type":"/film/film" }] } } This query times out (stats below): { "qname":{ "query":[{ "limit":20, "name":null, "name~=":"^j*", "sort":"name", "type":"/film/film" }] } } Yes, that's right... only the initial letter has changed. So what is so bad about films starting with "J" compared to films starting with "I"? :-) Both work equally well without "sort", incidentally. How can I work around it? (I really want sort to be in the query since I will be using cursors for paging). Or is this a bug? Help really appreciated. James ----- Timeout message: { "status": "200 OK", "code": "/api/status/ok", "qname": { "code": "/api/status/error", "messages": [ { "info": { "host": "graph02.p01.sfo1.metaweb.com", "detail": [ "timed out" ], "timeout": 8.0, "port": 8100 }, "message": "Query timeout", "code": "/api/status/error/mql/timeout" } ] } } Stats: request time: undefined ms X-Metaweb-Cost: dt=8.026, nreqs=3, tr=0.004, tu=0.0, ts=0.004, pr=0, pf=0, dw=0, dr=130, in=27, ir=2, iw=0, va=196, te=0.005, tg=0.0019199848175, tf=0.00289082527161, tm=0.00298404693604, cr=1, cm=1, ch=0, lr=1, lm=0, lh=1 X-Metaweb-TID: cache;cache03.p01.sfo1:8101;2007-11-17T21:59:55Z;0003 From christopher.dummy at gmail.com Mon Nov 19 16:59:37 2007 From: christopher.dummy at gmail.com (Christopher Dummy) Date: Mon, 19 Nov 2007 10:59:37 -0600 Subject: [Developers] adding private properties Message-ID: Is there a way to add private properties, or properties that only I can change to an object in Freebase? We want to have a listing of "reviewed" Radio Stations, but that doesn't seem like it fits into a type necessarily. We would want to "tag" a bunch of Radio stations with our "Reviewed" flag. Is there a way to do this? The only way I could think of was to add a new type call "Reviewed" and then "include" that type on the Radio stations. Is there another way to do it? -- Christopher Cotton Zing/Dell Engineer http://zing.net/ From crism at metaweb.com Mon Nov 19 17:52:21 2007 From: crism at metaweb.com (Christopher R. Maden) Date: Mon, 19 Nov 2007 12:52:21 -0500 (EST) Subject: [Developers] adding private properties In-Reply-To: Message-ID: <32540163.4671195494741074.JavaMail.root@h00215> Christopher Dummy wrote: > Is there a way to add private properties, or properties that only I > can change to an object in Freebase? > > We want to have a listing of "reviewed" Radio Stations, but that > doesn't seem like it fits into a type necessarily. We would want to > "tag" a bunch of Radio stations with our "Reviewed" flag. > > Is there a way to do this? The only way I could think of was to add a > new type call "Reviewed" and then "include" that type on the Radio > stations. Is there another way to do it? Not generally speaking; all data not directly connected with a user is world-writable, as befits a data community. If you do not publish a type, then no one else will see it in their user interface; however, that type and its properties can be used via direct MQL access. Another approach would be to publish the review type, linking it with the user profile type. You could then filter your reviews based on which user had made them, trusting only certain users. Other users would be able to use the review type as well without affecting your application. ~Chris -- Christopher R. Maden Data Architect Metaweb Technologies, Inc. From brendan at metaweb.com Mon Nov 19 18:44:08 2007 From: brendan at metaweb.com (brendan neutra) Date: Mon, 19 Nov 2007 10:44:08 -0800 Subject: [Developers] Bizarre timeout In-Reply-To: <20071117223237.1FC0617DC3@postalmail-a2.g.dreamhost.com> References: <20071117223237.1FC0617DC3@postalmail-a2.g.dreamhost.com> Message-ID: <4741D978.9050402@metaweb.com> Hmm. There are about 30k films in the database, so even if there are a couple thousand films that start with j, it probably shouldn't time out. I will open a bug for you. Thanks! Brendan James Pearce wrote: > This query is quick and effective: > > { > "qname":{ > "query":[{ > "limit":20, > "name":null, > "name~=":"^i*", > "sort":"name", > "type":"/film/film" > }] > } > } > > > This query times out (stats below): > > { > "qname":{ > "query":[{ > "limit":20, > "name":null, > "name~=":"^j*", > "sort":"name", > "type":"/film/film" > }] > } > } > > Yes, that's right... only the initial letter has changed. So what is so bad > about films starting with "J" compared to films starting with "I"? :-) > > Both work equally well without "sort", incidentally. > > How can I work around it? (I really want sort to be in the query since I > will be using cursors for paging). Or is this a bug? > > Help really appreciated. > > James > > ----- > > Timeout message: > > { > "status": "200 OK", > "code": "/api/status/ok", > "qname": { > "code": "/api/status/error", > "messages": [ > { > "info": { > "host": "graph02.p01.sfo1.metaweb.com", > "detail": [ > "timed out" > ], > "timeout": 8.0, > "port": 8100 > }, > "message": "Query timeout", > "code": "/api/status/error/mql/timeout" > } > ] > } > } > > Stats: > request time: undefined ms > > X-Metaweb-Cost: > dt=8.026, nreqs=3, tr=0.004, tu=0.0, ts=0.004, pr=0, pf=0, dw=0, dr=130, > in=27, ir=2, iw=0, va=196, te=0.005, tg=0.0019199848175, > tf=0.00289082527161, tm=0.00298404693604, cr=1, cm=1, ch=0, lr=1, lm=0, lh=1 > > X-Metaweb-TID: > cache;cache03.p01.sfo1:8101;2007-11-17T21:59:55Z;0003 > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From tyler at metaweb.com Tue Nov 20 01:16:18 2007 From: tyler at metaweb.com (tyler) Date: Mon, 19 Nov 2007 17:16:18 -0800 Subject: [Developers] Sandbox weekly data refresh Message-ID: <47423562.3010505@metaweb.com> Over the next few minutes, Tyler From tyler at metaweb.com Tue Nov 20 02:55:31 2007 From: tyler at metaweb.com (tyler) Date: Mon, 19 Nov 2007 18:55:31 -0800 Subject: [Developers] sandbox data refresh Message-ID: <47424CA3.8020409@metaweb.com> all done! (Sorry, I'm slow today). T From markce at btclick.com Tue Nov 20 12:34:20 2007 From: markce at btclick.com (Mark CE) Date: Tue, 20 Nov 2007 12:34:20 +0000 Subject: [Developers] Town/City to Country? In-Reply-To: References: Message-ID: <200711201239.HML04208@c2bthomr02.btconnect.com> Hello all, I personally think that we need to denormalise the Town/City model a little to allow direct navigation Town-->Country. But in the absence of this, given that right now we have to use the "contained by" relationship, can anyone help me with a query or some code that will return the Country given an existing Town on Freebase, even if the "contained by" relationship goes through several levels, eg Country--Region--County--Town or Country--State--Town? And will return a "not defined" response if the Country is not discovered by the query? I suppose it would involve walking up the contained by relationships until it hits a location that is also a Country. And then could we do a query that, given an existing Town and Country name, will add the contained by relationship so that we can act upon the "not defined" response & populate the database over time? Hopefully, though, someone will read this and see fit simply to add a "Country" property for the Town/City type!!!!!!! You know it makes sense! Yours hopefully Mark CE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freebase.com/pipermail/developers/attachments/20071120/8a322a8a/attachment-0001.htm -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1139 - Release Date: 19/11/2007 12:35 From acallejas at appliedminds.com Thu Nov 22 00:29:02 2007 From: acallejas at appliedminds.com (Augusto Callejas) Date: Wed, 21 Nov 2007 16:29:02 -0800 Subject: [Developers] single value properties Message-ID: hi- looking at the schema for an album: http://www.freebase.com/view/schema/music/album the "running time" or length property is marked as "restrict to one value". however, when i run this query: =========================== { "query":[{ "length":null, "name":"Trigun media", "type":"/music/album" }] } =========================== i get ""Unique query may have at most one result. Got 2". however, if i modify my query: =========================== { "query":[{ "length":[], "name":"Trigun media", "type":"/music/album" }] } =========================== then i get two values for the length property. if the single value restriction is not respected when data is inserted, then is there no guarantee that a query won't fail when querying as a single value (e.g. "length":null vs "length":[]). are there any plans on correcting data with multiple values when the single value property restriction is checked? thanks, augusto. From niallo at metaweb.com Tue Nov 27 01:14:27 2007 From: niallo at metaweb.com (Niall O'Higgins) Date: Mon, 26 Nov 2007 17:14:27 -0800 Subject: [Developers] Weekly sandbox data refresh Message-ID: <20071127011427.GP13232@digdug.inet> Hi, Weekly data refresh of http://sandbox.freebase.com happening over the next few minutes. -- Niall O'Higgins Software Engineer Metaweb Technologies, Inc. From niallo at metaweb.com Tue Nov 27 02:38:15 2007 From: niallo at metaweb.com (Niall O'Higgins) Date: Mon, 26 Nov 2007 18:38:15 -0800 Subject: [Developers] Weekly sandbox data refresh In-Reply-To: <20071127011427.GP13232@digdug.inet> References: <20071127011427.GP13232@digdug.inet> Message-ID: <20071127023815.GT13232@digdug.inet> Done. On Mon, Nov 26, 2007 at 05:14:27PM -0800, Niall O'Higgins wrote: > Hi, > > Weekly data refresh of http://sandbox.freebase.com happening over the > next few minutes. > > -- > Niall O'Higgins > Software Engineer > Metaweb Technologies, Inc. > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers -- Niall O'Higgins Software Engineer Metaweb Technologies, Inc. From will at hamstersoup.com Tue Nov 27 14:28:27 2007 From: will at hamstersoup.com (Will Moffat) Date: Tue, 27 Nov 2007 09:28:27 -0500 Subject: [Developers] getting descriptions and wikipedia links In-Reply-To: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> Message-ID: <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> Hi Tom, > Second question: given some article data below (for the United States), I > see there's a wikipedia article ID in the source URI. But that URI doesn't > work directly. How would I get the actual Wikipedia link (or generate it)? I'd been wondering about that myself. I finally figured it out: http://hamstersoup.wordpress.com/2007/11/27/mql-finding-the-wikipedia-page-for-a-freebase-topic/ regards, --Will From ksrinivs at gmail.com Tue Nov 27 14:46:55 2007 From: ksrinivs at gmail.com (Kavitha Srinivas) Date: Tue, 27 Nov 2007 09:46:55 -0500 Subject: [Developers] Freebase data download, conversion to RDF In-Reply-To: <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> Message-ID: Thanks to a lot of help from the Freebase folks, we finally managed to get data for all but 5 GUIDs downloaded from the Freebase website, and we transformed them into corresponding RDF triples. We have approximately 60 million RDF triples, so that's about a graph of 60M edges. Does this sound right? If it does, we can run our transform into RDF by you, make sure its correct and if there is interest, upload it some place that might be useful for Freebase users. Kavitha Srinivas From kurt at inf.fu-berlin.de Tue Nov 27 15:14:20 2007 From: kurt at inf.fu-berlin.de (Sebastian Kurt) Date: Tue, 27 Nov 2007 16:14:20 +0100 Subject: [Developers] Freebase data download, conversion to RDF In-Reply-To: References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> Message-ID: <474C344C.9070607@inf.fu-berlin.de> this sounds good [1], could you provide some examples? is there any paper about the process, that would be nice so i can reference it in my thesis. [1] the whole action, i don't know if the numbers are right. but lets do some guess: 2,828,696 Topics each connected with 3 others? sebastian Kavitha Srinivas schrieb: > Thanks to a lot of help from the Freebase folks, we finally managed > to get data for all but 5 GUIDs downloaded from the Freebase website, > and we transformed them into corresponding RDF triples. We have > approximately 60 million RDF triples, so that's about a graph of 60M > edges. Does this sound right? If it does, we can run our transform > into RDF by you, make sure its correct and if there is interest, > upload it some place that might be useful for Freebase users. > > Kavitha Srinivas > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers -- mailto:kurt at inf.fu-berlin.de 0179 7923088 http://vIdentity.de http://skurt.de From ksrinivs at gmail.com Tue Nov 27 15:18:13 2007 From: ksrinivs at gmail.com (Kavitha Srinivas) Date: Tue, 27 Nov 2007 10:18:13 -0500 Subject: [Developers] How do I view the schemas? Message-ID: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> I'm trying to verify our dump of the freebase data for music, and noticed that a musical album does not have its tracks. I was trying to look at the schema for musical albums, but when I try browsing the music domain at: http://www.mjtemplate.org/examples/schemas/domain.html?id=/music I get a stack overflow on both Safari and Mozilla. Should I be using some other site to browse the schemas so I can understand what properties each object should have? Thanks! Kavitha From ksrinivs at gmail.com Tue Nov 27 15:28:59 2007 From: ksrinivs at gmail.com (Kavitha Srinivas) Date: Tue, 27 Nov 2007 10:28:59 -0500 Subject: [Developers] Freebase data download, conversion to RDF In-Reply-To: <474C344C.9070607@inf.fu-berlin.de> References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> <474C344C.9070607@inf.fu-berlin.de> Message-ID: <650866FB-944D-4FFD-9F8B-408F8E97E03E@gmail.com> Hi Sebastian This is all preliminary, and we are still in the stages of testing to make sure what we have is meaningful/iron out bugs in our own code. Once we are sure that we have the right dataset, we will generate a tech report that you can reference, and put it up on a website that you can download from. Kavitha On Nov 27, 2007, at 10:14 AM, Sebastian Kurt wrote: > this sounds good [1], could you provide some examples? is there any > paper about the process, that would be nice so i can reference it > in my > thesis. > > [1] the whole action, i don't know if the numbers are right. but > lets do > some guess: 2,828,696 Topics each connected with 3 others? > > sebastian > > Kavitha Srinivas schrieb: >> Thanks to a lot of help from the Freebase folks, we finally managed >> to get data for all but 5 GUIDs downloaded from the Freebase website, >> and we transformed them into corresponding RDF triples. We have >> approximately 60 million RDF triples, so that's about a graph of 60M >> edges. Does this sound right? If it does, we can run our transform >> into RDF by you, make sure its correct and if there is interest, >> upload it some place that might be useful for Freebase users. >> >> Kavitha Srinivas >> >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers > > -- > mailto:kurt at inf.fu-berlin.de > 0179 7923088 > http://vIdentity.de > http://skurt.de > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From nix at metaweb.com Tue Nov 27 18:20:20 2007 From: nix at metaweb.com (Nick Thompson) Date: Tue, 27 Nov 2007 10:20:20 -0800 Subject: [Developers] How do I view the schemas? In-Reply-To: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> References: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> Message-ID: <474C5FE4.2030306@metaweb.com> it looks like the query to ask about the music domain is timing out, and there's a bug in the mjt app's error reporting that throws it into an infinite loop (trying to display a recursive structure). i'll fix the error reporting in the mjt app, and i've reported the query timeout. in the meantime you can also look through the types in the music domain starting here: nick Kavitha Srinivas wrote: > I'm trying to verify our dump of the freebase data for music, and > noticed that a musical album does not have its tracks. I was trying > to look at the schema for musical albums, but when I try browsing the > music domain at: > http://www.mjtemplate.org/examples/schemas/domain.html?id=/music > > I get a stack overflow on both Safari and Mozilla. Should I be using > some other site to browse the schemas so I can understand what > properties each object should have? Thanks! > Kavitha > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From brendan at metaweb.com Tue Nov 27 18:21:47 2007 From: brendan at metaweb.com (brendan neutra) Date: Tue, 27 Nov 2007 10:21:47 -0800 Subject: [Developers] How do I view the schemas? In-Reply-To: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> References: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> Message-ID: <474C603B.7000501@metaweb.com> http://www.freebase.com/view/music click on a type, click on the "View Schema" link. Brendan Kavitha Srinivas wrote: > I'm trying to verify our dump of the freebase data for music, and > noticed that a musical album does not have its tracks. I was trying > to look at the schema for musical albums, but when I try browsing the > music domain at: > http://www.mjtemplate.org/examples/schemas/domain.html?id=/music > > I get a stack overflow on both Safari and Mozilla. Should I be using > some other site to browse the schemas so I can understand what > properties each object should have? Thanks! > Kavitha > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From tim at metaweb.com Tue Nov 27 21:18:22 2007 From: tim at metaweb.com (Tim Kientzle) Date: Tue, 27 Nov 2007 13:18:22 -0800 Subject: [Developers] Freebase data download, conversion to RDF In-Reply-To: References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> Message-ID: Please let us know what those 5 problematic GUIDs were. Tim Kientzle On Nov 27, 2007, at 6:46 AM, Kavitha Srinivas wrote: > Thanks to a lot of help from the Freebase folks, we finally managed > to get data for all but 5 GUIDs downloaded from the Freebase website, > and we transformed them into corresponding RDF triples. We have > approximately 60 million RDF triples, so that's about a graph of 60M > edges. Does this sound right? If it does, we can run our transform > into RDF by you, make sure its correct and if there is interest, > upload it some place that might be useful for Freebase users. > > Kavitha Srinivas > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From ksrinivs at gmail.com Tue Nov 27 22:15:08 2007 From: ksrinivs at gmail.com (Kavitha Srinivas) Date: Tue, 27 Nov 2007 17:15:08 -0500 Subject: [Developers] How do I view the schemas? In-Reply-To: <474C603B.7000501@metaweb.com> References: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> <474C603B.7000501@metaweb.com> Message-ID: Thanks... when I do that though, the schema is empty for Musical Album, although the type description talks about musical tracks being an attribute of musical album. Kavitha On Nov 27, 2007, at 1:21 PM, brendan neutra wrote: > http://www.freebase.com/view/music > > click on a type, click on the "View Schema" link. > > Brendan > > Kavitha Srinivas wrote: >> I'm trying to verify our dump of the freebase data for music, and >> noticed that a musical album does not have its tracks. I was trying >> to look at the schema for musical albums, but when I try browsing the >> music domain at: >> http://www.mjtemplate.org/examples/schemas/domain.html?id=/music >> >> I get a stack overflow on both Safari and Mozilla. Should I be using >> some other site to browse the schemas so I can understand what >> properties each object should have? Thanks! >> Kavitha >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From jg at metaweb.com Tue Nov 27 22:20:22 2007 From: jg at metaweb.com (John Giannandrea) Date: Tue, 27 Nov 2007 14:20:22 -0800 Subject: [Developers] How do I view the schemas? In-Reply-To: References: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> <474C603B.7000501@metaweb.com> Message-ID: Kavitha Srinivas wrote: > Thanks... when I do that though, the schema is empty for Musical > Album, although the type description talks about musical tracks being > an attribute of musical album. http://www.freebase.com/view/schema/music/album shows fifteen or so properties in my browser. the property 'track' on album connects it to objects of type /music/ track -jg From will at hamstersoup.com Tue Nov 27 22:28:21 2007 From: will at hamstersoup.com (Will Moffat) Date: Tue, 27 Nov 2007 17:28:21 -0500 Subject: [Developers] How do I view the schemas? In-Reply-To: References: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> <474C603B.7000501@metaweb.com> Message-ID: <2f665fe20711271428u212adb0ej745a090ca070537@mail.gmail.com> Hi Kavitha, Freebase.com only claims to support Firefox 1.5+ (Mac or PC), Internet Explorer 6.0+. Which browser are you using? I know that the schema editor doesn't work on Safari. regards, --Will From ksrinivs at gmail.com Tue Nov 27 22:39:18 2007 From: ksrinivs at gmail.com (Kavitha Srinivas) Date: Tue, 27 Nov 2007 17:39:18 -0500 Subject: [Developers] How do I view the schemas? In-Reply-To: <2f665fe20711271428u212adb0ej745a090ca070537@mail.gmail.com> References: <6B520BDB-9F58-434D-8BA7-1755B51901A9@gmail.com> <474C603B.7000501@metaweb.com> <2f665fe20711271428u212adb0ej745a090ca070537@mail.gmail.com> Message-ID: <36CFE39B-4AAE-4BE3-AD8B-8730CE79E68C@gmail.com> That's it... thanks! Kavitha On Nov 27, 2007, at 5:28 PM, Will Moffat wrote: > Hi Kavitha, > > Freebase.com only claims to support Firefox 1.5+ (Mac or PC), > Internet Explorer 6.0+. > Which browser are you using? > > I know that the schema editor doesn't work on Safari. > regards, > --Will > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From crism at metaweb.com Wed Nov 28 02:01:12 2007 From: crism at metaweb.com (Christopher R. Maden) Date: Tue, 27 Nov 2007 18:01:12 -0800 Subject: [Developers] single value properties In-Reply-To: References: Message-ID: <474CCBE8.9010300@metaweb.com> Augusto Callejas wrote: > looking at the schema for an album: > the "running time" or length property is marked as "restrict to one value". > > however, when i run this query: > { > "query":[{ > "length":null, > "name":"Trigun media", > "type":"/music/album" > }] > } > > i get ""Unique query may have at most one result. Got 2". > > if the single value restriction is not respected when data is inserted, > then is there no guarantee that a query won't fail when querying as a > single value (e.g. "length":null vs "length":[]). > > are there any plans on correcting data with multiple values when the single > value property restriction is checked? Augusto, This kind of thing is what our ongoing gardening tasks should be addressing. In this specific case, it looks like two albums got smashed together somehow. Specifically, the MusicBrainz pages for two different Trigun-related albums reference two apparently different Wikipedia pages; however, those two pages both redirect to the ?List of Trigun media? Wikipedia page, and so we inappropriately conflated them. Our newer reconciliation processes avoid these problems, but this damage is already done, unfortunately. We can clean this one up; thanks for bringing it to our attention. ~Chris -- Christopher R. Maden Data Architect Metaweb Technologies, Inc. From kurt at inf.fu-berlin.de Wed Nov 28 10:31:11 2007 From: kurt at inf.fu-berlin.de (Sebastian Kurt) Date: Wed, 28 Nov 2007 11:31:11 +0100 Subject: [Developers] freebase roadmap Message-ID: <474D436F.7010008@inf.fu-berlin.de> hello, is there a (official released) roadmap what operations, functions or features are plannend, already possible? it would be nice to have a look at possibilites yet to be tried out and those to look forward to. example: http://www.mozilla.org/projects/firefox/roadmap.html sebastian -- mailto:kurt at inf.fu-berlin.de 0179 7923088 http://vIdentity.de http://skurt.de From dmilbrath at metaweb.com Wed Nov 28 16:03:49 2007 From: dmilbrath at metaweb.com (Dan Milbrath) Date: Wed, 28 Nov 2007 11:03:49 -0500 (EST) Subject: [Developers] freebase roadmap In-Reply-To: <474D436F.7010008@inf.fu-berlin.de> Message-ID: <6020170.46371196265829554.JavaMail.root@h00215> We don't have anything quite so formal at this time, but we are periodically updating this page: http://www.freebase.com/view/help/guid/9202a8c04000641f80000000011ad95c Its linked from the release notes page. Hope this helps, Dan ----- Original Message ----- From: "Sebastian Kurt" To: "For discussions about MQL, Freebase API and apps built on Freebase" Sent: Wednesday, November 28, 2007 2:31:11 AM (GMT-0800) America/Los_Angeles Subject: [Developers] freebase roadmap hello, is there a (official released) roadmap what operations, functions or features are plannend, already possible? it would be nice to have a look at possibilites yet to be tried out and those to look forward to. example: http://www.mozilla.org/projects/firefox/roadmap.html sebastian -- mailto:kurt at inf.fu-berlin.de 0179 7923088 http://vIdentity.de http://skurt.de _______________________________________________ Developers mailing list Developers at freebase.com http://lists.freebase.com/mailman/listinfo/developers From ksrinivs at gmail.com Wed Nov 28 18:22:02 2007 From: ksrinivs at gmail.com (Kavitha Srinivas) Date: Wed, 28 Nov 2007 13:22:02 -0500 Subject: [Developers] Freebase data download, conversion to RDF In-Reply-To: References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> Message-ID: Here are the guids that we had to give up on (after multiple tries). Kavitha -------------- next part -------------- A non-text attachment was scrubbed... Name: givenupguids Type: application/octet-stream Size: 4360 bytes Desc: not available Url : http://lists.freebase.com/pipermail/developers/attachments/20071128/2ee024b8/attachment.obj -------------- next part -------------- On Nov 27, 2007, at 4:18 PM, Tim Kientzle wrote: > Please let us know what those 5 problematic GUIDs were. > > Tim Kientzle > > On Nov 27, 2007, at 6:46 AM, Kavitha Srinivas wrote: > >> Thanks to a lot of help from the Freebase folks, we finally managed >> to get data for all but 5 GUIDs downloaded from the Freebase website, >> and we transformed them into corresponding RDF triples. We have >> approximately 60 million RDF triples, so that's about a graph of 60M >> edges. Does this sound right? If it does, we can run our transform >> into RDF by you, make sure its correct and if there is interest, >> upload it some place that might be useful for Freebase users. >> >> Kavitha Srinivas >> >> _______________________________________________ >> Developers mailing list >> Developers at freebase.com >> http://lists.freebase.com/mailman/listinfo/developers > > _______________________________________________ > Developers mailing list > Developers at freebase.com > http://lists.freebase.com/mailman/listinfo/developers From danny.ayers at gmail.com Wed Nov 28 18:39:47 2007 From: danny.ayers at gmail.com (Danny Ayers) Date: Wed, 28 Nov 2007 19:39:47 +0100 Subject: [Developers] Freebase data download, conversion to RDF In-Reply-To: References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> Message-ID: <1f2ed5cd0711281039x35545806oe96a8d82d5fb6a8c@mail.gmail.com> On 27/11/2007, Kavitha Srinivas wrote: > Thanks to a lot of help from the Freebase folks, we finally managed > to get data for all but 5 GUIDs downloaded from the Freebase website, > and we transformed them into corresponding RDF triples. We have > approximately 60 million RDF triples, so that's about a graph of 60M > edges. Does this sound right? If it does, we can run our transform > into RDF by you, make sure its correct and if there is interest, > upload it some place that might be useful for Freebase users. Great! There isn't a hookup between Freebase and the Linking Open Data [1] cloud yet is there..? (Sorry, I'm a bit out of touch). If not, this sounds potentially a very good start. We (Talis) may well be able to help with live hosting for SPARQL access etc - I'll ping a couple of people. Cheers, Danny. [1] http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData -- http://dannyayers.com From ksrinivs at gmail.com Wed Nov 28 18:50:57 2007 From: ksrinivs at gmail.com (Kavitha Srinivas) Date: Wed, 28 Nov 2007 13:50:57 -0500 Subject: [Developers] Freebase data download, conversion to RDF In-Reply-To: <1f2ed5cd0711281039x35545806oe96a8d82d5fb6a8c@mail.gmail.com> References: <564D8089-BBCF-4D46-8DCD-39AB762BC42A@mac.com> <2f665fe20711270628w722c3f0g87f5a9c82ab9c009@mail.gmail.com> <1f2ed5cd0711281039x35545806oe96a8d82d5fb6a8c@mail.gm