You can use Semantic Layer java SDKs for unx universes.
Go through the documentation to check if it helps your purpose. Guides available at
http://help.sap.com, navigate To Analytics--> SAP BusinessObjects Business Intelligence Platform-->Select the product version you are using--> navigate to Development Information section--> And refer to Sematic Layer java SDK guides as per the product version.
Direct links for BI 4.1 SP6 guides are below
API guide:
http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41sp6_slsdk_java_apiRef_en.zip
Dev Guide:
BI Semantic Layer Java SDK Developer Guide
Thanks,
Prithvi