[Developers] adding private properties
Christopher R. Maden
crism at metaweb.com
Mon Nov 19 17:52:21 UTC 2007
Christopher Dummy <christopher.dummy at gmail.com> 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.
<URL: http://www.metaweb.com/ >
More information about the Developers
mailing list