Skip to content

Commit

Permalink
Added example
Browse files Browse the repository at this point in the history
  • Loading branch information
Aklakan committed Mar 1, 2024
1 parent 96d7cdb commit e82f02e
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/geodata/simple/data.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
<urn:feature01> geo:hasGeometry <urn:geometry01> .
<urn:geometry01> geo:asWKT "POLYGON((0.5 0.5,5 0,5 5,0 5,0.5 0.5), (1.5 1,4 3,4 1,1.5 1))"^^geo:wktLiteral .

60 changes: 60 additions & 0 deletions examples/geodata/simple/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.aksw.data.config</groupId>
<artifactId>aksw-data-deployment</artifactId>
<version>0.0.8</version>
<relativePath></relativePath>
</parent>

<groupId>org.aksw.maven4data.examples</groupId>
<artifactId>simple-geodata</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Simple Geodata Example</name>
<!-- <description></description> -->
<url>https://scaseco.github.io/maven4data/</url>

<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<properties>
<artifact.filename>data.ttl</artifact.filename>
<artifact.filetype>ttl</artifact.filetype>
</properties>

<build>
<plugins>
<!-- Deployment of file -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${artifact.filename}</file>
<type>${artifact.filetype}</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit e82f02e

Please sign in to comment.