iodepo / odis-arch

Development of the Ocean Data and Information System (ODIS) architecture
https://book.odis.org/
28 stars 16 forks source link

ignore undefined properties #108

Open arnounesco opened 2 years ago

arnounesco commented 2 years ago

Searching for trainings containing "invemar" in the search interface will result in a list of results and 3 facets to filter the results (provider, author, credential awarded).

The notitions of "provider" and "author" here are incorrect and that is because the JSON-LD's provided by Invemar contains those properties while they are not in the requirements as described in the book.

While indexing the JSON-LD in the graph we should ignore all properties that are not defined in the book. Having extra properties should not be marked as an error as that information may be provided to some other service.

fils commented 2 years ago

This might be a case where I need to more rigorously being followed especially with regard to those elements being used by the query and index mapping.