function test_multiple_where_uri() { $dt = new DataTable("http://example.org/store"); $dt->map('http://example.org/name', 'name'); $dt->map('http://example.org/type', 'type'); $dt->map('http://example.org/age', 'age'); $dt->select('age'); $dt->where_uri('name', 'http://example.org/foo'); $dt->where_uri('type', 'http://example.org/blah'); $this->assertEquals("select ?_uri ?age where {?_uri <http://example.org/name> <http://example.org/foo>; <http://example.org/type> <http://example.org/blah>; <http://example.org/age> ?age. }", $dt->get_sparql()); }