Hi, here is an example of what I'm trying to achieve. Does Fusepool,
or another solution, achieve this goal?
I have an RDF graph in a graph store:
==============================
<foaf:Person rdf:ID="johnsmith">
<foaf:firstName>John</foaf:firstName>
<foaf:lastName>Smith</foaf:lastName>
<ex:role>Managing Director</ex:role>
</foaf:Person>
==============================
I have the following SKOS vocabulary:
==============================
ex:role rdf:type skos:Concept;
skos:prefLabel "Managing Director"@en;
skos:altLabel "MD"@en;
skos:altLabel "President"@en;
skos:altLabel "CEO"@en.
==============================
If I search for anyone with the role 'President', I want to return
John Smith (rdf:ID="johnsmith") - because 'President' is an
alternative label for 'Managing Director'.
Is this possible using an already established best practice, or framework?
Please let me know if any further examples are required.
Best wishes
Mark
Quoting Reto Gmür <[email protected]>:
Hi Linked Data Tools
One difficulty might arise because ContentHub has the index and the facets
in lucene only and other metadata in an RDF graph. So for example if
contenthub provides a facet "Paris" you only have the label without any
association to the URI, so it won't be possible to get additional
properties of the resource. This is way in the fusepool project we've
chosen to build a store that stores all the data in an RDF graph and builds
a lucene index on top of it. The code is here
https://github.com/fusepool/fusepool-ecs, its apache licensed and btw.
fusepool would be happy to donate it to the stanbol project.
Cheers,
Reto
On Mon, Nov 10, 2014 at 7:54 PM, <[email protected]> wrote:
Hi, I posted a similar message to the IKS mailing list, but understand
from the response that this mailing list is no longer administrated.
Stanbol is a great tool and I'm having some success with it; particularly
the entity extractor tool.
I have a requirement and, I am not sure the best way to approach this and
whether a best practice for this sort of problem has already been
established.
I have an RDF graph - one in accordance with the FOAF ontology - and I
have a controlled vocabulary in the form of a SKOS RDF graph, which
contains a set of literal string terms and their semantic equivalents (e.g.
'President' <-> 'Managing Director' <-> 'Chief Executive' <-> 'MD' <->
etc.).
I would like to search the literal strings in the FOAF graph for the
occurrence of the string literals, and their equivalents as defined by the
SKOS thesaurus.
I can suggest one approach to this problem, but I fear it may be quite
inefficient and take a long time, namely:
- Query the RDF graph using SPARQL for all string literals.
- Pass each string literal to the Stanbol Entity Extractor, having
uploaded the SKOS thesaurus to the Stanbol Entity Hub.
Now this seems quite a long winded. Further, I'm not even clear from the
documentation whether the Stanbol Entity Extractor is capable of using SKOS
vocabularies to map string literals to entities. Is Stanbol capable of
extracting entities using a SKOS vocabulary?
This seems a fairly common thing to do (semantic search of an RDF graph
using a thesaurus) - is there some better way of solving this problem using
an already established strategy?
Many thanks!
Linked Data Tools