Relay switch creation

need help for creating a simple switch for 1-channel relay with raspberry pi and iam using openhab but i need which code has to use in items and sitemap.
iam using gpio.4 for relay.please help me anybody who knows?

http://docs.openhab.org/addons/bindings/gpio1/readme.html#item-configuration

http://docs.openhab.org/configuration/sitemaps.html#element-type-switch