This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add EXAMPLE_OF_WORK relations that link directly to Audio/MediaObject
Because workExample links to CreativeWorkInterface, we can't use the auto-generated filters to query a more specific type, e.g.: MusicComposition(filter:{workExample:{contentUrl_not:null}}) doesn't work because contentUrl is part of MediaObject not CreativeWork. We add additional fields using the same relation name that point directly to the concrete types that we use in TROMPA. This means that the workExample relation still works, but if we need to filter on a specific Audio/MediaObject field we can. This isn't very sustainable because we'd have to add it every time we need to do this kind of query to a specific type, but it's a quick fix for our current requirements
- Loading branch information