Showing 1,631 changed files with 1,456,676 additions and 843,254 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Data Issue
about: Problem with the data of DBpedia
title: ''
labels: 'data'
assignees: ''

---

# Issue validity
> Some explanation: DBpedia Snapshot is produced every three months, see [Release Frequency & Schedule](https://www.dbpedia.org/blog/snapshot-2021-06-release/#anchor1), which is loaded into http://dbpedia.org/sparql . During these three months, Wikipedia changes and also the DBpedia Information Extraction Framework receives patches. At http://dief.tools.dbpedia.org/server/extraction/en/ we host a daily updated extraction web service that can extract one Wikipedia page at a time. To check whether your issue is still valid, please enter the article name, e.g. `Berlin` or `Joe_Biden` here: http://dief.tools.dbpedia.org/server/extraction/en/
> If the issue persists, please post the link from your browser here:
# Error Description
> Please state the nature of your technical emergency:
# Pinpointing the source of the error
> Where did you find the data issue? Non-exhaustive options are:
* Web/SPARQL, e.g. http://dbpedia.org/sparql or http://dbpedia.org/resource/Berlin, please **provide query or link**
* Dumps: dumps are managed by the Databus. Please **provide artifact & version or download link**
* DIEF: you ran the software and the error occured then, please **include all necessary information such as the extractor or log**. If you had problems running the software use [another issue template](https://github.com/dbpedia/extraction-framework/issues/new/choose)

# Details
> please post the details
> Wrong triples RDF snippet
```
```
> Expected / corrected RDF outcome snippet
```
```
>Example DBpedia resource URL(s)
```
```
> Other
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/hosting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Hosting & Services
about: Report a problem with one of the core services, e.g. dbpedia.org/sparql, (lookup|global).dbpedia.org, spotlight api
title: ''
labels: 'hosting'
assignees: ''

---
# Where did the problem occur (e.g. dbpedia.org/sparql, lookup, spotlight)?
> Please give the full URL, if possible


# Problem description
> Please state the nature of your technical emergency.
# Expected behaviour
> What did you expect?
# Request/Reproduction
> Give the link or request, so the problem can be reproduced. Ideally, this would be a unix `curl` command.

31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/software-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Software Bug Report (DIEF)
about: Report a bug in the software itself (crash, exception, unexpected behaviour) while running the Extraction
Framework software
title: ''
labels: 'bug'
assignees: ''
---

# Describe the bug
> A clear and concise description of what the bug is.
# Expected behaviour
> A clear and concise description of what you expected to happen.
# Environment

> *Please fill out or post:*
- **Extraction:** (commit hash):
- **OS:**
- **Java SDK Version** (java --version):
- **Maven version** (mvn --version):

# To reproduce
> Steps to reproduce the behavior.
# Additional context & logs
> Add any other context or logs about the problem here.
```
```
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/software-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Software Build Problem (DIEF)
about: when trying to `mvn install` the extraction software, an error occured
title: ''
labels: 'build'
assignees: ''
---

# Common Pitfalls
* Have you read https://github.com/dbpedia/extraction-framework/blob/master/documentation/quickstart.md ?
Please help us improve the docu. Which part was unclear or made you stuck?
* Make sure maven is using java 1.8 (mvn --version)

# Environment:
> *Please fill out or post:*
- **Extraction:** (commit hash):
- **OS:**
- **Java SDK Version** (java --version):
- **Maven version** (mvn --version):

# Error description
> Please state the nature of your technical emergency.
# Log
> Which command did you use (e.g., mvn install)?
> In which folder?
```
```
> Please post or attach the log:
```
```


10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/zother.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Other
about: Feature request or problem not covered by the other issue templates
title: ''
labels: 'other'
assignees: ''

---

> Note that forum.dbpedia.org is also an excellent venue to discuss features and other topics. We mostly use the issue tracker for tracking problems.
30 changes: 30 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
33 changes: 33 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Extraction Framework Build and MiniDump Test

on:
push:
branches: [ master , testing]
pull_request:
branches: [ master ]
schedule:
- cron: '0 0 *,12 * *'

jobs:
build:

runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn clean install -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#dev-team'
if: failure()
31 changes: 31 additions & 0 deletions .github/workflows/minidumpdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update Minidump document

on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Run Maven install
run: mvn install

- name: Run MinidumpDoc
working-directory: ./dump
run: mvn package exec:java -Dexec.mainClass=org.dbpedia.extraction.dump.util.MinidumpDoc

- name: Updating test coverage table
uses: EndBug/add-and-commit@v4.4.0
with:
message: 'Github action minidumpdoc update'
add: 'dump/src/test/resources/shaclTestsCoverageTable.md --force'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ target/
*.lck
*.tmp
java_pid*
dump/test-basedir
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM maven:3-jdk-8

WORKDIR /dbpedia

RUN bash -c 'mkdir -p /dbpedia/extraction-framework-files/{basedir,logdir}'

ADD . /dbpedia/extraction-framework

VOLUME /dbpedia/extraction-framework-files

RUN grep -rl "/home/marvin/workspace/active/basedir" ./* | xargs sed -i 's\/home/marvin/workspace/active/\/dbpedia/extraction-framework-files/\g'

RUN cd extraction-framework/ && mvn clean install
Loading