Skip to content

Commit

Permalink
adding Logging, cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
TortugaAttack committed Mar 30, 2021
1 parent 174ca38 commit 4a54634
Show file tree
Hide file tree
Showing 15 changed files with 856 additions and 593 deletions.
34 changes: 18 additions & 16 deletions exampleconfig.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
endpoint: http://dbpedia.org/sparql
owlFile: ./dbpedia_2016-10.owl
owlFile: ./fixed-ontology.owl
seed: 123
types:
- http://dbpedia.org/ontology/Politician
- http://dbpedia.org/ontology/Company
- http://dbpedia.org/ontology/RecordLabel
- http://dbpedia.org/ontology/ArchitecturalStructure
- http://dbpedia.org/ontology/Architect
- http://dbpedia.org/ontology/Person
- http://dbpedia.org/ontology/Mayor
- http://dbpedia.org/ontology/Work
- http://dbpedia.org/ontology/Band
- http://dbpedia.org/ontology/MusicalArtist
- http://dbpedia.org/ontology/Album
- http://dbpedia.org/ontology/Actor
- http://dbpedia.org/ontology/MusicGenre
maxNoOfIndividuals: 5
maxIndividualsPerExampleConcept: 50
percentageOfPositiveExamples: 0.1
percentageOfNegativeExamples: 0.1
maxIndividualsPerExampleConcept: 30
percentageOfPositiveExamples: 0.5
percentageOfNegativeExamples: 0.5
maxNoOfExamples: 30
minNoOfExamples: 5
maxGenerateConcepts: 100
maxConceptLength: 8
maxDepth: 1
removeLiterals: true
namespace: http://dbpedia.org/ontology/
concepts:
- positive: MusicalArtist and genre min 5
- positive: MusicalArtist and genre min 3
negatives:
- Album
- MusicalArtist and genre max 2
- positive: Actor and MusicalArtist
negatives:
- MusicalArtist and not Actor
- Actor and not MusicalArtist
- positive: MusicalArtist and alias min 2
negatives:
- MusicalArtist and alias max 1
- positive: Album and (artist some Agent)
44 changes: 43 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,55 @@
<groupId>org.dice_group</groupId>
<artifactId>LPBenchGen</artifactId>
<version>1.0-SNAPSHOT</version>

<licenses>
<license>
<name>AGPLv3 or later</name>
<url>https://www.gnu.org/licenses/agpl-3.0.html</url>
</license>
</licenses>
<developers>
<developer>
<name>Lixi Alié Conrads</name>
<email>[email protected]</email>
<roles>
<role>Main Developer</role>
</roles>
<organization>Dice Research Group</organization>
<organizationUrl>https://dice-research.org</organizationUrl>
</developer>
</developers>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<log4j.version>2.13.3</log4j.version>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>com.clarkparsia.pellet</groupId>
<artifactId>pellet-owlapiv3</artifactId>
<version>2.3.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
Expand Down
Loading

0 comments on commit 4a54634

Please sign in to comment.