org.dbpedia.extraction.mappings

WikidataR2RExtractor

class WikidataR2RExtractor extends JsonNodeExtractor

Created by ali on 10/26/14. This extractor maps wikidata statements to DBpedia ontology wd:Q64 dbo:primeMinister wd:Q8863.

In order to extract n-ary relation mapped statements are reified. For reification unique statement URIs is created. Mapped statements reified on the form of wd:Q64_P6_Q8863 rdf:type rdf:Statement. wd:Q64_P6_Q8863 rdf:subject wd:Q64 . wd:Q64_P6_Q8863 rdf:predicate dbo:primeMinister. wd:Q64_P6_Q8863 rdf:object wd:Q8863.

Qualifiers use same statement URIs and mapped on the form of wd:Q64_P6_Q8863 dbo:startDate "2001-6-16"xsd:date. wd:Q64_P6_Q8863 dbo:endDate "2014-12-11"xsd:date.

Linear Supertypes
JsonNodeExtractor, Extractor[JsonNode], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WikidataR2RExtractor
  2. JsonNodeExtractor
  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 WikidataR2RExtractor(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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def checkRank(statementGroup: StatementGroup): Seq[Statement]

  6. val classMappings: Map[String, Set[OntologyClass]]

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val config: JsonConfig

  9. 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
    WikidataR2RExtractorExtractor
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. var equivalentProperties: Map[String, Set[String]]

  13. def extract(page: JsonNode, subjectUri: String): Seq[Quad]

    subjectUri

    The subject URI of the generated triples

    returns

    A graph holding the extracted data

    Definition Classes
    WikidataR2RExtractorExtractor
  14. def finalize(): Unit

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

    when extractor needs some finalization

    when extractor needs some finalization

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

    Definition Classes
    AnyRef → Any
  17. def getQuad(page: JsonNode, subjectUri: String, statementUri: String, map: Map[String, String]): ArrayBuffer[Quad]

  18. def getQualifersQuad(page: JsonNode, statementUri: String, claim: Claim): Seq[Quad]

  19. def getReificationQuads(page: JsonNode, statementUri: String, datatype: Datatype, quad: Quad): ArrayBuffer[Quad]

  20. def hashCode(): Int

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

    when extractor has a pre-phase

    when extractor has a pre-phase

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

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. var state: ExtractorState.Value

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonNodeExtractor

Inherited from Extractor[JsonNode]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped