lspace.ns.vocab.schema.fuelEfficiency.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.Label.D._
import lspace.Label.P._
import lspace.structure.{Property => LProperty, PropertyDef}
object fuelEfficiency extends PropertyDef(
iri = "http://schema.org/fuelEfficiency",
iris = Set("http://schema.org/fuelEfficiency"),
label = "fuelEfficiency",
comment = """The distance traveled per unit of fuel used; most commonly miles per gallon (mpg) or kilometers per liter (km/L).
- Note 1: There are unfortunately no standard unit codes for miles per gallon or kilometers per liter. Use unitText to indicate the unit of measurement, e.g. mpg or km/L.
- Note 2: There are two ways of indicating the fuel consumption, fuelConsumption (e.g. 8 liters per 100 km) and fuelEfficiency (e.g. 30 miles per gallon). They are reciprocal.
- Note 3: Often, the absolute value is useful only when related to driving speed ("at 80 km/h") or usage pattern ("city traffic"). You can use valueReference to link the value for the fuel economy to another value.
""",
`@extends` = List(),
`@range` = List(QuantitativeValue.ontology)
){
override lazy val properties: List[LProperty] = List()
trait Properties
}