Re: [fcrepo-dev] SPARQL query

2011-04-13 Thread Laura delli Paoli
Laura delli Paoli writes: > > Laura delli Paoli writes: > > > > > Matthew Stephens writes: > > > > > > > Thanks a lot Matthew, I solved encoding only the part or the URL after risearch!! Regards Laura -- Forres

Re: [fcrepo-dev] SPARQL query

2011-04-13 Thread Laura delli Paoli
Laura delli Paoli writes: > > Matthew Stephens writes: > > > > I tried with: encodedurl = URLEncoder.encode(url,"UTF-8"); but it doesn't work(java.net.MalformedURLException: no protocol) -- Forrester Wave Report -

Re: [fcrepo-dev] SPARQL query

2011-04-13 Thread Laura delli Paoli
Matthew Stephens writes: > > > Hi Laura: > > I don't see the rest of your query, but I built one and tested it against my repo with success: > > PREFIX fedora: > > PREFIX fedora-model: > SELECT $pid $model  from <#ri> WHERE { > $pid $model > } > > That returned what I expected: a list of

Re: [fcrepo-dev] SPARQL query

2011-04-13 Thread Matthew Stephens
Hi Laura: I don't see the rest of your query, but I built one and tested it against my repo with success: PREFIX fedora: PREFIX fedora-model: SELECT $pid $model from <#ri> WHERE { $pid $model } That returned what I expected: a list of all objects and their content models. I tried it using t

[fcrepo-dev] SPARQL query

2011-04-13 Thread Laura delli Paoli
Hello everybody! I have to interrogate fedora repository without using the browser interface, so I need prepare an ad-hoc URL as: http://localhost:8080/fedora/risearch? type=tuples&lang=sparql&format=Sparql&limit=1000&query= PREFIX fedora: PREFIX fedora-model: . but I get a HTTP response c