Author: Kévin Dunglas (dunglas@gmail.com)
 /**
  * Gets the ID from an URI or a raw ID.
  *
  * @param string $value
  *
  * @return string
  */
 protected function getFilterValueFromUrl($value)
 {
     try {
         if ($item = $this->iriConverter->getItemFromIri($value)) {
             return $this->propertyAccessor->getValue($item, 'id');
         }
     } catch (\InvalidArgumentException $e) {
         // Do nothing, return the raw value
     }
     return $value;
 }