Add TODOs for Jena RDF language names

This commit is contained in:
Tom Morris 2020-06-15 20:00:03 -04:00
parent 480bf4fb85
commit 559494b75d

View File

@ -84,6 +84,8 @@ public class RdfTripleImporter extends ImportingParserBase {
try { try {
switch (mode) { switch (mode) {
case NT: case NT:
// TODO: The standard lang name is "N-TRIPLE"
// we may need to switch if we change packagings
model.read(input, null, "NT"); model.read(input, null, "NT");
break; break;
case N3: case N3:
@ -93,6 +95,7 @@ public class RdfTripleImporter extends ImportingParserBase {
model.read(input, null, "TTL"); model.read(input, null, "TTL");
break; break;
case JSONLD: case JSONLD:
// TODO: The standard lang name is "JSONLD"
model.read(input, null, "JSON-LD"); model.read(input, null, "JSON-LD");
break; break;
case RDFXML: case RDFXML: