...
Identify the property
IRI
that defines the relationship from theAsset
to theEditorialObject
. In this case, it ishttp://www.ebu.ch/metadata/ontologies/ebucoreplus#hasRelatedEditorialObject
.Pass the full
IRI
of this property along with theIRI
of the specificAsset
we are interested in.
Example
To filter EditorialObject
instances based on a relationship property (child-to-parent)
that requires the full IRI of the property, such as <http://www.ebu.ch/metadata/ontologies/ebucoreplus#hasRelatedEditorialObject>
you would use
Code Block | ||
---|---|---|
| ||
curl -X GET "http://localhost/enapso-dev/view-management/v1/editorialObject?filter.%3Chttp%3A%2F%2Fwww.ebu.ch%2Fmetadata%2Fontologies%2Febucoreplus%23hasRelatedEditorialObject%3E=http%3A%2F%2Fwww.ebu.ch%2Fmetadata%2Fontologies%2Febucoreplus%2Fdata%2FAsset_37f6d90c-87c9-4c1f-9a46-ff1102f9bd8a" |
...
Important Notes
Encoding URIs: When passing any value, ensure it is URL-encoded.
Detailed Example with Multiple Filters
Suppose you want to filter EditorialObject
instances where:
...