W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > October 2010

sparql/client

From: Dominic Sisneros <dsisnero@gmail.com>
Date: Sun, 24 Oct 2010 06:41:07 -0600
Message-ID: <AANLkTimw2z28wE-uTBb43HajSq=eeTwYMsgpidbcEDOX@mail.gmail.com>
To: public-rdf-ruby@w3.org
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 Sunday, 24 October 2010 12:41:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 24 October 2010 12:41:41 GMT