Skip to content

Commit

Permalink
enhancement(sparql): Don't bother filtering out permissions and proje…
Browse files Browse the repository at this point in the history
…ct from file values.
  • Loading branch information
Benjamin Geer committed Sep 2, 2020
1 parent 4a5041c commit 05029e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
7 changes: 1 addition & 6 deletions docs/02-knora-ontologies/knora-base.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ property name):

: The `kb:Institution` that the project belongs to.

Ontologies, resources, and valuesare associated with a project by means of the
Ontologies and resources are associated with a project by means of the
`kb:attachedToProject` property, as described in [Ontologies](#ontologies)
and [Properties of Resource](#properties-of-resource)). Users are associated with a project by
means of the `kb:isInProject` property, as described in
Expand Down Expand Up @@ -318,11 +318,6 @@ created by copying data from a deleted value.

: The user who owns the value.

`attachedToProject` (0-1)

: The project that the value is part of. If not specified, defaults to
the project of the containing resource.

`valueHasString` (1)

: A human-readable string representation of the value's contents,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ WHERE {
knora-base:attachedToProject ?resourceProject .

?fileValue ?objPred ?objObj .
FILTER(?objPred != knora-base:attachedToProject && ?objPred != knora-base:hasPermissions)

?currentFileValue knora-base:isDeleted false .
?resource knora-base:isDeleted false .
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ CONSTRUCT {
knora-base:attachedToProject ?resourceProject .

?fileValue ?objPred ?objObj .
FILTER(?objPred != knora-base:attachedToProject && ?objPred != knora-base:hasPermissions)

?currentFileValue knora-base:isDeleted false .
?resource knora-base:isDeleted false .
}

0 comments on commit 05029e9

Please sign in to comment.