public bool Add(SemWeb.Statement stmt) { string predicate = stmt.Predicate.Uri; string title = System.IO.Path.GetFileName(predicate); string bg = InfoDisplay.Color(info.Style.Background(Gtk.StateType.Active)); string fg = InfoDisplay.Color(info.Style.Foreground(Gtk.StateType.Active)); //if (MetadataStore.Namespaces.GetPrefix (path) != null) { if (stmt.Object is Literal) { stream.Write("<tr><td valign=top align=right bgcolor=\"" + bg + "\"><font color=\"" + fg + "\">"); stream.Write(title); stream.Write("</font></td><td>"); string s = ((SemWeb.Literal)(stmt.Object)).Value; /* * else { * MemoryStore store = source.Select (stmt.Invert (), new SelectPartialFilter (true, false, false, false)); * s = ""; * foreach (Statement sub in store) { * s += sub.Object.ToString () + "/n"; * } * } */ if (s != null && s != String.Empty) { stream.Write(s); } stream.Write("</td><tr>"); } return(true); }