-
-
Notifications
You must be signed in to change notification settings - Fork 91
Introduce Profiles #1220
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
base: main
Are you sure you want to change the base?
Introduce Profiles #1220
Conversation
47c8521 to
7c79663
Compare
|
Some initial impressions:
such as Right?
Very interesting so far... |
|
Another question. In my experiment branch, my includes file contains: ...plus other units... and my excludes file contains: No problem that the same instance URI is used, i.e. profile:construction ? Assuming the answer is no, the exclude statement seems to have no effect so far. |
Right. |
Yes and no:
|
You are excluding |
|
unit:A_Ab got added I think because of a qudt:applicableUnit link from ElectricCurrent (I think). So then I tried blocking qudt:applicableUnit, which didn't help. I'm doing my experiment on the srr-test-profiles branch on top of yours. I'll push it so you can see. I'm just overwriting your construction profile on my branch. My branch is way out of date from yours, so I'm going to start a new branch to catch up. |
7c79663 to
47c03b1
Compare
The algorithm is now very simple: compare dist units and src units for the properties that we think we should synchronize back to src, and replace those in src with the values from dist
This is a first implementation that does something - but definitely not final, yet.
However, a version of the profile system is starting to take shape. Comments and contributions are highly welcome.
For details, see the profile README.md
How to see the results
Run
mvn installThis will generate the profiles in
target/dist/profile/[profilename]After the first successful run, you can run just the profilePipeline with
mvn rdfio:pipeline@profileWhich saves a lot of time if all you changed was the profile pipeline or a profile configuration.
Requirements
vaem:hasGraphRole vaem:ProfileGraph;