Hi,
I need to configure a search service that looks up entities on a
ReferencedSite, but it should also retrieve property paths of length 2
for each entity found. But I would like to achieve it with a single
EntityHub call.
A use case example would be to have an autocomplete widget, where if you
type "wonderl" you get a result which displays "Alice in Wonderland" and
"author: Lewis Carroll" underneath.
Which implies a label/title search and then a path retrieval across,
say, dbpedia-ont:author and rdfs:label
Easy to do with SPARQL but I'd like to reproduce it with the EntityHub
query languages:
I've performed the first step using FieldQueries on the /query endpoint
very nicely so far, but for the second step (the label "Lewis Carroll")
I have to perform an additional query on /entity (or go LDPath if I
needed something more sophisticated).
It would be great to obtain these with a single query - not sure which
is the least expensive way to do so, though. Maybe I'm wrong assuming
LDPath does not handle a string search in its context?
Thanks for the help,
Alessandro
--
Alessandro Adamou, Ph.D.
Knowledge Media Institute
The Open University
Walton Hall, Milton Keynes MK7 6AA
United Kingdom
"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)
Not sent from my iSnobTechDevice