Example sql would be select sdo_geometry(2003, null, null, mdsys.sdo_elem_info_array(1, 1003, 3), mdsys.sdo_ordinate_array(671 ,672, 849 ,850)) from dual
Best place to start is "Pro Oracle Spatial for Oracle Database 11g" http://www.apress.com/9781590598993.