You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Gintautas Sulskus <gi...@gmail.com> on 2015/07/08 01:36:06 UTC

Troubleshooting configurations

Hi Everyone,

I followed a tutorial (
http://stanbol.apache.org/docs/trunk/customvocabulary.html) for Custom
Vocabulary and created an Entityhub Managed Site called 'test-site'
+ Entityhub Linking Engine.
To test the configuration out, I had uploaded data (
http://purl.obolibrary.org/obo/go/releases/2015-06-17/go.owl
<http://10.8.0.10:8080/ontonet/http://purl.obolibrary.org/obo/go.owl:::http://purl.obolibrary.org/obo/go/releases/2015-06-17/go.owl>)
to
'test-site'. Entityhub sub-resources 'entity' and 'find' work just fine
with the newly uploaded data.

*The first problem* I have encountered is that a 'query' sub-resource
returns error "Parsed FieldQuery is not valid JSON" with the given JSON
query example (http://10.8.0.10:8080/entityhub/site/test-site/query):

{
    "ldpath": "schema:name = rdfs:label;rdf:type;",
    "offset": "5",
    "limit": "5",
    "constraints": [...]
}

Is there something wrong on my side?


*The second problem*, my custom enhancement chain (langdetect;
opennlp-sentence; opennlp-token; opennlp-pos; opennlp-chunker;
test-site-enhancer) does not link to any entities.

For example "Thioredoxin" is present in the go.owl database and can be
found via entityhub 'find'. I use arbitrary wiki paragraph containing
'thioredoxin' (https://en.wikipedia.org/wiki/Thioredoxin) for testing.

I am sure I have missed something. Could you please advise me with the best
approach to troubleshoot configuration issues in stanbol?

Thanks!

Best Wishes,
Gin

Re: Troubleshooting configurations

Posted by Gintautas Sulskus <gi...@gmail.com>.
Hi,

Ok, the second problem is solved in the following thread:
https://www.mail-archive.com/dev@stanbol.apache.org/msg03988.html
Ideally the app/engines should provide some useful information in order to
debug such configuration issues as they are very time consuming.

The first problem persists.

Cheers,
Gin