<% sqlstr='SELECT distinct b.obj,a.obj FROM rdf3 a, rdf3 b where a.subj=b.subj and a.pred like "%foaf%weblog" and (b.pred like "%foaf%name" or b.pred like "%foaf%nick") group by a.subj' str=[] RS=new ActiveXObject("ADODB.Recordset") RS.Open(sqlstr,"rdf2") if (!RS.EOF) { Arr=RS.getRows().toArray() FAl=Arr.length/2 for (i=0;i'+Arr[1]+' is the weblog of '+Arr[0]+'
') Arr.splice(0,2) } } str=str.join("") %> Where's the blog?

Where's the blogs?

<%=str%>