lspace.ns.vocab.schema.Car.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object Car extends OntologyDef(
iri = "http://schema.org/Car",
iris = Set("http://schema.org/Car"),
label = "Car",
comment = """A car is a wheeled, self-powered motor vehicle used for transportation.""",
`@extends` = List(Vehicle.ontology)
){
object keys extends lspace.ns.vocab.schema.Vehicle.Properties{
lazy val acrissCode = lspace.ns.vocab.schema.acrissCode.property
lazy val roofLoad = lspace.ns.vocab.schema.roofLoad.property
override lazy val productionDate = lspace.ns.vocab.schema.productionDate.property
override lazy val purchaseDate = lspace.ns.vocab.schema.purchaseDate.property}
override lazy val properties: List[LProperty] = List(acrissCode, roofLoad)
trait Properties extends lspace.ns.vocab.schema.Vehicle.Properties{
lazy val acrissCode = lspace.ns.vocab.schema.acrissCode.property
lazy val roofLoad = lspace.ns.vocab.schema.roofLoad.property
override lazy val productionDate = lspace.ns.vocab.schema.productionDate.property
override lazy val purchaseDate = lspace.ns.vocab.schema.purchaseDate.property}
}