On 29/08/2013 19:16, Rupert Westenthaler wrote:
[...] So when using
the default incoming_links file those entities will not be indexed.
However if you build the incoming_links file by using [1] they will be
indexed as [1] assigns the number of incoming links for the redirected
page also to the entities that redirect to those. [1] was also used to
build the index on dev.iks-project.eu

[1] 
http://svn.apache.org/repos/asf/stanbol/trunk/entityhub/indexing/dbpedia/dbpedia-3.8/entityrankings.sh

Question: does it work the same way for ranking any other site, if I want entities to be scored by incoming links?

I mean, if I build an incoming_links.txt file how can I configure the genericrdf indexer so that it will use it? Which entityScoreProvider should I set in the indexing.properties ?

The site would be the British National Bibliography. Its resources have URIs of the form

http://bnb.data.bl.uk/id/[resource|person|series]/{identifier}


Thanks

Alessandro



maybe it is so for the default index too - could that be it?

best,
Alessandro



On 29/08/2013 15:45, Rupert Westenthaler wrote:
Hi Manish,

thats correct. In the default dbpedia index dbp-ont:wikiPageRedirects
are copied over to rdfs:seeAlso. So sending

{
      "selected": [
          "rdfs:label" ],
      "offset": "0",
      "limit": "5",
      "constraints": [{
          "type": "reference",
          "field": "rdfs:seeAlso",
          "value": "http://dbpedia.org/resource/Athletic_shoe";
       }]
}

to http://dev.iks-project.eu:8081/entityhub/site/dbpedia/query

e.g. by using

      curl -X POST -H "Content-Type:application/json" \
          --data "@testQuery.json" \
          http://dev.iks-project.eu:8081/entityhub/site/dbpedia/query

should give you also the results you are expecting

best
Rupert

On Thu, Aug 29, 2013 at 4:26 PM, Manish Aggarwal <mani.i...@gmail.com>
wrote:
Tennis_shoe redirects to Athletic_shoe.

Now, I want to find all the dbpedia resources that redirects to
"Athletic_shoe". How could I achieve this through FieldQuery?

Note given below sample field query doesn't result in anything

{
      "selected": [
          "rdfs:label" ],
      "offset": "0",
      "limit": "5",
      "constraints": [{
          "type": "reference",
          "field": "http://dbpedia.org/ontology/wikiPageRedirects";,
          "value": "http://dbpedia.org/resource/Athletic_shoe";
       }]
}


Thanks in advance.

Regards,
Manish

P.S. I have already created dbpedia.solrindex file
with dbpedia-owl:wikiPageRedirects mapping.



--
Alessandro Adamou, Ph.D.

Knowledge Media Institute
The Open University
Walton Hall, Milton Keynes MK7 6AA
United Kingdom


"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)

Not sent from my iSnobTechDevice





--
Alessandro Adamou, Ph.D.

Knowledge Media Institute
The Open University
Walton Hall, Milton Keynes MK7 6AA
United Kingdom


"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)

Not sent from my iSnobTechDevice

Reply via email to