String vertexId = TheMovieDbOntology.getPersonVertexId(personId);
VertexBuilder m = prepareVertex(vertexId, visibility);
LumifyProperties.CONCEPT_TYPE.addPropertyValue(m, MULTI_VALUE_KEY, TheMovieDbOntology.CONCEPT_TYPE_PERSON, visibility);
LumifyProperties.SOURCE.addPropertyValue(m, MULTI_VALUE_KEY, SOURCE, visibility);
StreamingPropertyValue rawValue = new StreamingPropertyValue(new ByteArrayInputStream(personJson.toString().getBytes()), byte[].class);
rawValue.store(true);
rawValue.searchIndex(false);
LumifyProperties.RAW.addPropertyValue(m, MULTI_VALUE_KEY, rawValue, visibility);
LumifyProperties.TITLE.addPropertyValue(m, MULTI_VALUE_KEY, name, visibility);
String biography = personJson.optString("biography");
if (biography != null) {
Map<String, Object> metadata = new HashMap<String, Object>();
metadata.put(LumifyProperties.META_DATA_TEXT_DESCRIPTION, "Biography");
metadata.put(LumifyProperties.META_DATA_MIME_TYPE, "text/plain");
StreamingPropertyValue value = new StreamingPropertyValue(new ByteArrayInputStream(biography.getBytes()), String.class);
LumifyProperties.TEXT.addPropertyValue(m, MULTI_VALUE_KEY, value, metadata, visibility);
}
String birthDateString = personJson.optString("birthday");
if (birthDateString != null && birthDateString.length() > 0) {