Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and schema.org have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.

GoodRelations - The Web Vocabulary for E-Commerce

This is the archive of the goodrelations dicussion list

GoodRelations is a standardized vocabulary for product, price, and company data that can (1) be embedded into existing static and dynamic Web pages and that (2) can be processed by other computers. This increases the visibility of your products and services in the latest generation of search engines, recommender systems, and other novel applications.

[goodrelations] Fwd: POI Data Format

Martin Hepp martin.hepp at ebusiness-unibw.org
Wed Jan 19 18:00:52 CET 2011


FYI - This shows how GoodRelations and the tickets extension can be  
used in combination with POI data in RDF.

Begin forwarded message:

> From: Martin Hepp <martin.hepp at ebusiness-unibw.org>
> Date: 19. Januar 2011 17:59:54 MEZ
> To: jacques lemordant <jacques.lemordant at inria.fr>
> Cc: "public-poiwg at w3.org W3C" <public-poiwg at w3.org>
> Subject: 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 at 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
>>
>>
>

--------------------------------------------------------
martin hepp
e-business & web science research group
universitaet der bundeswehr muenchen

e-mail:  hepp at ebusiness-unibw.org
phone:   +49-(0)89-6004-4217
fax:     +49-(0)89-6004-4620
www:     http://www.unibw.de/ebusiness/ (group)
          http://www.heppnetz.de/ (personal)
skype:   mfhepp
twitter: mfhepp

Check out GoodRelations for E-Commerce on the Web of Linked Data!
=================================================================
* Project Main Page: http://purl.org/goodrelations/
* Quickstart Guide for Developers: http://bit.ly/quickstart4gr
* Vocabulary Reference: http://purl.org/goodrelations/v1
* Developer's Wiki: http://www.ebusiness-unibw.org/wiki/GoodRelations
* Examples: http://bit.ly/cookbook4gr
* Presentations: http://bit.ly/grtalks
* Videos: http://bit.ly/grvideos





More information about the goodrelations mailing list