Usage

  • Append this dependency into your project's pom.xml. * Insert import(s).
    import cz.zcu.mre.vocab.*
  • In your methods, you can use code like:
    Resource datasetResource = model.createResource("http:// ... some URI");
    Resource subject = model.createResource("http:// ... some URI");
    Resource object = model.createResource("http:// ... some URI");
    model.add(subject, RDF.TYPE, MRE.DATA_SOURCE);
    model.add(datasetResource, MRE.HAS_DATA_SOURCE, subject);