org.dbpedia.extraction.mappings

ConstantMapping

class ConstantMapping extends PropertyMapping

Used to map information that is only contained in the infobox template name, for example

en:Infobox_Australian_Road {{TemplateMapping | mapToClass = Road | mappings = {{ConstantMapping | ontologyProperty = country | value = Australia }} ... }}

Linear Supertypes
PropertyMapping, Extractor[TemplateNode], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConstantMapping
  2. PropertyMapping
  3. Extractor
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantMapping(ontologyProperty: OntologyProperty, value: String, datatype: Datatype, context: AnyRef { def language: org.dbpedia.extraction.util.Language })

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val dataset: Dataset

  7. val datasets: Set[Dataset]

    Datasets generated by this extractor.

    Datasets generated by this extractor. Used for serialization. If a mapping implementation does not return all datasets it produces, serialization may fail.

    Definition Classes
    ConstantMappingExtractor
  8. val datatype: Datatype

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def extract(node: TemplateNode, subjectUri: String): Seq[Quad]

    subjectUri

    The subject URI of the generated triples

    returns

    A graph holding the extracted data

    Definition Classes
    ConstantMappingExtractor
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def finalizeExtractor(): Unit

    when extractor needs some finalization

    when extractor needs some finalization

    Definition Classes
    Extractor
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def initializeExtractor(): Unit

    when extractor has a pre-phase

    when extractor has a pre-phase

    Definition Classes
    Extractor
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val isObjectProperty: Boolean

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. val ontologyProperty: OntologyProperty

  23. var state: ExtractorState.Value

    Definition Classes
    Extractor
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. var value: String

  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PropertyMapping

Inherited from Extractor[TemplateNode]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped