Strabon

changeset 1033:d5b38e937951

moved RDFi related constants to RDFi vocabulary class
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Apr 15 18:03:10 2013 +0300 (2013-04-15)
parents 8b958fb34f48
children 95c7633544ad
files vocab/src/main/java/eu/earthobservatory/constants/GeoConstants.java vocab/src/main/java/eu/earthobservatory/vocabulary/RDFi.java
line diff
     1.1 --- a/vocab/src/main/java/eu/earthobservatory/constants/GeoConstants.java	Fri Apr 12 16:44:32 2013 +0300
     1.2 +++ b/vocab/src/main/java/eu/earthobservatory/constants/GeoConstants.java	Mon Apr 15 18:03:10 2013 +0300
     1.3 @@ -36,12 +36,6 @@
     1.4  	 */
     1.5  	public static final String stRDF					= "http://strdf.di.uoa.gr/ontology#";
     1.6  	
     1.7 -	/**
     1.8 -	 * The namespace for the RDFi framework
     1.9 -	 */
    1.10 -	public static final String rdfi						= "http://rdfi.di.uoa.gr/ontology#";
    1.11 -	
    1.12 -	
    1.13  	/**																*
    1.14  	 *  GeoSPARQL	Version 1.0.1	Document#  11-052r4 			*
    1.15  	 *	http://schemas.opengis.net/geosparql/geosparql-1_0_1.zip	*/
    1.16 @@ -251,18 +245,6 @@
    1.17  	 */
    1.18  	public static final String diffDateTime = "http://strdf.di.uoa.gr/extensions/ontology#diffDateTime";
    1.19  	/** End of addition **/
    1.20 -
    1.21 -	/**
    1.22 -	 * RCC-8 relations for the RDFi framework
    1.23 -	 */
    1.24 -	public static final String rdfiDC						= rdfi + "DC";
    1.25 -	public static final String rdfiEC						= rdfi + "EC";
    1.26 -	public static final String rdfiPO						= rdfi + "PO";
    1.27 -	public static final String rdfiNTPP					= rdfi + "NTPP";
    1.28 -	public static final String rdfiNTPPi					= rdfi + "NTPPi";
    1.29 -	public static final String rdfiTPP					= rdfi + "TPP";
    1.30 -	public static final String rdfiTPPi					= rdfi + "TPPi";
    1.31 -	public static final String rdfiEQ						= rdfi + "EQ";
    1.32  	
    1.33  	/**
    1.34  	 * List of stSPARQL spatial extension functions 
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/vocab/src/main/java/eu/earthobservatory/vocabulary/RDFi.java	Mon Apr 15 18:03:10 2013 +0300
     2.3 @@ -0,0 +1,41 @@
     2.4 +/**
     2.5 + * This Source Code Form is subject to the terms of the Mozilla Public
     2.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     2.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     2.8 + * 
     2.9 + * Copyright (C) 2013, Pyravlos Team
    2.10 + * 
    2.11 + * http://www.strabon.di.uoa.gr/
    2.12 + */
    2.13 +package eu.earthobservatory.vocabulary;
    2.14 +
    2.15 +
    2.16 +/**
    2.17 + * RDFi vocabulary.
    2.18 + * 
    2.19 + * TODO: update the ontology at <a>http://rdfi.di.uoa.gr/ontology#</a>
    2.20 + *       *) what will be the supported properties?
    2.21 + *       *) or we will have only extension functions?
    2.22 + * 
    2.23 + * @author Charalampos Nikolaou <charnik@di.uoa.gr>
    2.24 + */
    2.25 +public class RDFi {
    2.26 +
    2.27 +	/**
    2.28 +	 * The namespace for the RDFi framework
    2.29 +	 */
    2.30 +	public static final String NAMESPACE = "http://rdfi.di.uoa.gr/ontology#";
    2.31 +	
    2.32 +	/**
    2.33 +	 * RCC-8 relations for the RDFi framework
    2.34 +	 */
    2.35 +	public static final String DC			= NAMESPACE + "DC";
    2.36 +	public static final String EC			= NAMESPACE + "EC";
    2.37 +	public static final String PO			= NAMESPACE + "PO";
    2.38 +	public static final String NTPP		= NAMESPACE + "NTPP";
    2.39 +	public static final String NTPPi		= NAMESPACE + "NTPPi";
    2.40 +	public static final String TPP		= NAMESPACE + "TPP";
    2.41 +	public static final String TPPi		= NAMESPACE + "TPPi";
    2.42 +	public static final String EQ			= NAMESPACE + "EQ";
    2.43 +	
    2.44 +}