- From: Ross Singer <rossfsinger@gmail.com>
- Date: Tue, 26 Oct 2010 14:23:32 -0400
- To: Dominic Sisneros <dsisnero@gmail.com>
- Cc: public-rdf-ruby@w3.org
I'm not entirely sure of the error here, but wouldn't fb:film.film.performances need to be "fb:film.film.performances" (that is, a string)? -Ross. On Sun, Oct 24, 2010 at 8:41 AM, Dominic Sisneros <dsisnero@gmail.com> wrote: > query = SPARQL::Client::Query > > if I have this > query = query.select.prefix("fb <http://rdf.freebase.com/ns/>").prefix("dc: > <http://purl.org/dc/elements/1.1/") > > how do I use the prefixes in a where clause? > > query = query.select(:costar, :fn) > query = query.where([:s,:p,:o]) works > > but > query = query.where([:s, fb:film.film.performances, :pl]) doesn't > > gives a expecting tASSOC error > > thanks in advance >
Received on Tuesday, 26 October 2010 18:24:04 UTC