-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All Spans that are translated into nodes inside the RDF graph additio…
…nally get the type nif:Phrase.
- Loading branch information
1 parent
1b11a41
commit f52a724
Showing
4 changed files
with
33 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 30 additions & 30 deletions
60
src/main/java/org/aksw/gerbil/io/nif/impl/TurtleNIFWriter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
/** | ||
* This file is part of NIF transfer library for the General Entity Annotator Benchmark. | ||
* | ||
* NIF transfer library for the General Entity Annotator Benchmark is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* NIF transfer library for the General Entity Annotator Benchmark is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with NIF transfer library for the General Entity Annotator Benchmark. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package org.aksw.gerbil.io.nif.impl; | ||
|
||
import org.aksw.gerbil.io.nif.AbstractNIFWriter; | ||
|
||
public class TurtleNIFWriter extends AbstractNIFWriter { | ||
|
||
private static final String HTTP_CONTENT_TYPE = "application/x-turtle"; | ||
private static final String LANGUAGE = "TTL"; | ||
|
||
public TurtleNIFWriter() { | ||
super(HTTP_CONTENT_TYPE, LANGUAGE); | ||
} | ||
|
||
} | ||
/** | ||
* This file is part of NIF transfer library for the General Entity Annotator Benchmark. | ||
* | ||
* NIF transfer library for the General Entity Annotator Benchmark is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* NIF transfer library for the General Entity Annotator Benchmark is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with NIF transfer library for the General Entity Annotator Benchmark. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package org.aksw.gerbil.io.nif.impl; | ||
|
||
import org.aksw.gerbil.io.nif.AbstractNIFWriter; | ||
|
||
public class TurtleNIFWriter extends AbstractNIFWriter { | ||
|
||
private static final String HTTP_CONTENT_TYPE = "application/x-turtle"; | ||
private static final String LANGUAGE = "TTL"; | ||
|
||
public TurtleNIFWriter() { | ||
super(HTTP_CONTENT_TYPE, LANGUAGE); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters