Mercurial > hg > AnnotationManager
diff src/main/java/de/mpiwg/itgroup/annotationManager/restlet/AnnotatorSearch.java @ 33:e5f5848892a2
new annotation model basically works.
author | casties |
---|---|
date | Thu, 31 May 2012 19:08:48 +0200 |
parents | a3e324009990 |
children |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotationManager/restlet/AnnotatorSearch.java Thu May 31 11:57:50 2012 +0200 +++ b/src/main/java/de/mpiwg/itgroup/annotationManager/restlet/AnnotatorSearch.java Thu May 31 19:08:48 2012 +0200 @@ -19,6 +19,7 @@ import org.restlet.representation.StringRepresentation; import org.restlet.resource.Get; +import de.mpiwg.itgroup.annotationManager.Constants.NS; import de.mpiwg.itgroup.annotationManager.Errors.TripleStoreSearchError; import de.mpiwg.itgroup.annotationManager.RDFHandling.Annotation; import de.mpiwg.itgroup.annotationManager.RDFHandling.RDFSearcher; @@ -59,7 +60,7 @@ String limit = form.getFirstValue("limit"); String offset = form.getFirstValue("offset"); - RDFSearcher searcher = new RDFSearcher("file:///annotations"); // TODO should go into config file + RDFSearcher searcher = new RDFSearcher(NS.MPIWG_ANNOT_CTX); // TODO should go into config file JSONArray ja; try { @@ -128,7 +129,7 @@ return null; } - RDFSearcher searcher = new RDFSearcher("file:///annotations"); // TODO + RDFSearcher searcher = new RDFSearcher(NS.MPIWG_ANNOT_CTX); // TODO // should // ge // into