store = $store; } // Clouds public function tagcloud() { $query = " SELECT ?tagname count(?tagname) as c WHERE { [] a tags:RestrictedTagging ; tags:taggedWithTag ?tag . ?tag tags:name ?tagname . } GROUP BY ?tagname"; $res = $this->store->do_query($query); return LODrTools::tagcloud('Tags', $res); } public function uricloud() { $query = " SELECT ?uri count(?uri) as c WHERE { [] a tags:RestrictedTagging ; tags:taggedWithTag ?tag ; moat:tagMeaning ?uri . } GROUP BY ?uri"; $res = $this->store->do_query($query); return LODrTools::uricloud('Concepts', $res); } public function go($format) { return $this->tagcloud().$this->uricloud(); } } ?>