Cookbook/Real estate
From GoodRelations Wiki
< Cookbook
GoodRelations for Real Estate
The GoodRelations Cookbook | |
---|---|
Recipe | GoodRelations for Real Estate |
Description | Instructions on how to model real estate offers with GoodRelations |
Status | stub |
Level | intermediate |
Tags | real estate, search, rich signals |
Overview
Real estate offers can benefit a great deal from publishing offer information in a structured form using GoodRelations, because
- offers have many relevant characteristics (number of rooms, location, flooring,...),
- the geo-position of offer and demand is relevant, and
- current search consumes a lot of time and money.
Think of a mobile application that, while you commute to work, makes your smartphone vibrate each time you are passing by a rental opportunity that meets your search profile!
The first company to start publishing real estate data based on GoodRelations is Yahoo Real Estate, e.g.
- Example in Minnesota City may be be unavailable at the time you visit this page
Approach
Pattern
<div typeof="gr:Offering" about="#offer">
<div property="gr:name">Apartment for Rent in Soho</div>
<div property="gr:description">This is the coolest spot to live.</div>
<!-- Business Function -->
<div rel="gr:hasBusinessFunction"
resource="http://purl.org/goodrelations/v1#LeaseOut"></div>
<!-- Contract duration -->
Contract duration: <div rel="gr:hasEligibleQuantity">
<div typeof="gr:QuantitativeValue">
<div property="gr:hasMinValue" datatype="xsd:int">6</div> to
<div property="gr:hasMaxValue" datatype="xsd:int">18</div>
<div property="gr:hasUnitOfMeasurement"
datatype="xsd:string" content="MON">months</div>
</div>
</div>
<!-- price per month -->
<div rel="gr:hasPriceSpecification">
<div typeof="gr:UnitPriceSpecification">Price:
<span property="gr:hasCurrency" content="USD">$</span>
<span property="gr:hasCurrencyValue" datatype="xsd:float">800</span> per
<div property="gr:hasUnitOfMeasurement"
datatype="xsd:string" content="MON">month</div>
</div>
</div>
</div>
Condition: <div property="gr:condition">remodeled in 2011</div>
</div>
</div>