[Developers] List Of Properties
Warren Harris
warren at metaweb.com
Wed Jul 9 03:19:59 UTC 2008
I see... so you want to get the schema information whether or not
there are values for that property, e.g.
"link" : {
"master_property" : {
"\/freebase\/property_hints\/
disambiguator" : true,
"\/type\/property\/expected_type" : "\/film\/
film_character",
"id" : "\/film\/performance\/character",
"name" : "Character"
},
That is a shortcoming of this query, and one that I hope to address
shortly, although I'm not exactly sure how yet. Certainly if we were
to use a query like this to render the topic page we would need all
the scaffolding (schema) whether there were values or not.
Refinements to this query would be most welcome. :-)
Warren
On Jul 8, 2008, at 5:40 PM, Jason Douglas wrote:
> So if you do your query for '/guid/9202a8c04000641f80000000002eb15e',
> which is the movie 'Hard Eight', there's no evidence of the Character
> property of Film Performance in the MQL response because while there
> are several CVT instances with the Actor property filled-in, none have
> the Character property set.
>
> Interestingly enough, though, in the course of looking for an example
> I found that freebase.com seems to have the same issue (no Character
> column):
> http://www.freebase.com/view/guid/9202a8c04000641f80000000002eb15e
>
> -jason
>
>
> On Jul 8, 2008, at 5:20 PM, Warren Harris wrote:
>
>> Hi Jason,
>>
>> I'm not sure I follow. Can you give me an example?
>>
>> Warren
>>
>>
>> On Jul 8, 2008, at 5:14 PM, Jason Douglas wrote:
>>
>>> Warren,
>>>
>>> I've been playing with that awesome mega-type/reflect query for
>>> building my own topic page, and it's working pretty well, but I've
>>> run
>>> into one problem which is that because the CVTs are inside out
>>> (meaning the property metadata is nested under the links), it seems
>>> like there's no way to know for sure all the properties of the CVT
>>> if
>>> it's sparsely populated (i.e., there's not at least one instance
>>> link
>>> for each property).
>>>
>>> A) Is that correct? & B) Is there a way to compensate for that?
>>>
>>> -jason
>>>
>>>
>>> On Jul 8, 2008, at 1:01 PM, Warren Harris wrote:
>>>
>>>>
>>>> On Jul 7, 2008, at 10:48 AM, Kendra Kuhl wrote:
>>>>
>>>>> Thanks Christian. That works great.
>>>>>
>>>>> Now I’m having a bit of a different problem. Now, because there
>>>>> are
>>>>> so many properties, when I query for their values, Freebase either
>>>>> gives me a timeout / bad request(while using the API) or doesn’t
>>>>> do
>>>>> anything (while using the query editor). I’m thinking it’s because
>>>>> there’s too much going on, but maybe somebody can point me in the
>>>>> direction to a better way?
>>>>
>>>> Hi Kendra,
>>>>
>>>> I think you should be able to adapt the mega- /type/reflect query
>>>> that was sent out earlier to return all the detail that you're
>>>> trying to get from the query below. But in general, if you ask for
>>>> too much in one shot, you run the risk of timing out. Maybe you
>>>> should break this up into a series of smaller queries.
>>>>
>>>> You might also want to use cursors:
>>>>
>>>> http://www.freebase.com/view/guid/9202a8c04000641f800000000544e139#cursors
>>>> http://www.freebase.com/view/guid/9202a8c04000641f8000000005b7ad20?domain=%2Fuser%2Fnix%2Ftypes
>>>> http://mqlx.com/~willmoffat/learn_feature/cursor/cursor.js
>>>>
>>>> Warren
>>> _______________________________________________
>>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3739 bytes
Desc: not available
Url : http://lists.freebase.com/pipermail/developers/attachments/20080708/53ae163a/attachment-0001.bin
More information about the Developers
mailing list