diff --git a/loterre-resolvers/v1/compile.ini b/loterre-resolvers/v1/compile.ini index 4655ecb..4163b73 100644 --- a/loterre-resolvers/v1/compile.ini +++ b/loterre-resolvers/v1/compile.ini @@ -9,12 +9,15 @@ domain = env('loterreID').prepend('loterre-').append('concepts') [replace] -path = id +path = id.about value = get('rdf$about') # select all keys and remove duplicates to avoid ambiguities path = value value = get('indexKeys') +path = id.score +value = get('score') + # create a entry for all keys [exploding] @@ -23,7 +26,9 @@ path = id value = get('value') path = value -value = get('id') +value = get('id.about') +path = score +value = get('id.score') [debug] text = INDEX @@ -32,6 +37,7 @@ location = env('location') domain = env('loterreID').prepend('loterre-').append('indexes') path = id +score = get('score') [pop] diff --git a/loterre-resolvers/v1/download.ini b/loterre-resolvers/v1/download.ini index 799abbe..f7d197f 100644 --- a/loterre-resolvers/v1/download.ini +++ b/loterre-resolvers/v1/download.ini @@ -23,6 +23,9 @@ map(o => _.deburr(String(o.$t).replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/\s]/g, '').toLowerCase())).\ uniq() +path = score +value = get('owl$deprecated.$t', 0).thru(x => Number(String(x).toLowerCase() === 'true')) + [save] location = env('location') domain = env('loterreID').prepend('loterre-').append('concepts')