@ -121,7 +121,9 @@ char* json_ld_lookup_value( struct json_value context, const char* value )
const char* result = NULL;
json_ld_lookup_value_in_context( context, value, &result );
if( strstr(result,"://") ) {
if( !result ) {
return NULL;
} else if( strstr(result,"://") ) {
// absolute IRI
return strdup(result);
} else if( strstr( result, ":" ) ) {