[Data-modeling] Removing included type from a type?
Alexander Marks
al at metaweb.com
Fri Jan 2 18:48:44 UTC 2009
If you want to remove the included type from the schema you can do it through MQL:
{
"id" : "/base/zxspectrum/computer_peripheral",
"/freebase/type_hints/included_types" : {
"connect" : "delete",
"id" : "/base/zxspectrum/topic"
}
}
I believe the base topic type system is being removed in an upcoming release, by the way.
As you know, I'm using the peripheral type in my Atari ST base. This might be a type worthy of promotion to the commons.
Al
----- Original Message -----
From: "Jeff Prucher" <jeff at metaweb.com>
To: "Freebase data modeling mailing list" <data-modeling at freebase.com>
Sent: Friday, January 2, 2009 9:22:06 AM GMT -08:00 US/Canada Pacific
Subject: Re: [Data-modeling] Removing included type from a type?
Every base has its own topic type, which is an included type of all types
created within that base. This type is how topics are assigned to a base;
i.e., if a topic is typed with a base "topic" type, that topic is part of
that base. Viewing the topic and clicking the "remove from base" link should
remove the base topic type.
-Jeff
> -----Original Message-----
> From: data-modeling-bounces at freebase.com
> [mailto:data-modeling-bounces at freebase.com] On Behalf Of
> Philip Kendall
> Sent: Friday, January 02, 2009 1:22 AM
> To: Freebase Data Modeling
> Subject: [Data-modeling] Removing included type from a type?
>
> Hopefully an easy one...
>
> I've created a "computer peripheral" type[1], which I did as
> part of the ZX Spectrum base as a place to test it. The type
> now has an included type of /base/zxspectrum/topic which I
> can't seem to remove by the UI, and which is a slight problem
> as the type is now being used for some non-Spectrum peripherals.
> Is there a way to remove this type, either via the UI or more
> directly?
>
> Cheers,
>
> Phil
>
> [1]
> <http://zxspectrum.freebase.com/type/schema/base/zxspectrum/co
> mputer_peripheral>
>
> --
> Philip Kendall <philip at shadowmagic.org.uk>
> http://www.shadowmagic.org.uk/
> _______________________________________________
> Data-modeling mailing list
> Data-modeling at freebase.com
> http://lists.freebase.com/mailman/listinfo/data-modeling
>
_______________________________________________
Data-modeling mailing list
Data-modeling at freebase.com
http://lists.freebase.com/mailman/listinfo/data-modeling
More information about the Data-modeling
mailing list