Re: POI Data Format

Hi,
looks interesting!

Note that you can directly attach opening hours information with  
GoodRelations [1] and entrance fee information / tickets with the TIO  
extension to GoodRelations [2]:


# Point of interest: foo:GVAbastille

# Opening hours

foo:GVAbastille gr:hasOpeningHoursSpecification foo:Workdays,  
foo:Saturdays .

foo:Workdays
	a gr:OpeningHoursSpecification ;
	gr:opens "08:00:00"^^xsd:time ;
	gr:closes "18:00:00"^^xsd:time ;
	gr:hasOpeningHoursDayOfWeek
		gr:Monday, gr:Tuesday, gr:Wednesday, gr:Thursday, gr:Friday .

foo:Saturdays
	a gr:OpeningHoursSpecification ;
	gr:opens "08:30:00"^^xsd:time ;
	gr:closes "14:00:00"^^xsd:time ;
	gr:hasOpeningHoursDayOfWeek gr:Saturday .


# Tickets
foo:ticket3 a tio:TicketPlaceholder ;
     rdfs:label "Day ticket for the Bastille"@en ;
     tio:accessTo foo:GVAbastille .

foo:HeppTickets gr:offers foo:offer3 .

foo:offer3 a gr:Offering ;
         gr:name "Day tickets for the Bastille - just EUR 8"@en ;
         gr:description "Day tickets for the Bastille"@en ;
         gr:includes foo:ticket3 ;
         gr:hasBusinessFunction gr:Sell ;
         gr:hasPriceSpecification
              [ a gr:UnitPriceSpecification ;
                  gr:hasCurrency "EUR"@en ;
                  gr:hasCurrencyValue "8"^^xsd:float ;
                  gr:validThrough  
"2010-12-31T23:59:59"^^xsd:dateTime  ] .


Best
Martin


[1] http://purl.org/goodrelations/v1#hasOpeningHoursSpecification

[2] http://purl.org/tio/ns#museum_example



On 19.01.2011, at 12:51, jacques lemordant wrote:

> Just an small example of the format in RDF we have implemented in  
> our AR browser.
> At this time, we are using mainly HTML5 for the content.
> (we are using two FOAF element  to allow searching and aggregating  
> of POIs)
>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>          xmlns:poap="http://wam.inria.fr/poap/0.1/"
>          xmlns:foaf="http://xmlns.com/foaf/0.1/">
>
>          <poap:Poi rdf:ID="GVAbastille">
>                   <poap:name>Bastille</poap:name>
>                   <poap:coordinates lat="45.198662" lon="5.725124"  
> ele="386.58"/>
>                   <poap:triggering radius="193.3" />
>                   <poap:visibility radius="284.2" />
>                   <foaf:maker rdf:resource="http://wam.inrialpes.fr/rdf/foaf/Audrey-Colbrant.rdf 
> "/>
>                   <foaf:homepage rdf:resource="www.bastille-grenoble.com 
> " />
>                   <poap:update timestamp="2010-11-01T18:17:44Z"/>
>                   <poap:content doctype="html5" rdf:resource="./ 
> resource/content/bastille.html"/>
>                   <poap:lifecycle begin="2010-11-01T18:17:44Z"  
> end="2011-12-31T18:17:44Z" />
>                   <poap:channel category="culture"/>
>          </poap:Poi>
>
>          <poap:Poi rdf:ID="GVAtelepheriqueBastille">
>                   <poap:name>Téléphérique de la Bastille</poap:name>
>                   <poap:coordinates lat="45.192956" lon="5.726106"  
> ele="221.399"/>
>                   <foaf:maker rdf:resource="http://wam.inrialpes.fr/rdf/foaf/Audrey-Colbrant.rdf 
> "/>
>                   <foaf:mbox rdf:resource="mailto:contact@cab-grenoble.net 
> " />
>                   <poap:update timestamp="2010-11-01T18:17:44Z"/>
>                   <poap:content  doctype="html5" rdf:resource="./ 
> resource/content/telepherique.html"/>
>                   <poap:triggering radius="50.5" />
>                   <poap:visibility radius="165.2" />
>                   <poap:lifecycle begin="2010-11-01T18:17:44Z"  
> end="2011-12-31T18:17:44Z" />
>                   <poap:channel category="culture"/>
>                   <poap:channel category="transportation"/>
>          </poap:Poi>
>
>          <poap:Poi rdf:ID="GVAjardinDeVille">
>                   <poap:name>Jardin de Ville</poap:name>
>                   <poap:coordinates lat="45.1925890" lon="5.726197"  
> ele="217.861"/>
>                   <foaf:maker rdf:resource="http://wam.inrialpes.fr/rdf/foaf/Audrey-Colbrant.rdf 
> "/>
>                   <poap:update timestamp="2010-11-01T18:17:44Z"/>
>                   <poap:panoramic rdf:resource="./resource/panorama/ 
> jardinDeVille.jpg" type="hemispherical"/>
>                   <poap:content doctype="html5" rdf:resource="./ 
> resource/content/jardinDeVille.html"/>
>                   <poap:audio rdf:resource="./resource/atmosphere/ 
> jardinVilleAtmosphere.mp3"/>
>                   <poap:triggering radius="5.5" />
>                   <poap:visibility radius="4.5" />
>                   <poap:channel category="parc"/>
>          </poap:Poi>
> </rdf:RDF>
>
> jacques
>
>

Received on Wednesday, 19 January 2011 17:00:25 UTC