Question: Federated search in Triple Store
gravatar for maorinphone
6.2 years ago by
maorinphone20 wrote:

I converted data to RDF in our research institute. I use triple stores to search the RDF data such as Virtuoso, OWLIM-SE (GraphDB) and Fuseki.

I'd like to connect with many external databases on the fly by SPARQL endpoint. However I couldn't use more than one "SERVICE" query. Here is the sample query.

prefix b2r: <>
prefix drgb: <>
prefix dbowl: <>
prefix orphan: <>

select distinct ?title  ?protein_name
where {
?s dbowl:drugbank ?drugbank.
 {?drugbank <> ?title;
                     <> ?target.
   ?target  <> ?x_uniprot.
 BIND (SUBSTR(str(?x_uniprot),28) as ?uniprot_id)
 BIND (URI(CONCAT("",?uniprot_id)) as ?uniprot)}
     {?uniprot <> ?protein_name}}

Although I tried the query 3 triple stores, I failed to get results. I'd already tested one "SERVICE" query could work and these queries could work individual.

If you know how to solve the problem (I'd like to avoid that all data put into our triple store.),  please help me.

software error • 2.6k views
ADD COMMENTlink modified 6.2 years ago • written 6.2 years ago by maorinphone20
gravatar for me
6.2 years ago by
me730 wrote:

The first issue is that the Virtuoso hosting the drugbank data does not support the URI() function only the IRI() function.

Then you run into a number of bugs in the Virtuoso hosting both bio2rdf and uniprot sparql implementation.

Opened issue at virtuoso's github, no we need to wait for a fix to this issue. Before your otherwise correct query will work,



ADD COMMENTlink modified 6.2 years ago • written 6.2 years ago by me730

Thank you for your reply. (This post is almost the same for BioHackathon ML, sorry)
I installed Virtuoso 7. If it is caused by bug, it's a pity,

Kato-san told me in case of virtuoso, the change of settings have possibilities to solve the problem.
Although I could overcome an error, I couldn't get any results... 

It seems this Q and A includes some hints.
#Still investigating...
We use OWLIM-SE too, I'd like to get more information about OWLIM-SE too. 

ADD REPLYlink written 6.2 years ago by maorinphone20
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2390 users visited in the last hour