4 ms·
What if a piece of data exists in multiple services? How does the tool know which service it should use to fetch the data, given the link is just a semantic rep
by khalidx 3y ago
What if a piece of data exists in multiple services? How does the tool know which service it should use to fetch the data, given the link is just a semantic representation - but that representation can exist in multiple places?
- deleted 3y ago[deleted]
- martypitt 3y agoGenerally, data that comes from two different sources, and has different values, aren't semantically equivalent, and so get assigned different types. eg: type ImdbFilmReview extends FilmReview type RottenTomatoesFilmReview extends FilmReview Which allows you to query for either "All film reviews", or just a subset. We've found that actually covers about 80% of use cases. However, some users have asked for more control in the query langugae, which we're working on improving the TaxiQL query syntax for this right now. Here's what it looks like: find { Film[] } as { id : FilmId rottenTomatoesReviews : RottenTomatoes::FilmReview[] imdbFilmReview : Imdb::FilmReview[] }