All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lspace.ns.vocab.schema.TouristDestination.scala Maven / Gradle / Ivy

The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object TouristDestination extends OntologyDef(
        iri = "http://schema.org/TouristDestination",
        iris = Set("http://schema.org/TouristDestination"),
        label = "TouristDestination",
        comment = """A tourist destination. In principle any Place can be a TouristDestination from a City, Region or Country to an AmusementPark or Hotel. This Type can be used on its own to describe a general TouristDestination, or be used as an additionalType to add tourist relevant properties to any other Place.  A TouristDestination is defined as a Place that contains, or is colocated with, one or more TouristAttractions, often linked by a similar theme or interest to a particular touristType. The UNWTO defines Destination (main destination of a tourism trip) as the place visited that is central to the decision to take the trip.
  (See examples below).""",
        `@extends` = List(Place.ontology)
       ){
object keys extends lspace.ns.vocab.schema.Place.Properties{
lazy val includesAttraction = lspace.ns.vocab.schema.includesAttraction.property
lazy val touristType = lspace.ns.vocab.schema.touristType.property
}
override lazy val properties: List[LProperty] = List(includesAttraction, touristType)
trait Properties extends lspace.ns.vocab.schema.Place.Properties{
lazy val includesAttraction = lspace.ns.vocab.schema.includesAttraction.property
lazy val touristType = lspace.ns.vocab.schema.touristType.property
}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy