Skip to content

Commit c761f81

Browse files
committed
Update profile README.md
1 parent 5604993 commit c761f81

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/main/profile/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,17 @@ Variables used:
3636
Basic idea:
3737
1. collect included entities (one statement per entity `?profile qudt:includes ?resource` in a graph that is
3838
being generated by the algorithm)
39-
2. collect excluded entities; 'excluded' means: the entity's inclusion is canceled out. It does not mean that
40-
any non-excluded entities are included. This makes it easier to calculate results eg via SHACL-AF inference
41-
(one statement per entity `?profile qudt:excludes ?resource`.)
39+
2. collect excluded entities; (one statement per entity `?profile qudt:excludes ?resource`.)
40+
3. Make a new distribution file in the profile if the file contains any of the included entities. Copy only the included
41+
entities' data.
42+
4. In this process, ignore all entities that are 'excluded'.
43+
44+
**Important**: exclusion of entities only cancels their inclusion (if they are included at all). It does not mean that
45+
any non-excluded entities are included.
46+
Reason:
47+
- It is possible to infer additional exclusions based on existing exclusions (e.g. derived units of an excluded unit).
48+
That is not possible if only inclusions are used.
49+
- SHACL-AF inference only allows for generating triples, not deleting them, so the approach is natural in this case
4250

4351
Algorithm:
4452

0 commit comments

Comments
 (0)