Recast/src/Controller/RecastController.php
private function findPredicateForObject(\EasyRdf_Graph $graph, $object)
    {
        $properties = $graph->reversePropertyUris($object);
        foreach ($properties as $p) {
            return $p;
        }
        return null;
    }
private function findPredicateForObject(\EasyRdf_Graph $graph, $object)
    {
        $properties = $graph->reversePropertyUris($object);
        foreach ($properties as $p) {
            return $p;
        }
        return null;
    }
private function findPredicateForObject ( \ EasyRdf_Graph $ graph , $ object ) { $ properties = $ graph -> reversePropertyUris ( $ object ) ; foreach ( $ properties as $ p ) { return $ p ; } return null ; }
Locate the predicate for an object in a graph.

@param \EasyRdf_Graph $graph
The graph to look in.
@param string $object
The object to look for.

@return mixed string|null
Return the predicate or null.
Locate the predicate for an object in a graph .