-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ideamache_user wrapper and changes to creative_act #39
Comments
I worked on this but had some troubles with the current set up of dependencies between projects. The basic problem is that, currently, built-in types cannot extend or have fields that use a non built-in type. Built-ins are defined in BSCore, and non built-ins are in BSGeneratedClasses which depends on BSCore. If we refer from BSCore to BSGeneratedClasses, that will result in a cyclic dependency. The type idea_mache_user needs to be referred in creative_act, thus it needs to be built-in. idea_mache_user.maches will be of type curation, which means curation needs to be built-in. curation extends creative_work, thus creative_work needs to be built-in. So, to make this happen, with the current structure, one way is to make idea_mache_user, curation, and creative_work built-in, which does not sound very appealing to me. Another way will be to make creative_act and rich_artifact non built-in, which looks better to me. But this will change how the type scopes for creative actions and rich artifacts are initialized -- the initialization needs to be moved to the application instead of inside MetaMetadataRepositoryInit, since those classes will not be visible from MetaMetadataRepositoryInit. This can possibly done by some helper function though, which takes in a root class and returns an expanded type scope. What do you think? |
Why were they built in in the first place? On Friday, October 10, 2014, Yin Qu (屈垠) notifications@github.com wrote:
andruid kerne, ph.d. http://facebook.com/ecologylab Interfaces are the multidimensional border zones through which the |
i agree it would be better if they are not built-ins, but it's not going to they are built-ins due to issues with generics and co-variance and the need On Fri, Oct 10, 2014 at 4:39 PM, Andruid Kerne notifications@github.com
|
The recent commits to BSJava, BSCSharp, BSWrapperRepo should have completed this request. There are no ways of moving those types out of built-ins, otherwise we'll have to move some fundamental types, such as image and rich_document, out of built-ins. Since creative actions, products, and persons are central to our representation of many semantics, it seems OK to have authors, creative_work, and curation as built-ins, which is the current status. |
I guess ok for now, but it seems very kludgy. Andruid On Friday, October 10, 2014, Yin Qu (屈垠) notifications@github.com wrote:
andruid kerne, ph.d. http://facebook.com/ecologylab Interfaces are the multidimensional border zones through which the |
A new wrapper is needed for IdeaMache users. The wrapper should include a collection field for the user's maches. It might should extend author or another type. Careful consideration of the ontology is required.
Once the new wrapper is written, the type of the creator field in creative_act needs to be changed to this new IdeaMache user type.
The polymoprhic_scope and wrap properties should be removed from the creator meta-metadata field.
The text was updated successfully, but these errors were encountered: