Application "dataspects"

From SMW CindyKate by dataspects
Component 759410 / (Redirected from Application "dataspects")
Jump to navigation Jump to search
[edit]
Keywords/Contexts

Ruby · compare · inject · Manage · dataspects

Annotations
{{#compound_query:Component 759410Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.UseCaseMotivation;?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.Application "dataspects";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.Application "dataspects";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
name=MotivationsDeclaredOnThisPageResultItem|link=none}}
Motivations
Lua error in Module:Motivations at line 23: attempt to concatenate field 'hasReasoning' (a nil value).
[edit]

Content

Dataspects Business Aspects

HasMarketingPage "HasMarketingPage</br>" contains a listed "LF" character as part of the property label and has therefore been classified as invalid. HasCommunityProjectResource "HasCommunityProjectResource</br>" contains a listed "LF" character as part of the property label and has therefore been classified as invalid. HasCommunityProjectResource "HasCommunityProjectResource</br>" contains a listed "LF" character as part of the property label and has therefore been classified as invalid.

What's the story behind Application "dataspects"?

Application "dataspects" is a Ruby command-line application for managing/refactoring Semantic MediaWikis. It supports the following use cases:


It plays a vital role in Component_601228.

It uses connection and configuration profiles (declared in YAML files) for all SMWs that you want to work with.

It supports 2 levels of content/process directives:

How can Application "dataspects" be used?

Each use case works with a set of pages originating somewhere

This set of SMWCindyKate::Pages loads SMWCindyKate::Page instances into its @pages[page.sPageName] = page:


You can then define selections of pages using these methods

You can then filter these page selections using these methods

Notice:

In order to reduce complexity, the following NOT_ selectors only select pages if all but the leftmost arguments match.

I.e. for a page to be selected by NOT_having_FIELD_VALUE_for_FIELD_NAME_in_TEMPLATE_NAME, it must have FIELD_NAME in TEMPLATE_NAME.

If you want to select pages which "don't have FIELD_VALUE in FIELD_NAME" because they don't have FIELD_NAME to begin with, you have to use NOT_having_FIELD_NAME_in_TEMPLATE_NAME.


On filtered page selections you can mutate wikitext using these methods

When done, you can use these methods to store pages

Finally, you can use monitoring methods for quality control

Commands

Application Command Synopsis Examples

Methods and Testing

See Overview "Testing smw-cindykate".

Concepts and Architecture

Example: Using a facets-management-script.rb for managing facets

The command's synopsis is as follows:

user@workstation:~$ SDMS --profile ~/profiles.yaml content manage facets-management-script.rb
Notice:

What can be used how in a facets-management-script.rb?

DSSMWMS Concepts and Architecture Overview.png