Thread:Extension talk:Arrays/ arrayprint and semantic properties/reply

Just use  in your query. Or even better, use the Array result format.