Commit ab44e34b authored by Günter Hipler's avatar Günter Hipler
Browse files

include sameAs property into filter

parent 4281ab02
......@@ -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("sameAs")
.flatMap(objectWithEnrichedCarrierType => stringOrArrayValue(objectWithEnrichedCarrierType)("sameAs")("@value")).toList
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment