}
public void prepareIris(TermMentionFilterPrepareData termMentionFilterPrepareData) {
zipCodeIri = (String) termMentionFilterPrepareData.getStormConf().get(CONFIG_ZIP_CODE_IRI);
if (zipCodeIri == null || zipCodeIri.length() == 0) {
throw new LumifyException("Could not find config: " + CONFIG_ZIP_CODE_IRI);
}
geoLocationIri = (String) termMentionFilterPrepareData.getStormConf().get(CONFIG_GEO_LOCATION_IRI);
if (geoLocationIri == null || geoLocationIri.length() == 0) {
throw new LumifyException("Could not find config: " + CONFIG_GEO_LOCATION_IRI);
}
this.artifactHasEntityIri = getConfiguration().get(Configuration.ONTOLOGY_IRI_ARTIFACT_HAS_ENTITY);
if (this.artifactHasEntityIri == null) {
throw new LumifyException("Could not find configuration for " + Configuration.ONTOLOGY_IRI_ARTIFACT_HAS_ENTITY);
}
}