NIHVIVO-3878 update RDFService to handle N-TRIPLE format serialization
This commit is contained in:
parent
471066853a
commit
858ccb5cdd
2 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,7 @@ public interface RDFService {
|
|||
}
|
||||
|
||||
public enum ModelSerializationFormat {
|
||||
RDFXML, N3
|
||||
RDFXML, N3, NTRIPLE
|
||||
}
|
||||
|
||||
public enum ResultFormat {
|
||||
|
|
|
@ -143,6 +143,8 @@ public abstract class RDFServiceImpl implements RDFService {
|
|||
return "RDF/XML";
|
||||
case N3:
|
||||
return "TTL";
|
||||
case NTRIPLE:
|
||||
return "N-TRIPLE";
|
||||
default:
|
||||
log.error("unexpected format in getFormatString");
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue