FieldSelector fieldSelector = new MapFieldSelector(fieldsToLoad);
Document document = getDocument(docNo, fieldSelector);
Field uriField = document.getField(LuceneManager.DBpediaResourceField.URI.toString());
if (uriField==null)
throw new SearchException("Cannot find URI for document "+document);
String uri = uriField.stringValue();
if (uri==null)
throw new SearchException("Cannot find URI for document "+document);
DBpediaResource resource = new DBpediaResource(uri);
for (String fieldName: fieldsToLoad) {
Field field = document.getField(fieldName);