Re: [SMW-devel] Refreshing semantic data programatically

2014-06-12 Thread Benjamin Pelletier
With some prompting from Nischay Nahata, I found the answer I was looking for. Instead of the exec($refreshcmd) line, it was as simple as running a SMWUpdateJob: $updatejob = new SMWUpdateJob( $t ); $updatejob->run(); The index variable is now $t instead of $index, and I saved each whole T

[SMW-devel] Refreshing semantic data programatically

2014-06-12 Thread Benjamin Pelletier
Like many SMW users, I'm having trouble with a feature of my SMW where a page's property value is set based on a query of other pages. I know that's a Bad Thing , but it's extremely useful and there aren't any good alternatives*. Here's the se