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

org.semarglproject.vocab.RDF Maven / Gradle / Ivy

There is a newer version: 0.7
Show newest version
/**
 * Copyright 2012-2013 the Semargl contributors. See AUTHORS for more details.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.semarglproject.vocab;

/**
 * Defines URIs for the RDF vocabulary terms and bnode constans used by framework.
 */
public final class RDF {

    public static final String BNODE_PREFIX = "_:";

    // indicates that short bnode syntax shouldn't be used for this node
    public static final String SHORTENABLE_BNODE_SUFFIX = "sbl";

    public static final String NS = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";

    // Basic classes and properties

    public static final String PROPERTY = NS + "Property";
    public static final String XML_LITERAL = NS + "XMLLiteral";

    public static final String TYPE = NS + "type";
    public static final String VALUE = NS + "value";

    // Container and collection classes and properties

    public static final String ALT = NS + "Alt";
    public static final String BAG = NS + "Bag";
    public static final String SEQ = NS + "Seq";
    public static final String LIST = NS + "List";

    public static final String FIRST = NS + "first";
    public static final String NIL = NS + "nil";
    public static final String REST = NS + "rest";

    // Reification

    public static final String STATEMENT = NS + "Statement";

    public static final String OBJECT = NS + "object";
    public static final String PREDICATE = NS + "predicate";
    public static final String SUBJECT = NS + "subject";

    // Syntax names

    public static final String DESCRIPTION = NS + "Description";
    public static final String ID = NS + "ID";
    public static final String RDF = NS + "RDF";

    public static final String ABOUT = NS + "about";
    public static final String DATATYPE = NS + "datatype";
    public static final String LI = NS + "li";
    public static final String NODEID = NS + "nodeID";
    public static final String PARSE_TYPE = NS + "parseType";
    public static final String RESOURCE = NS + "resource";

    // Deprecated

    @Deprecated
    public static final String ABOUT_EACH = NS + "aboutEach";
    @Deprecated
    public static final String ABOUT_EACH_PREFIX = NS + "aboutEachPrefix";
    @Deprecated
    public static final String BAG_ID = NS + "bagID";

    private RDF() {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy