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

org.eclipse.rdf4j.rio.trix.TriXConstants Maven / Gradle / Ivy

There is a newer version: 5.1.0
Show newest version
/*******************************************************************************
 * Copyright (c) 2015 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.rio.trix;

/**
 * Interface defining a number of constants for the TriX document format.
 */
public interface TriXConstants {

	/** The TriX namespace. */
	public static final String NAMESPACE = "http://www.w3.org/2004/03/trix/trix-1/";

	/** The root tag. */
	public static final String ROOT_TAG = "TriX";

	/** The tag that starts a new context/graph. */
	public static final String CONTEXT_TAG = "graph";

	/** The tag that starts a new triple. */
	public static final String TRIPLE_TAG = "triple";

	/** The tag for URI values. */
	public static final String URI_TAG = "uri";

	/** The tag for BNode values. */
	public static final String BNODE_TAG = "id";

	/** The tag for plain literal values. */
	public static final String PLAIN_LITERAL_TAG = "plainLiteral";

	/** The tag for typed literal values. */
	public static final String TYPED_LITERAL_TAG = "typedLiteral";

	/** The attribute for language tags of plain literal. */
	public static final String LANGUAGE_ATT = "xml:lang";

	/** The attribute for datatypes of typed literal. */
	public static final String DATATYPE_ATT = "datatype";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy