[Developers] orphaned compound values
Darin Wilson
darin at metaweb.com
Wed Feb 27 21:08:50 UTC 2008
Hi Arthur-
You can use this query to mark something for deletion:
{
"query" : {
"type" : "/freebase/opinion_collection"
"mark_for_delete" : {
"id" : [id of topic to delete here]
},
"create" : "unless_exists",
}
}
On Feb 26, 2008, at 12:03 PM, Arthur van Hoff wrote:
> Hi,
>
> I found out today that there are 59 orphaned instances of the
> compound type “internet_availability” (see the query below).
> Presumably this is the result of users deleting streams from
> internet stations. Is there any way we can prevent orphans from
> being created?
>
> Ideally we need some way of marking these instances as “delete when
> disconnected”.
>
> To clean this up, how do I programmatically flag these instances for
> deletion?
>
> Thanks.
>
> --
>
> “query”: [{
> "name":null,
> "type":"/user/cotton/default_domain/internet_availability",
> "id": null,
> "uri":null,
> "/type/reflect/any_reverse": [{
> "optional":"forbidden",
> "link": {
> "master_property": "/user/cotton/default_domain/
> internet_station/internet_streams"
> }
> }]
>
> }]
>
> ___________________________________________
> Arthur van Hoff, Dell-ZING, CTO Software and Services.
> 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
More information about the Developers
mailing list