TestYourself answers for Rule scope and context
- Last Updated: May 3, 2021
- 2 minute read
- Corticon
- Version 7.2
- Documentation
Show me this set of test questions.
- 7 root-level entities are present
- All terms are allowed except
DVD.actor Movie.supplier-
Movie.oscarMovie.rolesActor.rolesDVD.supplierMovie.dVD.extrasActor.roles.movie.oscar
Actor.roles.movie- Since the association between
ActorandRoleis bidirectional, you can use bothActor.rolesandRoles.actorin our rules. MovieandAward- From
MovietoAward:goldenGlobeandoscar. FromAwardtoMovie: two unique role names exist for this perspective too, but are not visible in the Vocabulary diagram. - The
Awardentity could be split into two separate entities, or an attribute could be added toAwardto identify the type of award. - Using roles helps to clarify rule context.
- unique
- True
- All examples shown are Boolean expressions
- You can use
Movieif it is the root term, orDVD.movieif DVD is the root term The root term can either beMovieorDVD. No conditions in the rule prevent either one from being the root term - You can use
Movie.dVDifMovieis the root term, orDVDif it is the root term. The root term can either beMovieorDVD. No conditions in the rule prevent either one from being the root term - False. Both
MovieandDVDterms in this example are root terms with no relationship to each other. - Once for the
Moviesatisfying the rule conditions and its associatedDVD - Twice: once for each
DVD(that is, the cross product of the DVDs and the Movies satisfying the rule conditions) -
- High
- Low
- Low for each DVD
- Twice: once for each DVD
- Four: each of the 2 rules fired 2 times
- cross product
- no, each rule should only fire once for the DVD associated with the Movie
- change the Movie and DVD terms to share the same scope, starting
either with Movie as the root term (
MovieandMovie.dVD) orDVDas the root term (DVDandDVD.movie)
- False. Aliases are only required to be used in certain circumstances, but they can be used at any time and provide a good way of simplifying rule expressions.
- Scope is another way of defining a specific context or perspective in the Vocabulary
- Be updated
- False. Each alias must be unique and cannot have the same spelling as any term in the Vocabulary.