Hi All,

I'm trying out entityhub indexing tool to configure a site for a sample
foaf dataset. My data set (sampleNquads.nx) is in n-quad format. Actually
 it is a set of links to foaf files from various sources in nquad format.

eg:
<http://www.agfa.com/> <http://www.agfa.com/global/en/main/index.jsp> .
*<http://sebastian.tramp.name/> <http://sebastian.tramp.name/index.rdf> .*
<http://gitorious.com/~tobyink> <http://gitorious.org/~tobyink> .

I followed the instructions here [1] and in the ReadMe.md,
indexing.properties files of the tool and created a site {datahub} for my
data accessible at : http://localhost:8080/entityhub/site/datahub/

However when I try out sample requests to find entities in the site I get
no results.
I'm trying to find the entity with *name=Sebastian** which is actually in
the sample dataset used above but I get an empty results set. Can anyone
please help me understand what I've done wrong here? Basically I have
followed the steps in init, index executions of the tool.

Is it because my dataset is only a set of external links to foaf files?
Do I need to manually download the foaf files to indexing/resources/rdfdata
directory?

eg :

request: curl -X POST -d "name=Sebastian*"
http://localhost:8080/entityhub/site/datahub/find

result :
{
    "query": {
        "selected": [
            "http:\/\/stanbol.apache.org\/ontology\/entityhub\/query#score",
            "http:\/\/www.w3.org\/2000\/01\/rdf-schema#label"
        ],
        "constraints": [{
            "type": "text",
            "patternType": "wildcard",
            "text": "SSebastian Tramp",
            "field": "http:\/\/www.w3.org\/2000\/01\/rdf-schema#label"
        }],
        "limit": 5,
        "offset": 0
    },
    "results": []
}


Your help is much appreciated here.
Thanks,
Dileepa


[1] http://stanbol.apache.org/docs/trunk/customvocabulary.html

Reply via email to