Some codes to help you creating a RDF using the Apache Jena API in Java.