Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
postprocessing
rico-edm-transformer
Commits
ab44e34b
Commit
ab44e34b
authored
Apr 12, 2021
by
Günter Hipler
Browse files
include sameAs property into filter
parent
4281ab02
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/scala/ch/memobase/rico2edm/edm/Extractors.scala
View file @
ab44e34b
...
...
@@ -392,7 +392,7 @@ object Extractors {
.
filter
(
onlyEnriched
=>
{
//mögliche Variante: contains("sameAs")
//ich gehe davon aus, dass auch resultsFrom das Kennzeichen für den Anreicherungsprozess ist
onlyEnriched
.
contains
(
"resultsFrom"
)
onlyEnriched
.
contains
(
"resultsFrom"
)
&&
onlyEnriched
.
contains
(
"sameAs"
)
})
.
flatMap
(
objectWithEnrichedCarrierType
=>
stringOrArrayValue
(
objectWithEnrichedCarrierType
)(
"sameAs"
)(
"@value"
)).
toList
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment