// Path: src/main/java/fr/eurecom/stanfordnlprestapi/enums/NlpProcess.java
// public enum NlpProcess {
//   NER,
//   POS,
//   TOKENIZE,
//   COREF,
//   DATE,
//   NUMBER,
//   GAZETTEER
// }
// 
// Path: src/main/java/fr/eurecom/stanfordnlprestapi/interfaces/Sentence.java
// public interface Sentence {
//   void addToken(final Token newToken);
// 
//   void addEntity(final Entity newEntity);
//   
//   void addCoref(final Coref newCoref);
// 
//   void nextSentence(final Sentence newNextSentence);
// 
//   List<Entity> entities();
// 
//   int index();
// 
//   int start();
// 
//   int end();
// 
//   Model rdfModel(final String tool, final NlpProcess process, final String host);
// }
// 
// Path: src/main/java/fr/eurecom/stanfordnlprestapi/nullobjects/NullSentence.java
// public final class NullSentence implements Sentence {
//   static final Logger LOGGER = LoggerFactory.getLogger(NullSentence.class);
//   private static final NullSentence INSTANCE = new NullSentence();
//   
//   public static NullSentence getInstance() {
//     return NullSentence.INSTANCE;
//   }
//   
//   private NullSentence() {
//   }
// 
//   @Override
//   public void addToken(final Token newToken) {
//     throw new UnsupportedOperationException("Not implemented");
//   }
// 
//   @Override
//   public void addEntity(final Entity newEntity) {
//     throw new UnsupportedOperationException("Not implemented");
//   }
//   
//   @Override
//   public void addCoref(final Coref newCoref) {
//     throw new UnsupportedOperationException("Not implemented");
//   }
// 
//   @Override
//   public void nextSentence(final Sentence newNextSentence) {
//     throw new UnsupportedOperationException("Not implemented");
//   }
// 
//   @Override
//   public List<Entity> entities() {
//     return null;
//   }
// 
//   @Override
//   public int index() {
//     return -1;
//   }
// 
//   @Override
//   public int start() {
//     return 0;
//   }
// 
//   @Override
//   public int end() {
//     return 0;
//   }
// 
//   @Override
//   public Model rdfModel(final String tool, final NlpProcess process, final String host) {
//     return ModelFactory.createDefaultModel();
//   }
// }


import org.apache.jena.rdf.model.ResourceFactory;
import org.apache.jena.vocabulary.RDF;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import fr.eurecom.stanfordnlprestapi.enums.NlpProcess;
import fr.eurecom.stanfordnlprestapi.interfaces.Sentence;
import fr.eurecom.stanfordnlprestapi.nullobjects.NullSentence;
import java.util.HashMap;
import java.util.Map;
import org.apache.jena.datatypes.xsd.XSDDatatype;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
    final String nif = "http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#";
    final Map<String, String> prefixes = new HashMap<>();

    prefixes.put("nif", nif);

    final String base = "http://127.0.0.1/stanfordnlp/context#";

    prefixes.put("local", base);
    prefixes.put("xsd", "http://www.w3.org/2001/XMLSchema#");

    model.setNsPrefixes(prefixes);

    model.add(ResourceFactory.createResource(base + "char=0,62"), RDF.type,
        ResourceFactory.createResource(nif + "String"));
    model.add(ResourceFactory.createResource(base + "char=0,62"), RDF.type,
        ResourceFactory.createResource(nif + "RFC5147String"));
    model.add(ResourceFactory.createResource(base + "char=0,62"), RDF.type,
        ResourceFactory.createResource(nif + "Context"));
    model.add(ResourceFactory.createResource(base + "char=0,62"),
        ResourceFactory.createProperty(nif + "beginIndex"),
        ResourceFactory.createTypedLiteral("0", XSDDatatype.XSDnonNegativeInteger));
    model.add(ResourceFactory.createResource(base + "char=0,62"),
        ResourceFactory.createProperty(nif + "endIndex"), ResourceFactory.createTypedLiteral("62",
            XSDDatatype.XSDnonNegativeInteger));
    model.add(ResourceFactory.createResource(base + "char=0,62"),
        ResourceFactory.createProperty(nif + "isString"),
        ResourceFactory.createTypedLiteral("My favorite actress is: Natalie Portman. She is very "
            + "stunning."));

    Assert.assertTrue("Issue to create the model for a Context",
// Path: src/main/java/fr/eurecom/stanfordnlprestapi/enums/NlpProcess.java
// public enum NlpProcess {
//   NER,
//   POS,
//   TOKENIZE,
//   COREF,
//   DATE,
//   NUMBER,
//   GAZETTEER
// }
// 
// Path: src/main/java/fr/eurecom/stanfordnlprestapi/interfaces/Sentence.java
// public interface Sentence {
//   void addToken(final Token newToken);
// 
//   void addEntity(final Entity newEntity);
//   
//   void addCoref(final Coref newCoref);
// 
//   void nextSentence(final Sentence newNextSentence);
// 
//   List<Entity> entities();
// 
//   int index();
// 
//   int start();
// 
//   int end();
// 
//   Model rdfModel(final String tool, final NlpProcess process, final String host);
// }
// 
// Path: src/main/java/fr/eurecom/stanfordnlprestapi/nullobjects/NullSentence.java
// public final class NullSentence implements Sentence {
//   static final Logger LOGGER = LoggerFactory.getLogger(NullSentence.class);
//   private static final NullSentence INSTANCE = new NullSentence();
//   
//   public static NullSentence getInstance() {
//     return NullSentence.INSTANCE;
//   }
//   
//   private NullSentence() {
//   }
// 
//   @Override
//   public void addToken(final Token newToken) {
//     throw new UnsupportedOperationException("Not implemented");
//   }
// 
//   @Override
//   public void addEntity(final Entity newEntity) {
//     throw new UnsupportedOperationException("Not implemented");
//   }
//   
//   @Override
//   public void addCoref(final Coref newCoref) {
//     throw new UnsupportedOperationException("Not implemented");
//   }
// 
//   @Override
//   public void nextSentence(final Sentence newNextSentence) {
//     throw new UnsupportedOperationException("Not implemented");
//   }
// 
//   @Override
//   public List<Entity> entities() {
//     return null;
//   }
// 
//   @Override
//   public int index() {
//     return -1;
//   }
// 
//   @Override
//   public int start() {
//     return 0;
//   }
// 
//   @Override
//   public int end() {
//     return 0;
//   }
// 
//   @Override
//   public Model rdfModel(final String tool, final NlpProcess process, final String host) {
//     return ModelFactory.createDefaultModel();
//   }
// }


// Path: src/test/java/fr/eurecom/stanfordnlprestapi/datatypes/ContextTest.java
import org.apache.jena.rdf.model.ResourceFactory;
import org.apache.jena.vocabulary.RDF;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import fr.eurecom.stanfordnlprestapi.enums.NlpProcess;
import fr.eurecom.stanfordnlprestapi.interfaces.Sentence;
import fr.eurecom.stanfordnlprestapi.nullobjects.NullSentence;
import java.util.HashMap;
import java.util.Map;
import org.apache.jena.datatypes.xsd.XSDDatatype;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;

    final String nif = "http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#";
    final Map<String, String> prefixes = new HashMap<>();

    prefixes.put("nif", nif);

    final String base = "http://127.0.0.1/stanfordnlp/context#";

    prefixes.put("local", base);
    prefixes.put("xsd", "http://www.w3.org/2001/XMLSchema#");

    model.setNsPrefixes(prefixes);

    model.add(ResourceFactory.createResource(base + "char=0,62"), RDF.type,
        ResourceFactory.createResource(nif + "String"));
    model.add(ResourceFactory.createResource(base + "char=0,62"), RDF.type,
        ResourceFactory.createResource(nif + "RFC5147String"));
    model.add(ResourceFactory.createResource(base + "char=0,62"), RDF.type,
        ResourceFactory.createResource(nif + "Context"));
    model.add(ResourceFactory.createResource(base + "char=0,62"),
        ResourceFactory.createProperty(nif + "beginIndex"),
        ResourceFactory.createTypedLiteral("0", XSDDatatype.XSDnonNegativeInteger));
    model.add(ResourceFactory.createResource(base + "char=0,62"),
        ResourceFactory.createProperty(nif + "endIndex"), ResourceFactory.createTypedLiteral("62",
            XSDDatatype.XSDnonNegativeInteger));
    model.add(ResourceFactory.createResource(base + "char=0,62"),
        ResourceFactory.createProperty(nif + "isString"),
        ResourceFactory.createTypedLiteral("My favorite actress is: Natalie Portman. She is very "
            + "stunning."));

    Assert.assertTrue("Issue to create the model for a Context",
        model.isIsomorphicWith(context.rdfModel("stanfordnlp", NlpProcess.POS,