Hi Alessandro
The answer is very easy. The Sparql searcher uses N3 as default serialization and this SPARQL endpoint simple ignores that and returnes rdf+xml. If I change the default in the code to "application/rdf+xml" at least /find queries work as expected Maybe we should change the default to rdf+xml? best Rupert On 20.03.2012, at 16:24, Alessandro Adamou wrote: > Sorry again, I meant that the last three prefixes end with slashes. > > http://purl.org/stuff/rev# > http://revyu.com/things/ > http://revyu.com/reviews/ > http://revyu.com/people/ > > For clarity, with these settings the referencedSiteMgr.getEntity(uri) is > returning non-null but empty Entity objects, no matter if the entity URI > exists or is made up. > > Best, > Alessandro > > > On 3/20/12 4:19 PM, Alessandro Adamou wrote: >> I add that it didn't work even after setting these entity prefixes: >> >> http://purl.org/stuff/rev# >> http://revyu.com/things >> http://revyu.com/reviews >> http://revyu.com/people >> >> >> On 3/20/12 4:07 PM, Alessandro Adamou wrote: >>> Hi Rupert, >>> >>> I've been trying to setup a referenced site for revyu.com, not caching to >>> begin with, but I can't seem to be able to obtain entity signatures with my >>> configuration. >>> >>> The Web version of the SPARQL endpoint (originally at >>> http://revyu.com/sparql , supports GET with parameter "query") is at >>> http://revyu.com/sparql/queryform >>> >>> Note from the example there that it accepts unprefixed references such as >>> <people/tom> . >>> >>> It does resolve http://revyu.com/people/tom , although you always get a 303 >>> See Other >>> >>> (e.g. http://revyu.com/people/tom/about/rdf if the request had "Accept: >>> application/rdf+xml" , or http://revyu.com/people/tom/about/html for >>> text/html) >>> >>> This is my site configuration (using sparql for dereferencing too). Any >>> idea what I am doing wrong? >>> >>> ID = revyu >>> name = Revyu >>> Entity prefix = http://purl.org/stuff/rev# >>> Access URI = http://revyu.com/sparql >>> Dereferencer implementation = SPARQL >>> Query service = http://revyu.com/sparql >>> Searcher implementation = SPARQL >>> Default symbol state = proposed >>> Default mapping state = proposed >>> Expire = none >>> Cache strategy = never >>> >>> The entityhub debug log doesn't seem to throw errors, warnings or odd >>> messages. >>> >>> Thanks >>> >>> Alessandro >>> >>> -- >>> M.Sc. Alessandro Adamou >>> >>> Alma Mater Studiorum - Università di Bologna >>> Department of Computer Science >>> Mura Anteo Zamboni 7, 40127 Bologna - Italy >>> >>> Semantic Technology Laboratory (STLab) >>> Institute for Cognitive Science and Technology (ISTC) >>> National Research Council (CNR) >>> Via Nomentana 56, 00161 Rome - Italy >>> >>> >>> "I will give you everything, so long as you do not demand anything." >>> (Ettore Petrolini, 1930) >>> >>> Not sent from my iSnobTechDevice >> >> > > > -- > M.Sc. Alessandro Adamou > > Alma Mater Studiorum - Università di Bologna > Department of Computer Science > Mura Anteo Zamboni 7, 40127 Bologna - Italy > > Semantic Technology Laboratory (STLab) > Institute for Cognitive Science and Technology (ISTC) > National Research Council (CNR) > Via Nomentana 56, 00161 Rome - Italy > > > "I will give you everything, so long as you do not demand anything." > (Ettore Petrolini, 1930) > > Not sent from my iSnobTechDevice >
