Thank you very much Rupert. Very useful indeed.
Cheers Andrea 2013/1/11 Rupert Westenthaler <[email protected]> > On Fri, Jan 11, 2013 at 12:03 PM, Andrea Di Menna <[email protected]> > wrote: > > I was trying to access > > > > http://localhost:8080/solr/default/< > http://dev.iks-project.eu:8080/solr/default/dbpedia/select?q=@en/rdfs\:label/:Paris > > > > http://localhost:8080/solr/default/dbpedia/< > http://dev.iks-project.eu:8080/solr/default/dbpedia/select?q=@en/rdfs\:label/:Paris > > > > > > without inserting the actual query, and getting a 404 error. > > Those URIs are not correct. They should not include the > '<http://dev.iks-project.eu:8080/solr/default/' and '>' part. I will > provide some more examples that should work for localhost:8080 > > Here a simple query for Entities with the English label Paris > > > http://localhost:8080/solr/default/dbpedia/select?q=@en/rdfs\:label/:Paris > > To lookup Entities by ID you need to use > > > http://localhost:8080/solr/default/dbpedia/select?q=uri:http%5C://dbpedia.org/resource/Paris > > Or here an example for a Solr MLT query for Entities with the label > "Apple" and the context "iPhone mac" > > > http://localhost:8080/solr/default/dbpedia/mlt?start=0&rows=25&fl=*%2Cscore&qt=%2Fmlt&mlt.match.include=false&mlt.mindf=1&mlt.mintf=1&mlt.interestingTerms=details&mlt.boost=true&mlt.fl=_text&stream.body=iPhone+Mac&fq=%28@en/rdfs\:label/:Apple%29 > > should return Apple Inc. and not the Fruit > > best > Rupert > > > > > Thanks again > > Andrea > > > > 2013/1/11 Rupert Westenthaler <[email protected]> > > > >> /solr/default/dbpedia/select?q=@en/rdfs\:label/:Paris< > http://dev.iks-project.eu:8080/solr/default/dbpedia/select?q=@en/rdfs\:label/:Paris > > > > > > -- > | Rupert Westenthaler [email protected] > | Bodenlehenstraße 11 ++43-699-11108907 > | A-5500 Bischofshofen >
