How to read SMW data from PHP code