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.



-- 
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to