A building changes shape and goes from being an Indian restaurant to an Italian one

From Points of Interest
Jump to: navigation, search
<?xml version="1.0" encoding="UTF-8"?>
<pois xmlns="http://www.w3.org/poi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.rajsingh.org/poiwg/poi.xsd">
	<!-- this example developed to address use cases of Whan-kyu Kim -->
	<!-- This example shows how to show that a POI's physical structure has changed (by updating the Polygon geometry), 
		and that its use has changed from an Indian restaurant to an Italian one -->
	<!-- here we show two representations of the same POI. The first has the old geometry which shows a deleted date. 
		The second one shows a created date at the same time as the first one was deleted.
		We also see the business name change, and the use category at the same time. Note that the NAICS "Fine dining restaurants, full service"  
		restaurant category stays the same -->
	<poi id="http://www.example.com/poi/jddhjfnt5by66dgehjkn44mn">
		<label term="name" lang="US-EN" created="2010-11-04T00:00:00" updated="2011-12-12T00:00:00" deleted="2011-12-12T00:00:00">
			<value>Lucknow Palace</value>
		</label>
		<category term="RESTIND" scheme="http://www.example.com/detailbusinesscategories" created="2010-11-04T00:00:00" updated="2011-12-12T00:00:00" deleted="2011-12-12T00:00:00">
			<value>Restaurant, Indian</value>
		</category>
		<category term="722110" scheme="http://www.census.gov/epcd/naics02/" created="2010-11-04T00:00:00">
			<value>Fine dining restaurants, full service </value>
		</category>
		<location>
			<polygon created="2010-11-04T00:00:00" updated="2011-12-12T00:00:00" deleted="2011-12-12T00:00:00">
				<SimplePolygon>
					<posList>48.858391 2.330475 48.854391 2.330875 48.854391 2.330875 48.854391 2.330875 48.858391 2.330475</posList>
				</SimplePolygon>
			</polygon>
		</location>
	</poi>
	<poi id="http://www.example.com/poi/jddhjfnt5by66dgehjkn44mn">
		<label term="name" lang="US-EN">
			<value>Lucknow Palace</value>
		</label>
		<category term="RESTITAL" scheme="http://www.example.com/detailbusinesscategories" created="2011-12-12T00:00:00" updated="2011-12-12T00:00:00">
			<value>Restaurant, Italian</value>
		</category>
		<category term="722110" scheme="http://www.census.gov/epcd/naics02/" created="2011-12-12T00:00:00" updated="2011-12-12T00:00:00">
			<value>Fine dining restaurants, full service </value>
		</category>
		<location created="2011-12-12T00:00:00" updated="2011-12-12T00:00:00">
			<polygon>
				<SimplePolygon>
					<posList>48.858391 2.330475 48.854391 2.330875 48.854391 2.330875 48.854391 2.330875 48.858391 2.330475</posList>
				</SimplePolygon>
			</polygon>
		</location>
	</poi>
</pois>