-
Notifications
You must be signed in to change notification settings - Fork 3
Service: Query Serialization
Eliza Margaretha edited this page Jul 5, 2019
·
9 revisions
Returns a JSON-LD query serialization of the given search query. The JSON-LD serialization is a KoralQuery representation of the search query. This service neither run the search query nor return any query results.
Available in: lite and full version
Method: GET
Service URL: root/query
Query Parameters
see query parameters of the search service with GET method
Request
http://localhost:8089/api/query?q=[orth=Wasser]&ql=poliqarp
Response
WARNING: Rewrites format is experimental and may change without any notice.
{ "@context": "http://korap.ids-mannheim.de/ns/koral/0.3/context.jsonld", "query": { "wrap": { "@type": "koral:term", "layer": "orth", "match": "match:eq", "key": "Wasser", "foundry": "opennlp", "rewrites": [{ "@type": "koral:rewrite", "src": "Kustvakt", "operation": "operation:injection", "scope": "foundry" }] }, "@type": "koral:token" }, "meta": { "count": 13, "context": "sentence" } }
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting a test environment
- HTTP Basic Authentication
- OAuth2 authorization scopes
- OAuth2 authorization request
- OAuth2 token request
- OAuth2 token revocation
- OAuth2 client registration
- OAuth2 client info
- OAuth2 client deregistration
- OAuth2 client secret reset
- Plugin registration
- Plugin list (marketplace)
- Plugin installation
- Plugin uninstallation
- Installed plugin list
- VC creation and update
- VC deletion
- VC list
- VC info
- VC KoralQuery
- VC statistics
- VC statistics with KoralQuery