src/PredFinder/elf/ElfRelationFactory.cpp
/**
 * Assign some plausible values (which won't affect our validation routine).
 * @param type Input ELF ontology type.
 * @param value Output value (changed only for certain types).
 **/
Assign some plausible values (which won't affect our validation routine).
@param type Input ELF ontology type.
@param value Output value (changed only for certain types).
Assign some plausible values ( which won ' t affect our validation routine ) . @param type Input ELF ontology type . @param value Output value ( changed only for certain types ) .
void ElfRelationFactory::update_fake_value_from_type(const std::wstring & type, std::wstring & value) {
    if (type == L"xsd:int")
        value = L"0";
    else if (type == L"xsd:date")
        value = L"1969-12-31";
    else if (type == L"nfl:NFLTeam")
        value = L"nfl:MinnesotaVikings";
}
void ElfRelationFactory :: update_fake_value_from_type ( const std :: wstring & type , std :: wstring & value ) { if ( type == L" " ) value = L" " ; else if ( type == L" " ) value = L" " ; else if ( type == L" " ) value = L" " ; }
Assign some plausible values (which won't affect our validation routine).
Assign some plausible values ( which won ' t affect our validation routine ) .