Closed sanuann closed 5 years ago
Are you asking if the processor could do some sort of string interpolation and expand "score" to "http://ex.org/item1.jsonld + http://ex.org/item2.jsonld"? I'm afraid that looks to be beyond the scope of JSON-LD processing. Certainly beyond the capabilities of jsonld.js. If there were a strong demand for this sort of functionality, it might be possible to expose some internal plumbing to let custom hooks do their own processing for terms. But this seems a little beyond common use cases.
yes, i was asking that. Thanks for the clarification.
the value for score key is a string (which is basically the formula to score). How can I define
score
key in the context such thatitem1
anditem2
resolves to its URI? Is it possible?