GoodRelationsRental

From Wiki of the E-Business and Web Science Research Group
Jump to: navigation, search
gr_banner_small.png
GoodRelations is a standardized vocabulary for product, price, and company data that can be embedded into existing static and dynamic Web pages.

Project Main Page
Vocabulary
Documentation
Developer's Wiki
GoodRelations Cookbook

On this page, we will shortly provide a step-by-step recipe on how the GoodRelations vocabulary can be used to describe a car / boat / bike rental business.

This page is a stub and will be completed shortly.

Overview

Patterns

N3

@prefix gr: <http://purl.org/goodrelations/v1#>.
@prefix foo: <http://www.heppnetz.de/ontologies/examples/gr#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.


# Company
foo:mybikecom
	a gr:BusinessEntity ;
	gr:hasPOS foo:mybikestore ;
	gr:offers foo:myoffering.


# Location
foo:mybikestore
	a gr:LocationOfSalesOrServiceProvisioning.


# Offering
foo:myoffering
	a gr:Offering ;
	gr:includes foo:somebikes ;
	gr:hasBusinessFunction gr:LeaseOut ;
	gr:validFrom "2008-05-30T09:30:10Z"^^xsd:dateTime ;
	gr:validThrough "2008-05-30T09:30:10Z"^^xsd:dateTime ;
	gr:hasPriceSpecification foo:specialprice.


# Price
foo:specialprice
	a gr:UnitPriceSpecification ;
	gr:hasCurrency "EUR"^^xsd:string ;
	gr:hasCurrencyValue "25"^^xsd:float ;
	gr:hasUnitOfMeasurement "DAY"^^xsd:string.


# Some Bikes
foo:somebikes
	a gr:ProductOrServicesSomeInstancesPlaceholder ;
	rdfs:label "Bike"@en ;
	rdfs:label "Fahrrad"@de .

RDFa

RDF/XML

Resources and References

  1. gr:eligibleDuration with a domain of gr:Offering and a range of gr:QuantitativeValueInteger
    • This allows constraining the minimal and maximal duration of a rental contract or hotel booking.
  2. gr:advanceBookingRequirement with a domain of gr:Offering and a range of gr:QuantitativeValueInteger.
    • This allows specifying the minimal and maximal time-span between accepting an offer and the availability of the good or service.
    • This can be very useful for rental car businesses, transportation, hotels, or ticket sales.
  3. gr:availabilityStarts and gr:availabilityEnds

Tourism - Relevant  eClassOWL Categories

2512 Travel management

2520 Food and Service

Rental / Lease

2801 Automobile

2805 Water vehicle (Boote etc.)

2807 Bicycle

Related PhD project:

  1. Information Extraction and Integration from Heterogeneous Semi-structured Web Sources in the Domain of Used Cars
    Radoslaw Oldakowsk, FU Berlin