[Developers] SoundLine Updated
Jack Alves
jack at metaweb.com
Wed Mar 21 23:55:12 UTC 2007
I think the query is too restrictive for the data. We should decide what we
want in the results. Not many artists have active_end dates. Here's the list
of property values for some music related types,
271204 /music/album/artist
10975 /music/artist/active_start
2374 /music/artist/active_end
127 /music/artist/genre
161075 /music/album/release_date
So removing the active_end requirement returns more data.
{
"query":[{
"active_end":null,
"active_start":[{
"value":null,
"value<=":"2007",
"value>=":"1900"
}],
"guid":null,
"name":null,
"name~=":"*pink*",
"sort":"name",
"type":"/music/artist"
}]
}
If you want to cover a large number of artists it is probably better to
search based on the album release_date like,
{
"query":[{
"album":[{
"name":null,
"release_date":[{
"value":null,
"value<=":"1970",
"value>=":"1960"
}]
}],
"guid":null,
"name":null,
"name~=":"beatles",
"sort":"name",
"type":"/music/artist"
}]
}
The query times out if you use wildcards in the name search. So just use the
string entered by the user, and handle the timeout error in case someone
includes wildcards. I'll report the timeout as a bug.
_____
From: Ketan Anjaria [mailto:fire at kidbombay.com]
Sent: Wednesday, March 21, 2007 4:09 PM
Subject: Re: SoundLine Updated
This is the search query
{
"query":[{
"active_end":[{
"value":null
}],
"active_start":[{
"value":null
}],
"guid":null,
"name":null,
"name~=":"*pink*",
"sort":"name",
"type":"/music/artist"
}]
}
On the query editor I only return 2 results. Should I change my query?
What's the client filter query look like? We have this same issue in the
CineSpin
On Mar 21, 2007, at 3:56 PM, Jack Alves wrote:
Other issues noticed:
- The Beatles don't show up in the list for the 1960's.
- Search is not working properly. If I search for pink I only get two
artists. On the freebase client if you filter on pink you get multiple pages
of results.
http://www.freebase.com/view/filter?id=/music/artist#ACJextraVpropertyJIJLty
peLobjectLnameJHJpropertyYIdJIJLtypeLobjectLnameY9OJHJvalueJIJpinkJDB
_____
From: Ketan Anjaria [mailto:fire at kidbombay.com]
Sent: Wednesday, March 21, 2007 3:02 PM
Subject: SoundLine Updated
sound line has been updated
I added the query for decades.
Also the draw of the items is updated. Now events are stacked.
Issues
What to do when artist timeline is shorter than the width to display the
name
Non english characters and the apostrophe doesn't display. (The font I am
using doesn't support it)
What to show for albums when an artists releases multiple albums on the same
day.
(stagger?)
You can drag the timeline vertically and horizontally now.
Decade Query
{
"decade0":{
"query":[{
"active_end":[{
"value":null
}],
"active_start":[{
"value":null,
"value<=":"1939",
"value>=":"1930"
}],
"guid":null,
"name":null,
"sort":"name",
"type":"/music/artist"
}]
},
"decade1":{
"query":[{
"active_end":[{
"value":null
}],
"active_start":[{
"value":null,
"value<=":"1959",
"value>=":"1950"
}],
"guid":null,
"name":null,
"sort":"name",
"type":"/music/artist"
}]
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20070321/9a49bab0/attachment-0002.htm
More information about the Developers
mailing list