lspace.ns.vocab.schema.Question.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object Question extends OntologyDef(
iri = "http://schema.org/Question",
iris = Set("http://schema.org/Question"),
label = "Question",
comment = """A specific question - e.g. from a user seeking answers online, or collected in a Frequently Asked Questions (FAQ) document.""",
`@extends` = List(CreativeWork.ontology)
){
object keys extends lspace.ns.vocab.schema.CreativeWork.Properties{
lazy val acceptedAnswer = lspace.ns.vocab.schema.acceptedAnswer.property
lazy val answerCount = lspace.ns.vocab.schema.answerCount.property
lazy val downvoteCount = lspace.ns.vocab.schema.downvoteCount.property
lazy val suggestedAnswer = lspace.ns.vocab.schema.suggestedAnswer.property
lazy val upvoteCount = lspace.ns.vocab.schema.upvoteCount.property
}
override lazy val properties: List[LProperty] = List(acceptedAnswer, answerCount, downvoteCount, suggestedAnswer, upvoteCount)
trait Properties extends lspace.ns.vocab.schema.CreativeWork.Properties{
lazy val acceptedAnswer = lspace.ns.vocab.schema.acceptedAnswer.property
lazy val answerCount = lspace.ns.vocab.schema.answerCount.property
lazy val downvoteCount = lspace.ns.vocab.schema.downvoteCount.property
lazy val suggestedAnswer = lspace.ns.vocab.schema.suggestedAnswer.property
lazy val upvoteCount = lspace.ns.vocab.schema.upvoteCount.property
}
}