| http://www.w3.org/ns/prov#value | - And converts everything to integer except string, so in php the post process could be: public function key() { $yourKey = $this->createYourKey(); if (is_object($yourKey) || is_array($yourKey)) throw new Exception('Array and Object not allowed.'); elseif (is_string($yourKey)) return $yourKey; else return (int) $yourKey; }
|