Re: Weather Modeling

On 23 May 2014 06:50, Adrian Giurca <giurca@tu-cottbus.de> wrote:
> I  am not expert into the domain but I work with use cases requiring some
> weather representation. You may do a proposal in the wiki
> http://www.w3.org/wiki/WebSchemas

In fact we do already have a rough draft of schema that came via Savas
at Bing (cc:'d),
https://dvcs.w3.org/hg/webschema/file/b4c3ad199322/schema.org/ext/weatherforecast.html

It has a few issues and we didn't get it fully written up, but maybe a
useful starting point? Copying a tweaked version below that works with
the new site tooling (main change is using
rangeIncludes/domainIncludes instead of range/domain).

Dan




<h1>Weather</h1>

<p><a href="https://dvcs.w3.org/hg/webschema/file/b4c3ad199322/schema.org/ext/weatherforecast.html">original
draft</a></p>

<div typeof="rdfs:Class" resource="http://schema.org/WeatherForecast">
  <span class="h" property="rdfs:label">WeatherForecast</span>
  <span>Subclass of: <a property="rdfs:subClassOf"
href="http://schema.org/CreativeWork">CreativeWork</a></span>
  <span property="rdfs:comment">A forecast of weather conditions, for
some particular place and time.</span>

</div>
<div typeof="rdfs:Class"
resource="http://schema.org/QuantitativeWeatherCondition">
  <span class="h" property="rdfs:label">QuantitativeWeatherCondition</span>
  <span>Subclass of: <a property="rdfs:subClassOf"
href="http://schema.org/Intangible">Intangible</a></span>
  <span property="rdfs:comment">A quantitatively described weather
condition such as pollen count, air pressure or humidity.</span>
</div>
<div typeof="rdfs:Class" resource="http://schema.org/WeatherForecastElement">
  <span class="h" property="rdfs:label">WeatherForecastElement</span>
  <span>Subclass of: <a property="rdfs:subClassOf"
href="http://schema.org/CreativeWork">CreativeWork</a></span>
  <span property="rdfs:comment">A detailed weather forecast for a
specific date-time range</span>
</div>
<div typeof="rdfs:Class" resource="http://schema.org/WeatherCondition">
  <span class="h" property="rdfs:label">WeatherCondition</span>
  <span property="rdfs:comment">Instances of this type include
SunnyWeather, MostlySunnyWeather, CloudyWeather,
AfternoonIceWithSnowWeather, etc.</span>
  <span>Subclass of: <a property="rdfs:subClassOf"
href="http://schema.org/Enumeration">Enumeration</a></span>
</div>
<div typeof="rdfs:Class" resource="http://schema.org/WeatherAlert">
  <span class="h" property="rdfs:label">WeatherAlert</span>
  <span property="rdfs:comment">Instances of this type include
TornadoWarningAlert, TornadoWatchAlert,
SevereThunderstormWarningAlert, etc.</span>
  <span>Subclass of: <a property="rdfs:subClassOf"
href="http://schema.org/Enumeration">Enumeration</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherConditionDescription">
  <span class="h" property="rdfs:label">weatherConditionDescription</span>
  <span property="rdfs:comment">textual description of the enumerated
weather condition</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherCondition">WeatherCondition</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/Text">Text</a></span>
</div>
<div typeof="rdf:Property" resource="http://schema.orgweatherAlertDescription">
  <span class="h" property="rdfs:label">weatherAlertDescription</span>
  <span property="rdfs:comment">textual description of the enumerated
weather alert</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherAlert">WeatherAlert</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/Text">Text</a></span>
</div>
<div typeof="rdf:Property" resource="http://schema.orgweatherForecastPlace">
  <span class="h" property="rdfs:label">weatherForecastPlace</span>
  <span property="rdfs:comment">Place associated with a
WeatherForecast, e.g. friday's weather forecast for Boston.</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecast">WeatherForecast</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/Place">Place</a></span>
</div>
<div typeof="rdf:Property" resource="http://schema.orgweatherForecastDaysType">
  <span class="h" property="rdfs:label">weatherForecastDaysType</span>
  <span property="rdfs:comment">The number of days of forecast in the
forecast, e.g. 5 day, 10 day forecast.</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecast">WeatherForecast</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/Number">Number</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastStartDateTime">
  <span class="h" property="rdfs:label">weatherForecastStartDateTime</span>
  <span property="rdfs:comment">The start of datetime range for forecast</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecast">WeatherForecast</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/DateTime">DateTime</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastEndDateTime">
  <span class="h" property="rdfs:label">weatherForecastEndDateTime</span>
  <span property="rdfs:comment">The end of datetime range for forecast</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecast">WeatherForecast</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/DateTime">DateTime</a></span>
</div>
<div typeof="rdf:Property" resource="http://schema.orghourWeatherForecast">
  <span class="h" property="rdfs:label">hourWeatherForecast</span>
  <span property="rdfs:comment">weather forecast for one specific hour
in a day</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecast">WeatherForecast</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
</div>
<div typeof="rdf:Property" resource="http://schema.orgdayWeatherForecast">
  <span class="h" property="rdfs:label">dayWeatherForecast</span>
  <span property="rdfs:comment">weather forecast for one specific day</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecast">WeatherForecast</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementPlace">
  <span class="h" property="rdfs:label">weatherForecastElementPlace</span>
  <span property="rdfs:comment">Place associated with a
WeatherForecast, e.g. friday's weather forecast for Boston.</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/Place">Place</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementStartDateTime">
  <span class="h"
property="rdfs:label">weatherForecastElementStartDateTime</span>
  <span property="rdfs:comment">Start date time associated with a
day's weather forecast</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/DateTime">DateTime</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementEndDateTime">
  <span class="h" property="rdfs:label">weatherForecastElementEndDateTime</span>
  <span property="rdfs:comment">End date time associated with a day's
weather forecast</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/DateTime">DateTime</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementCondition">
  <span class="h" property="rdfs:label">weatherForecastElementCondition</span>
  <span property="rdfs:comment">The weather condition(s) forecasted</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/WeatherCondition">WeatherCondition</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementConditionAlert">
  <span class="h"
property="rdfs:label">weatherForecastElementConditionAlert</span>
  <span property="rdfs:comment">The weather condition alert(s)
forecasted.</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/WeatherAlert">WeatherAlert</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementPrecipitationChance">
  <span class="h"
property="rdfs:label">weatherForecastElementPrecipitationChance</span>
  <span property="rdfs:comment">chance of precipitation as a percentage</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementTemperature">
  <span class="h" property="rdfs:label">weatherForecastElementTemperature</span>
  <span property="rdfs:comment">temperature in Celcius or Farenheit</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementVisibility">
  <span class="h" property="rdfs:label">weatherForecastElementVisibility</span>
  <span property="rdfs:comment">visibility in distance</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementWindSpeed">
  <span class="h" property="rdfs:label">weatherForecastElementWindSpeed</span>
  <span property="rdfs:comment">wind speed for a weather forecast such
as 10 mpH</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementAirPressure">
  <span class="h" property="rdfs:label">weatherForecastElementAirPressure</span>
  <span property="rdfs:comment">air pressure for a weather forecast
such as 33 in</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementFeelsLikeTemperature">
  <span class="h"
property="rdfs:label">weatherForecastElementFeelsLikeTemperature</span>
  <span property="rdfs:comment">air pressure for a weather forecast
such as 33 in</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementHumidity">
  <span class="h" property="rdfs:label">weatherForecastElementHumidity</span>
  <span property="rdfs:comment">humidity for a weather forecast</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementPolution">
  <span class="h" property="rdfs:label">weatherForecastElementPolution</span>
  <span property="rdfs:comment">polution measure for a weather forecast</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementPollenCount">
  <span class="h" property="rdfs:label">weatherForecastElementPollenCount</span>
  <span property="rdfs:comment">pollen count for a weather forecast</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property" resource="http://schema.orgweatherForecastElementUV">
  <span class="h" property="rdfs:label">weatherForecastElementUV</span>
  <span property="rdfs:comment">UV measure for a weather forecast</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
</div>
<div typeof="rdf:Property"
resource="http://schema.orgweatherForecastElementWindDirection">
  <span class="h"
property="rdfs:label">weatherForecastElementWindDirection</span>
  <span property="rdfs:comment">wind direction for a weather forecast
such as WNW, NSW</span>
  <span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/WeatherForecastElement">WeatherForecastElement</a></span>
  <span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/Text">Text</a></span>
</div>

Received on Friday, 23 May 2014 06:28:29 UTC