forked from dbpedia/extraction-framework
-
Notifications
You must be signed in to change notification settings - Fork 2
OWL Extraction
Andreas Knöpfle edited this page Mar 13, 2016
·
2 revisions
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 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 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 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
- 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.owlmappings=../owlmappings
- working directory: path-to-your-extraction-framework/extraction-framework/dump
- module: dump