All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.rdf4j.model.vocabulary.RSX Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2020 Eclipse RDF4J contributors.
 *
 * 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.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *******************************************************************************/
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
 * Constants for the Eclipse RDF4J SHACL Extensions.
 */
public class RSX {

	/**
	 * The namespace (http://rdf4j.org/shacl-extensions#).
	 */
	public static final String NAMESPACE = "http://rdf4j.org/shacl-extensions#";

	/**
	 * Recommended prefix
	 */
	public static final String PREFIX = "rsx";

	/**
	 * An immutable {@link Namespace} constant that represents the namespace.
	 */
	public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

	/*
	 * Primitive datatypes
	 */

	/** http://rdf4j.org/shacl-extensions#targetShape */
	public final static IRI targetShape = create("targetShape");

	public final static IRI dataGraph = create("dataGraph");
	public final static IRI shapesGraph = create("shapesGraph");

	public final static IRI valueConformsToXsdDatatypeFunction = create("valueConformsToXsdDatatypeFunction");

	public final static IRI DataAndShapesGraphLink = create("DataAndShapesGraphLink");
	public final static IRI actualPairwisePath = create("actualPairwisePath");

	private static IRI create(String localName) {
		return Vocabularies.createIRI(RSX.NAMESPACE, localName);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy