Strabon

changeset 909:d80ebf85ff2a

organized namespaces and uris of GeoConstants
author Kallirroi Dogani <kallirroi@di.uoa.gr>
date Fri Mar 22 20:00:12 2013 +0200 (2013-03-22)
parents d9deaa69b14c
children 49c22a8dc590
files evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java
line diff
     1.1 --- a/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java	Fri Mar 22 19:23:41 2013 +0200
     1.2 +++ b/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java	Fri Mar 22 20:00:12 2013 +0200
     1.3 @@ -33,41 +33,11 @@
     1.4  	 * The namespace for the RDFi framework
     1.5  	 */
     1.6  	public static final String rdfi						= "http://rdfi.di.uoa.gr/ontology#";
     1.7 -
     1.8 -	/**
     1.9 -	 * The URI for the datatype SemiLinearPointSet
    1.10 -	 * (linear constraint-based representation of geometries)
    1.11 -	 */
    1.12 -	public static final String stRDFSemiLinearPointset			= stRDF + "SemiLinearPointSet";
    1.13 -
    1.14 -	/**
    1.15 -	 * The URI for the datatype Well-Known Text (WKT)
    1.16 -	 */
    1.17 -	public static final String WKT 						= stRDF + "WKT";
    1.18 -
    1.19 -	/**
    1.20 -	 * The URI for the datatype Geography Markup Language (GML) as it defined
    1.21 -	 * in the model stRDF and query language stSPARQL
    1.22 -	 */
    1.23 -	public static final String GML						= stRDF + "GML";
    1.24 -
    1.25 -	/**
    1.26 -	 * 
    1.27 -	 * The URI for the namespace of GML.
    1.28 -	 * 
    1.29 -	 * Initially, it was set to "http://www.opengis.net/def/geometryType/OGC-GML/3.2/".
    1.30 -	 * Afterwards, it was set to "http://www.opengis.net/gml/3.2/" in order to be compliant
    1.31 -	 * with GML version 3.3, as defined by OGC in the document with title
    1.32 -	 * <tt>"OGC® Geography Markup Language (GML) — Extended schemas and encoding rules"</tt>
    1.33 -	 * ({@link https://portal.opengeospatial.org/files/?artifact_id=46568}). However, none
    1.34 -	 * of these work with the parser provided by JTS, which assumes that the namespace for
    1.35 -	 * GML should be only "http://www.opengis.net/gml" and nothing else. In every other case,
    1.36 -	 * an exception is thrown by the GML parser.
    1.37 -	 * 
    1.38 -	 * 
    1.39 -	 * @see {@link org.openrdf.query.algebra.evaluation.util.JTSWrapper.GMLReader}, {@link GMLReader}
    1.40 -	 */
    1.41 -	public static final String GML_OGC					= "http://www.opengis.net/gml";
    1.42 +	
    1.43 +	
    1.44 +	/**																*
    1.45 +	 *  GeoSPARQL	Version 1.0.1	Document#  11-052r4 			*
    1.46 +	 *	http://schemas.opengis.net/geosparql/geosparql-1_0_1.zip	*/
    1.47  	
    1.48  	/**
    1.49  	 * The namespace for GeoSPARQL ontology
    1.50 @@ -80,6 +50,90 @@
    1.51  	public static final String GEOF						= "http://www.opengis.net/def/function/geosparql/";
    1.52  	
    1.53  	/**
    1.54 +	 * The namespace for the ontology of simple features
    1.55 +	 */
    1.56 +	public static final String SF						= "http://www.opengis.net/ont/sf#";
    1.57 +	
    1.58 +	/**
    1.59 +	 * 
    1.60 +	 * The namespace of GML.
    1.61 +	 * 
    1.62 +	 * Initially, it was set to "http://www.opengis.net/def/geometryType/OGC-GML/3.2/".
    1.63 +	 * Afterwards, it was set to "http://www.opengis.net/gml/3.2/" in order to be compliant
    1.64 +	 * with GML version 3.3, as defined by OGC in the document with title
    1.65 +	 * <tt>"OGC® Geography Markup Language (GML) — Extended schemas and encoding rules"</tt>
    1.66 +	 * ({@link https://portal.opengeospatial.org/files/?artifact_id=46568}). However, none
    1.67 +	 * of these work with the parser provided by JTS, which assumes that the namespace for
    1.68 +	 * GML should be only "http://www.opengis.net/gml" and nothing else. In every other case,
    1.69 +	 * an exception is thrown by the GML parser.
    1.70 +	 * 
    1.71 +	 * 
    1.72 +	 * @see {@link org.openrdf.query.algebra.evaluation.util.JTSWrapper.GMLReader}, {@link GMLReader}
    1.73 +	 */
    1.74 +	public static final String GML_OGC					= "http://www.opengis.net/gml";
    1.75 +	
    1.76 +	
    1.77 +	
    1.78 +	
    1.79 +	/**																		*
    1.80 +	 *  						URIs										*
    1.81 +	 * 																		*/
    1.82 +	
    1.83 +	/**																*
    1.84 +	 *  GeoSPARQL	Version 1.0.1	Document#  11-052r4 			*
    1.85 +	 *	http://schemas.opengis.net/geosparql/geosparql-1_0_1.zip	*/
    1.86 +
    1.87 +	/** The following GeoSPARQL classes and properties are       
    1.88 +	 *  commented out because they are not currently used.			
    1.89 + 	 */
    1.90 +	
    1.91 +	/**
    1.92 +	 * The URIs for GeoSPARQL classes
    1.93 +	 */
    1.94 +/*	public static final String SpatialObject			=  GEO + "SpatialObject";
    1.95 +	public static final String Geometry				    =  GEO + "Geometry";
    1.96 +	public static final String Feauture					=  GEO + "Feature";
    1.97 +*/	
    1.98 +		
    1.99 +	/**
   1.100 +	 * The URIs for GeoSPARQL properties
   1.101 +	 */
   1.102 +/*	public static final String hasGeometry_OGC				=  GEO + "hasGeometry";
   1.103 +	public static final String defaultGeometry_OGC			=  GEO + "defaultGeometry";
   1.104 +	public static final String dimension_OGC				=  GEO + "dimension";
   1.105 +	public static final String coordinateDimension_OGC		=  GEO + "coordinateDimension";
   1.106 +	public static final String spatialDimension_OGC		    =  GEO + "spatialDimension";
   1.107 +	public static final String isEmpty_OGC					=  GEO + "isEmpty";
   1.108 +	public static final String isSimple_OGC					=  GEO + "isSimple";
   1.109 +	public static final String asWKT_OGC					=  GEO + "asWKT";
   1.110 +	public static final String asGML_OGC					=  GEO + "asGML";
   1.111 +*/
   1.112 +	
   1.113 +	
   1.114 +	/**																		*
   1.115 +	 *  						URIs for datatypes							*
   1.116 +	 * 																		*/
   1.117 +	
   1.118 +	
   1.119 +	/**
   1.120 +	 * The URI for the datatype SemiLinearPointSet
   1.121 +	 * (linear constraint-based representation of geometries)
   1.122 +	 */
   1.123 +	public static final String stRDFSemiLinearPointset	= stRDF + "SemiLinearPointSet";
   1.124 +	
   1.125 +	
   1.126 +	/**
   1.127 +	 * The URI for the datatype Well-Known Text (WKT)
   1.128 +	 */
   1.129 +	public static final String WKT 						= stRDF + "WKT";
   1.130 +
   1.131 +	/**
   1.132 +	 * The URI for the datatype Geography Markup Language (GML) as it defined
   1.133 +	 * in the model stRDF and query language stSPARQL
   1.134 +	 */
   1.135 +	public static final String GML						= stRDF + "GML";
   1.136 +	
   1.137 +	/**
   1.138  	 * The URI for the datatype wktLiteral
   1.139  	 */
   1.140  	public static final String WKTLITERAL				=  GEO + "wktLiteral";
   1.141 @@ -89,32 +143,7 @@
   1.142  	 */
   1.143  	public static final String GMLLITERAL				=  GEO + "gmlLiteral";
   1.144  	
   1.145 -	/**
   1.146 -	 * The URIs for GeoSPARQL classes
   1.147 -	 */
   1.148 -/*	public static final String SpatialObject			=  geo + "SpatialObject";
   1.149 -	public static final String Geometry				    =  geo + "Geometry";
   1.150 -	public static final String Feauture					=  geo + "Feature";
   1.151 -*/	
   1.152 -		
   1.153 -	/**
   1.154 -	 * The URIs for GeoSPARQL properties
   1.155 -	 */
   1.156 -/*	public static final String hasGeometry_OGC				=  geo + "hasGeometry";
   1.157 -	public static final String defaultGeometry_OGC			=  geo + "defaultGeometry";
   1.158 -	public static final String dimension_OGC				=  geo + "dimension";
   1.159 -	public static final String coordinateDimension_OGC		=  geo + "coordinateDimension";
   1.160 -	public static final String spatialDimension_OGC		    =  geo + "spatialDimension";
   1.161 -	public static final String isEmpty_OGC					=  geo + "isEmpty";
   1.162 -	public static final String isSimple_OGC					=  geo + "isSimple";
   1.163 -	public static final String asWKT_OGC					=  geo + "asWKT";
   1.164 -	public static final String asGML_OGC					=  geo + "asGML";
   1.165 -*/
   1.166  	
   1.167 -	/**
   1.168 -	 * The namespace for the ontology of simple features
   1.169 -	 */
   1.170 -//	public static final String SF							= "http://www.opengis.net/ont/sf#";
   1.171  	
   1.172  	
   1.173  	/**																		*