Hi All,

I've been recently working on LDPath retrieval of entities from entityhub
to retrieve entities with a defined set of attributes.
I came across this issue where no response is given to direct ldpath query
on entityhub/ldpath endpoint.

eg:

curl -X POST -d
"context=http://dbpedia.org/resource/Paris&ldpath=name%20%3D%20rdfs%3Alabel%5B%40en%5D%3B";
http://localhost:8080/entityhub/ldpath

Above request gives an empty result.

But when I send the same request to
http://localhost:8080/entityhub/site/dbpedia/ldpath endpoint it gives
the desired result :

{
  "@id": "http://dbpedia.org/resource/Paris";,
  "name": {
    "@language": "en",
    "@value": "Paris"
 }

Is this an expected behavior with entityhub ldpath? Do we always need
to give the site?

Thanks,
Dileepa

Reply via email to