Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "category": "PREDICATE",
- "operation": "AND",
- "operands": [
- {
- "category": "PREDICATE",
- "operation": "EXISTS",
- "operands": [
- {
- "category": "ID",
- "type": "DATASET",
- "alias": "outer_collection",
- "id": {
- "type": "CATALOGUE",
- "service": "soarse-core",
- "register": "element",
- "catalogue": "111e4567-e89b-12d3-a456-426655440001"
- }
- },
- {
- "category": "PREDICATE",
- "operation": "EQ",
- "operands": [
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "UUID",
- "field": {
- "schema": "public",
- "table": "entry_version",
- "field": "entry_id"
- }
- },
- {
- "category": "FUNCTION",
- "operation": "POINTER",
- "operands": [
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "REFERENCE",
- "collection": "root",
- "path": "brand",
- "field": {
- "schema": "public",
- "table": "entry_version",
- "field": "data"
- },
- "referencedField": {
- "schema": "public",
- "table": "entry_version",
- "field": "entry_id"
- }
- }
- ]
- }
- ]
- },
- {
- "category": "PREDICATE",
- "operation": "EXISTS",
- "operands": [
- {
- "category": "ID",
- "type": "DATASET",
- "id": {
- "type": "CATALOGUE",
- "service": "soarse-core",
- "register": "element",
- "catalogue": "111e4567-e89b-12d3-a456-426655440002"
- }
- },
- {
- "category": "PREDICATE",
- "operation": "EQ",
- "operands": [
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "UUID",
- "field": {
- "schema": "public",
- "table": "entry_version",
- "field": "entry_id"
- }
- },
- {
- "category": "FUNCTION",
- "operation": "POINTER",
- "operands": [
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "REFERENCE",
- "collection": "outer_collection",
- "path": "country",
- "field": {
- "schema": "public",
- "table": "entry_version",
- "field": "data"
- },
- "referencedField": {
- "schema": "public",
- "table": "entry_version",
- "field": "entry_id"
- }
- }
- ]
- }
- ]
- },
- {
- "category": "PREDICATE",
- "operation": "EQ",
- "operands": [
- {
- "category": "ENTITY_ATTRIBUTE",
- "type": "STRING",
- "rank": "VALUE",
- "path": "title",
- "field": {
- "schema": "public",
- "table": "entry_version",
- "field": "data"
- }
- },
- {
- "category": "LITERAL",
- "type": "STRING",
- "value": "США"
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement