Skip to content

Commit

Permalink
#4567 - Add support for a generic CAS RDF export format
Browse files Browse the repository at this point in the history
- Ported RDF reader/writer from DKPro Core
- Added PARAM_IRI_FEATURES so we can represent KB concepts are proper IRIs in the export instead of strings
- Added test using PARAM_IRI_FEATURES
  • Loading branch information
reckart committed Feb 27, 2024
1 parent aa63741 commit caebfe1
Show file tree
Hide file tree
Showing 21 changed files with 4,968 additions and 51 deletions.
57 changes: 33 additions & 24 deletions inception/inception-app-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -359,60 +359,63 @@
<!-- READER/WRITER DEPENDENCIES -->
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-json</artifactId>
<artifactId>inception-io-bioc</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-webanno-tsv</artifactId>
<artifactId>inception-io-brat</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-text</artifactId>
<artifactId>inception-io-conll</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-tcf</artifactId>
<artifactId>inception-io-imscwb</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-nif</artifactId>
<artifactId>inception-io-html</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-imscwb</artifactId>
<artifactId>inception-io-intertext</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-intertext</artifactId>
<artifactId>inception-io-json</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-nif</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-perseus</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-bioc</artifactId>
<artifactId>inception-io-rdf</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-brat</artifactId>
<artifactId>inception-io-tcf</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-conll</artifactId>
<artifactId>inception-io-tei</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-xmi</artifactId>
<artifactId>inception-io-text</artifactId>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-tei</artifactId>
<artifactId>inception-io-webanno-tsv</artifactId>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-xmi</artifactId>
</dependency>

<!-- UIMA DEPENDENCIES -->
Expand All @@ -421,7 +424,6 @@
<artifactId>uimaj-core</artifactId>
</dependency>


<!-- WICKET DEPENDENCIES -->
<dependency>
<groupId>org.apache.wicket</groupId>
Expand Down Expand Up @@ -549,8 +551,8 @@
<artifactId>sentry-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-log4j2</artifactId>
<groupId>io.sentry</groupId>
<artifactId>sentry-log4j2</artifactId>
</dependency>

<!-- DATABASE / HIBERNATE -->
Expand Down Expand Up @@ -664,6 +666,11 @@
<groupId>info.picocli</groupId>
<artifactId>picocli-spring-boot-starter</artifactId>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>

<dependency>
<groupId>no.nav.security</groupId>
Expand Down Expand Up @@ -953,17 +960,19 @@
<!-- INCEpTION IO Modules - used via Spring -->
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-bioc</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-brat</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-nif</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-intertext</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-conll</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-imscwb</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-perseus</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-html</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-intertext</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-json</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-webanno-tsv</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-nif</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-perseus</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-rdf</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-tcf</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-xmi</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-conll</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-tei</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-text</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-webanno-tsv</usedDependency>
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-io-xmi</usedDependency>
<!-- Documentation modules - needed but no Java dependency -->
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-doc</usedDependency>
<!-- WebAnno backend modules - used via Spring -->
Expand Down
30 changes: 18 additions & 12 deletions inception/inception-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -423,76 +423,82 @@
<artifactId>inception-io-bioc</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-conll</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-brat</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-json</artifactId>
<artifactId>inception-io-html</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-text</artifactId>
<artifactId>inception-io-intertext</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-html</artifactId>
<artifactId>inception-io-json</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-webanno-tsv</artifactId>
<artifactId>inception-io-imscwb</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-tei</artifactId>
<artifactId>inception-io-lif</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-conll</artifactId>
<artifactId>inception-io-nif</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-imscwb</artifactId>
<artifactId>inception-io-perseus</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-intertext</artifactId>
<artifactId>inception-io-rdf</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-perseus</artifactId>
<artifactId>inception-io-tcf</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-nif</artifactId>
<artifactId>inception-io-tei</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-lif</artifactId>
<artifactId>inception-io-text</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-tcf</artifactId>
<artifactId>inception-io-webanno-tsv</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-io-xmi</artifactId>
<version>32.0-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>de.tudarmstadt.ukp.inception.app</groupId>
<artifactId>inception-telemetry</artifactId>
Expand Down
Loading

0 comments on commit caebfe1

Please sign in to comment.