Skip to content
Andreas Knöpfle edited this page Mar 13, 2016 · 2 revisions

OWL Extraction

Follow this page for the basic setup of the project in IntelliJ:

Use the "owl-extraction-clean" branch, since it is the most up to date one.

The following sections list the configurations for perfoming an OWL based extraction. Replace the config in brackets ([...]) with your configuration.

Download OWL Ontology:

Download the Ontology as usual with the OntologyDownloader class

  • class: org.dbpedia.extraction.util.OntologyDownloader
  • arguments: ontology.xml ontology.owl [version]
  • module: core
  • working directory: path-to-your-extraction-framework/extraction-framework/

Download OWL Mappings:

Download the Mappings as OWL files:

  • class: org.dbpedia.extraction.owlmappings.MappingsOwlDownloader
  • arguments: owlmappings ontology.owl
  • module: core
  • working directory: path-to-your-extraction-framework/extraction-framework/

Download the Dump

Download the Dump as usual:

  • class: org.dbpedia.extraction.dump.download.Download
  • arguments: config = "your config file name"
    • (config=download.minimal.properties for example)
  • working directory: path-to-your-extraction-framework/extraction-framework/dump
  • module: dump

Start the OWL Extraction

  • class: org.dbpedia.extraction.dump.owlextract.ExtractionOWL
  • arguments: your config file name
    • (extraction.default.properties for example)
    • In the config file, have the following lines (with the dowloads above)
      • ontology=../ontology.owl
      • mappings=../owlmappings
  • working directory: path-to-your-extraction-framework/extraction-framework/dump
  • module: dump

Clone this wiki locally