some: At least one related entity matches the filter This is the default behavior for relationship filtering.
Examples: { knows: { some: { '@id': 'http://example.com/friend1' } } } => ?person :knows http://example.com/friend1 .
{ knows: { some: { name: { contains: 'John' } } } } => ?person :knows ?knows_rel_0 . ?knows_rel_0 :name ?name_1 . FILTER(CONTAINS(?name_1, "John"))
The filter criteria (can be node reference or nested filter)
Filter context with subject, predicate, etc.
SPARQL patterns implementing the "some" logic
some: At least one related entity matches the filter This is the default behavior for relationship filtering.
Examples: { knows: { some: { '@id': 'http://example.com/friend1' } } } => ?person :knows http://example.com/friend1 .
{ knows: { some: { name: { contains: 'John' } } } } => ?person :knows ?knows_rel_0 . ?knows_rel_0 :name ?name_1 . FILTER(CONTAINS(?name_1, "John"))