/*******************************************************************************
 * Copyright (c) 2021 Eclipse RDF4J contributors, Aduna, and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Distribution License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *******************************************************************************/

package org.eclipse.rdf4j.spring.demo.model;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;

/**
 * @since 4.0.0
 * @author Florian Kleedorfer
 */
public class EX {
	private static final String base = "http://example.org/";
	public static final IRI Artist = SimpleValueFactory.getInstance().createIRI(base, "Artist");
	public static final IRI Gallery = SimpleValueFactory.getInstance().createIRI(base, "Gallery");
	public static final IRI Painting = SimpleValueFactory.getInstance().createIRI(base, "Painting");
	public static final IRI Picasso = SimpleValueFactory.getInstance().createIRI(base, "Picasso");
	public static final IRI VanGogh = SimpleValueFactory.getInstance().createIRI(base, "VanGogh");
	public static final IRI street = SimpleValueFactory.getInstance().createIRI(base, "street");
	public static final IRI city = SimpleValueFactory.getInstance().createIRI(base, "city");
	public static final IRI country = SimpleValueFactory.getInstance().createIRI(base, "country");
	public static final IRI creatorOf = SimpleValueFactory.getInstance().createIRI(base, "creatorOf");
	public static final IRI technique = SimpleValueFactory.getInstance().createIRI(base, "technique");
	public static final IRI starryNight = SimpleValueFactory.getInstance().createIRI(base, "starryNight");
	public static final IRI sunflowers = SimpleValueFactory.getInstance().createIRI(base, "sunflowers");
	public static final IRI potatoEaters = SimpleValueFactory.getInstance().createIRI(base, "potatoEaters");
	public static final IRI guernica = SimpleValueFactory.getInstance().createIRI(base, "guernica");

	public static IRI of(String localName) {
		return SimpleValueFactory.getInstance().createIRI(base, localName);
	}
}

@@ -603,31 +603,170 @@
 del.
-impl.SimpleValueFactory
+Namespace;%0Aimport org.eclipse.rdf4j.model.impl.SimpleNamespace;%0Aimport org.eclipse.rdf4j.model.impl.SimpleValueFactory;%0Aimport org.eclipse.rdf4j.model.util.Values
 ;%0A%0A/
@@ -862,21 +862,50 @@
 nal 
-String base =
+Namespace base = new SimpleNamespace(%22ex%22,
  %22ht
@@ -922,16 +922,17 @@
 le.org/%22
+)
 ;%0A%09publi
@@ -963,50 +963,18 @@
 t = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1026,50 +1026,18 @@
 y = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1091,50 +1091,18 @@
 g = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1156,50 +1156,18 @@
 o = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1220,50 +1220,18 @@
 h = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1283,50 +1283,18 @@
 t = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1343,50 +1343,18 @@
 y = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1404,50 +1404,18 @@
 y = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1470,50 +1470,18 @@
 f = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1538,50 +1538,18 @@
 e = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1608,50 +1608,18 @@
 t = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1679,50 +1679,18 @@
 s = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1751,50 +1751,18 @@
 s = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1821,50 +1821,18 @@
 a = 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas
@@ -1903,50 +1903,18 @@
 urn 
-SimpleValueFactory.getInstance().createIRI
+Values.iri
 (bas

use Values.iri() to create IRIs