### Database Schema:
CREATE TABLE IMG_OBJ_ATT (
	IMG_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	ATT_CLASS_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	OBJ_SAMPLE_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	foreign key (OBJ_SAMPLE_ID) references IMG_OBJ (OBJ_SAMPLE_ID),
	foreign key (IMG_ID) references IMG_OBJ (IMG_ID),
	foreign key (ATT_CLASS_ID) references ATT_CLASSES (ATT_CLASS_ID)
);

CREATE TABLE OBJ_CLASSES (
	OBJ_CLASS_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	OBJ_CLASS	TEXT	NOT NULL
);

CREATE TABLE ATT_CLASSES (
	ATT_CLASS_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	ATT_CLASS	TEXT	NOT NULL
);

CREATE TABLE PRED_CLASSES (
	PRED_CLASS_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	PRED_CLASS	TEXT	NOT NULL
);

CREATE TABLE IMG_OBJ (
	IMG_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	OBJ_SAMPLE_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	OBJ_CLASS_ID	INTEGER	NULL,
	X	INTEGER	NULL,
	Y	INTEGER	NULL,
	W	INTEGER	NULL,
	H	INTEGER	NULL,
	foreign key (OBJ_CLASS_ID) references OBJ_CLASSES (OBJ_CLASS_ID)
);

CREATE TABLE IMG_REL (
	IMG_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	PRED_CLASS_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	OBJ1_SAMPLE_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	OBJ2_SAMPLE_ID	INTEGER	NOT NULL	DEFAULT 0	PRIMARY KEY,
	foreign key (IMG_ID) references IMG_OBJ (IMG_ID),
	foreign key (OBJ2_SAMPLE_ID) references IMG_OBJ (OBJ_SAMPLE_ID),
	foreign key (PRED_CLASS_ID) references PRED_CLASSES (PRED_CLASS_ID),
	foreign key (OBJ1_SAMPLE_ID) references IMG_OBJ (OBJ_SAMPLE_ID)
);

### User's Query:
What are the bounding boxes of the object samples with a predicted relation class of "by" in image no.1?

### Extra Knowledge:
bounding boxes of the object samples refers to (x, y, W, H); predicted relation class of "by" refers to PRED_CLASS = 'by'; image no.1 refers to IMG_ID = 1
SELECT T3.X, T3.Y, T3.W, T3.H FROM PRED_CLASSES AS T1 INNER JOIN IMG_REL AS T2 ON T1.PRED_CLASS_ID = T2.PRED_CLASS_ID INNER JOIN IMG_OBJ AS T3 ON T2.OBJ1_SAMPLE_ID = T3.OBJ_CLASS_ID WHERE T2.IMG_ID = 1 AND T1.PRED_CLASS = 'by'