org.dbpedia.extraction.mappings

NifExtractor

class NifExtractor extends WikiPageExtractor

Extracts page html.

Based on AbstractExtractor, major difference is the parameter apiParametersFormat = "action=parse&prop=text&section=0&format=xml&page=%s"

This class produces all nif related datasets for the abstract as well as the short-, long-abstracts datasets. Where the long abstracts is the nif:isString attribute of the nif instance representing the abstract section of a wikipage.

We are going to to use this method for generating the abstracts from release 2016-10 onwards. It will be expanded to cover the whole wikipage in the future.

Annotations
@ExtractorAnnotation( name = "nif extractor" )
Linear Supertypes
WikiPageExtractor, Extractor[WikiPage], Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NifExtractor
  2. WikiPageExtractor
  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 NifExtractor(context: AnyRef { ... /* 3 definitions in type refinement */ })

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. val apiParametersFormat: String

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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
    NifExtractorExtractor
  8. val dbpediaVersion: String

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

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

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

    subjectUri

    The subject URI of the generated triples

    returns

    A graph holding the extracted data

    Definition Classes
    NifExtractorExtractor
  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 isTestRun: Boolean

    Attributes
    protected
  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 shortAbstractLength: Int

    Attributes
    protected
  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. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. val writeLinkAnchors: Boolean

    Attributes
    protected
  30. val writeStrings: Boolean

    Attributes
    protected

Inherited from WikiPageExtractor

Inherited from Extractor[WikiPage]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped